Get an MCP server

SDK platic.tools.mcp.get()

Read the server connection without exposing credentials. The response includes available and installed tools, each slot's state in secrets[], and the next step in nextStep.

Example

await platic.tools.mcp.get("mcp_123");

Path parameters

ParameterTypeDescriptionRequired
mcpIdstringId of the MCP server✓

Response

data is the server:

{
  "status": "success",
  "data": {
    "id": "QZPHpckDPC58JIVLQA3Z",
    "name": "Linear",
    "description": "Support team issues",
    "url": "https://mcp.linear.app/mcp",
    "transport": "streamable-http",
    "slug": "a1b2c3",
    "authType": "bearer",
    "auth": { "type": "bearer" },
    "status": "pending_config",
    "lastError": null,
    "serverInfo": { "name": "linear-mcp", "version": "1.4.0" },
    "customHeaderNames": [],
    "discoveredToolsCount": 2,
    "installedToolsCount": 0,
    "lastSyncAt": null,
    "createdAt": "2026-10-28T12:02:11.410Z",
    "updatedAt": "2026-10-28T12:03:05.000Z",
    "version": 1,
    "verified": true,
    "secrets": [
      {
        "slot": "auth.token",
        "state": "authorized",
        "secretId": "5d0c7a1e9b3f4a6c8e2d1f0b7a9c3e5d6f8a0b2c4d6e8f1a3b5c7d9e0f2a4b6c"
      }
    ],
    "discoveredTools": [
      {
        "name": "create_issue",
        "description": "Create a new issue in Linear",
        "inputSchema": {
          "type": "object",
          "properties": {
            "title": { "type": "string" },
            "teamId": { "type": "string" }
          },
          "required": ["title", "teamId"]
        },
        "installed": false
      },
      {
        "name": "search_issues",
        "description": "Search issues by text query",
        "inputSchema": {
          "type": "object",
          "properties": { "query": { "type": "string" } }
        },
        "installed": false
      }
    ],
    "installedTools": [],
    "nextStep": "Verified. Choose which tools to install with POST /v1/tools/mcp/QZPHpckDPC58JIVLQA3Z/tools/sync: create_issue, search_issues."
  }
}

Response fields

The summary, through updatedAt, contains the fields from list MCP servers.

FieldTypeDescription
versionnumberGoes up with every change to the connection. Send it as expectedVersion when you update
verifiedbooleantrue if the last test finished well and is still current for this connection and these secrets
secretsarrayOne entry per slot: slot, state, and secretId if a secret is bound. See slot states
discoveredToolsarrayWhat the server offered in the last test
discoveredTools[].namestringOriginal name of the tool on the server. It is the one you send in tools
discoveredTools[].descriptionstringDescription the server gives
discoveredTools[].inputSchemaobjectJSON Schema of its arguments
discoveredTools[].installedbooleanWhether it is installed in the catalog
installedToolsarrayThe installed tools
installedTools[].idstringThe toolId in the catalog. You connect it to an agent with it
installedTools[].namestringThe name the agent sees: mcp_<tool>_<slug>
installedTools[].mcpToolNamestring | nullThe original name on the server
verificationobjectOnly after a test: { "confirmed": true } if the connection passed
testErrorobjectOnly when connecting: { code, message } when the connection was saved but the first test failed
secretsErrorobjectOnly when connecting or updating with secrets: { code, message } when the connection was saved but a secret could not be bound
nextStepstringEnglish text that says what is missing, in order. It is for people and assistants; do not program against its wording

What nextStep says

SituationnextStep starts with
There are slots in missing or needs_authorizationBind a secret to: <slots>…
It uses OAuth and needs authorizingThis server uses OAuth: a person signed in to Platica has to authorize it at <page>…
It needs testingTest the connection…
Verified, no tools installedVerified. Choose which tools to install…, with the available names
Verified, but the server offers no toolsThe server answered but offers no tools.
With tools installedConnected. Give a tool to an agent…

To program against it, use status, verified, secrets[].state, and installedTools.

Errors

Statusdetails.codeWhen it happens
400INVALID_REQUESTThe credential covers several workspaces and workspace is missing or is not one of them
403FORBIDDENThe person behind the token does not have access to Integrations
404NOT_FOUNDThe server does not exist in this workspace

See Errors for the full shape of an error.

Notes

  • Credentials are never returned: of the authentication you only see the type, and of the headers only the names in customHeaderNames.
  • An installed tool is connected to an agent with connect a tool: PUT /v1/agents/{agentId}/tools/{toolId}, with an id from installedTools.
  • discoveredTools comes from the last test. If the server changed its tools, test it again.