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
curl https://api.platic.ai/v1/tools/mcp/$MCP_ID \
-H "Authorization: Bearer $PLATIC_API_KEY" await platic.tools.mcp.get("mcp_123"); Path parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
mcpId | string | Id 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.
| Field | Type | Description |
|---|---|---|
version | number | Goes up with every change to the connection. Send it as expectedVersion when you update |
verified | boolean | true if the last test finished well and is still current for this connection and these secrets |
secrets | array | One entry per slot: slot, state, and secretId if a secret is bound. See slot states |
discoveredTools | array | What the server offered in the last test |
discoveredTools[].name | string | Original name of the tool on the server. It is the one you send in tools |
discoveredTools[].description | string | Description the server gives |
discoveredTools[].inputSchema | object | JSON Schema of its arguments |
discoveredTools[].installed | boolean | Whether it is installed in the catalog |
installedTools | array | The installed tools |
installedTools[].id | string | The toolId in the catalog. You connect it to an agent with it |
installedTools[].name | string | The name the agent sees: mcp_<tool>_<slug> |
installedTools[].mcpToolName | string | null | The original name on the server |
verification | object | Only after a test: { "confirmed": true } if the connection passed |
testError | object | Only when connecting: { code, message } when the connection was saved but the first test failed |
secretsError | object | Only when connecting or updating with secrets: { code, message } when the connection was saved but a secret could not be bound |
nextStep | string | English text that says what is missing, in order. It is for people and assistants; do not program against its wording |
What nextStep says
| Situation | nextStep starts with |
|---|---|
There are slots in missing or needs_authorization | Bind a secret to: <slots>… |
| It uses OAuth and needs authorizing | This server uses OAuth: a person signed in to Platica has to authorize it at <page>… |
| It needs testing | Test the connection… |
| Verified, no tools installed | Verified. Choose which tools to install…, with the available names |
| Verified, but the server offers no tools | The server answered but offers no tools. |
| With tools installed | Connected. Give a tool to an agent… |
To program against it, use status, verified, secrets[].state, and installedTools.
Errors
| Status | details.code | When it happens |
|---|---|---|
400 | INVALID_REQUEST | The credential covers several workspaces and workspace is missing or is not one of them |
403 | FORBIDDEN | The person behind the token does not have access to Integrations |
404 | NOT_FOUND | The 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 anidfrominstalledTools. discoveredToolscomes from the last test. If the server changed its tools, test it again.