Create MCP server
POST/v1/brains/:brain_id/mcps
Create a new MCP (Model Context Protocol) server for the AI agent. MCP servers expose tools that allow the AI agent to call external services. Permissions - brains.write. API keys - manage.
Request
Responses
- 200
- 400
- 401
- 404
- 500
The created MCP server
BadRequest
Response Headers
X-Request-Id
Unique identifier for the API request, useful for debugging and tracking.
Example:
abc123xyz789Unauthorized
Response Headers
X-Request-Id
Unique identifier for the API request, useful for debugging and tracking.
Example:
abc123xyz789The specified resource was not found
Response Headers
X-Request-Id
Unique identifier for the API request, useful for debugging and tracking.
Example:
abc123xyz789Internal Server Error
Response Headers
X-Request-Id
Unique identifier for the API request, useful for debugging and tracking.
Example:
abc123xyz789