API Endpoints
Deploy API: MCP Server
MCP protocol endpoints for agent and tools servers
POST
Deploy API: MCP Server
MCP API
MCP (Model Context Protocol) endpoints for agents deployed viaAgent.launch(protocol="mcp") or ToolsMCPServer.
Base URL + Playground
http://localhost:8080
Endpoints
GET /sse
Server-Sent Events endpoint for MCP communication.No parameters required.
POST /messages/
Send JSON-RPC messages to the MCP server.JSON-RPC version (must be “2.0”)
MCP method name (tools/list, tools/call, initialize)
Method parameters
Request ID
MCP Methods
tools/list
List available tools.tools/call
Execute a tool.Tool name to execute
Tool arguments
initialize
Initialize MCP session.MCP protocol version
Client capabilities
Client information (name, version)
Errors
MCP errors follow JSON-RPC 2.0 format:| Code | Message |
|---|---|
-32700 | Parse error |
-32600 | Invalid request |
-32601 | Method not found |
-32602 | Invalid params |
-32603 | Internal error |
Related
- MCP Server - Deploy agents as MCP server
- Tools Server - Deploy tools as MCP server
- Agents API - HTTP REST endpoints
Deploy API: MCP Server

