mcp-integrations
Create a new custom MCP integration
post/mcp-integrations/custom
Request
- The document declares no server URL.
- Auth: none declared
Request body
Example request
{
"name": "My Custom MCP Server",
"serverUrl": "https://my-mcp-server.example.com/mcp",
"configSchema": {
"authType": "CUSTOM",
"orgFields": [
{
"key": "personalToken",
"label": "Personal access token",
"type": "secret",
"headerName": "Authorization",
"prefix": "Bearer ",
"required": true,
"help": "Create a token in your profile."
}
],
"userFields": [
{
"key": "personalToken",
"label": "Personal access token",
"type": "secret",
"headerName": "Authorization",
"prefix": "Bearer ",
"required": true,
"help": "Create a token in your profile."
}
],
"oauth": {
"clientRegistration": "automatic",
"scopes": [
"documents:read"
]
}
},
"oauthClient": {
"clientId": "ayunis-core-client",
"clientSecret": "client-secret"
},
"orgConfigValues": {
"tenantId": "council-42"
},
"returnsPii": true
}Response
Integration created successfully
Example response
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Production Test Integration",
"type": "predefined",
"slug": "TEST",
"serverUrl": "https://my-server.com/mcp",
"enabled": true,
"organizationId": "123e4567-e89b-12d3-a456-426614174001",
"authMethod": "BEARER_TOKEN",
"authHeaderName": "Authorization",
"hasCredentials": true,
"connectionStatus": "connected",
"lastConnectionError": "Failed to reach server: Connection timeout",
"lastConnectionCheck": "2025-10-28T14:30:00.000Z",
"createdAt": "2025-10-28T10:00:00.000Z",
"updatedAt": "2025-10-28T12:30:00.000Z",
"returnsPii": true,
"marketplaceIdentifier": "oparl-council-data",
"userAuthorizationRequired": true,
"orgConfigValues": {
"endpointUrl": "https://example.com/api",
"apiToken": "••••••"
},
"logoUrl": "https://marketplace.ayunis.com/logos/oparl.png",
"description": "Access municipal council data via OParl"
}Changes
No recorded changes to this operation across all 51 revisions of this API.