MCP Servers
MCP Servers API endpoints
Authorization
bearerAuth AuthorizationBearer <token>
API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
id*string
Query Parameters
resolveSecrets?string
Response Body
curl -X GET "http://localhost:3013/api/agents/string/mcp-servers"Empty
Authorization
bearerAuth AuthorizationBearer <token>
API key via Authorization: Bearer <API_KEY>
In: header
Query Parameters
scope?string
transport?string
ownerAgentId?string
enabled?string
search?string
Response Body
curl -X GET "http://localhost:3013/api/mcp-servers"Empty
Authorization
bearerAuth AuthorizationBearer <token>
API key via Authorization: Bearer <API_KEY>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X POST "http://localhost:3013/api/mcp-servers" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "transport": "stdio" }'Empty
Empty
Authorization
bearerAuth AuthorizationBearer <token>
API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
id*string
Response Body
curl -X DELETE "http://localhost:3013/api/mcp-servers/string"Empty
Empty
Authorization
bearerAuth AuthorizationBearer <token>
API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
id*string
Response Body
curl -X GET "http://localhost:3013/api/mcp-servers/string"Empty
Empty
Authorization
bearerAuth AuthorizationBearer <token>
API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
[key: string]?unknown
Response Body
curl -X PUT "http://localhost:3013/api/mcp-servers/string" \ -H "Content-Type: application/json" \ -d '{ "property1": null, "property2": null }'Empty
Empty
Authorization
bearerAuth AuthorizationBearer <token>
API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
agentId*string
Response Body
curl -X POST "http://localhost:3013/api/mcp-servers/string/install" \ -H "Content-Type: application/json" \ -d '{ "agentId": "string" }'Empty
Empty
Authorization
bearerAuth AuthorizationBearer <token>
API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
id*string
agentId*string
Response Body
curl -X DELETE "http://localhost:3013/api/mcp-servers/string/install/string"Empty