Skip to main content
PUT
/
api
/
svc
/
v1
/
mcp
Create or update MCP server
curl --request PUT \
  --url https://{controlPlaneURL}/api/svc/v1/mcp \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "manifest": {
    "name": "<string>",
    "description": "<string>",
    "url": "<string>",
    "collaborators": [
      {
        "subject": "<string>",
        "role_id": "<string>"
      }
    ],
    "tool_settings": [
      {
        "name": "<string>",
        "description": "<string>",
        "disabled": true
      }
    ],
    "auth_data": {
      "headers": {},
      "auth_level": "global"
    },
    "tags": {}
  },
  "dryRun": false,
  "forceDelete": false
}
'
{
  "data": {
    "fqn": "my-tenant:mcp-server:filesystem-tools",
    "tenantName": "<string>",
    "manifest": {
      "name": "<string>",
      "description": "<string>",
      "url": "<string>",
      "collaborators": [
        {
          "subject": "<string>",
          "role_id": "<string>"
        }
      ],
      "tls_settings": {
        "reject_unauthorized": true,
        "ca_cert": "<string>"
      },
      "tool_settings": [
        {
          "name": "<string>",
          "description": "<string>",
          "disabled": true
        }
      ],
      "auth_data": {
        "headers": {},
        "auth_level": "global"
      },
      "ownedBy": {
        "account": "<string>"
      },
      "tags": {}
    },
    "createdBySubject": {
      "subjectId": "<string>",
      "subjectSlug": "<string>",
      "subjectDisplayName": "<string>",
      "subjectPatName": "<string>",
      "subjectControllerName": "<string>",
      "subjectExternalIdentitySlug": "<string>"
    },
    "id": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "proxyUrl": "<string>",
    "isAuthOverrideSupported": true
  }
}

Documentation Index

Fetch the complete documentation index at: https://www.truefoundry.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
manifest
RemoteMCPServerManifest · object
required

MCP Server Manifest

dryRun
boolean | null
default:false

Validate and resolve the manifest without persisting or syncing to the gateway store

forceDelete
boolean | null
default:false

Acknowledge that updating this manifest will delete existing auth records.

Response

MCP server created or updated successfully.

data
MCPServerV2 · object
required

MCP Server