Overview
The MCP Server exposes HTTP endpoints that implement the Model Context Protocol for server-to-server communication. These endpoints enable clients to interact with the LLM-powered agent through a standardized protocol.MCP (Model Context Protocol) is a standard protocol for connecting AI applications with data sources and tools. Learn more at https://modelcontextprotocol.io
Base URL
Endpoints
Initialize Connection
endpoint
Initialize a new MCP session and retrieve server capabilities.
List Tools
endpoint
Retrieve all available tools the server can execute.
Call Tool
endpoint
Execute a specific tool with provided arguments.
List Resources
endpoint
Retrieve available resources (data sources, knowledge bases, etc.).
Read Resource
endpoint
Read the contents of a specific resource.
List Prompts
endpoint
Retrieve available prompt templates.
Get Prompt
endpoint
Retrieve a specific prompt template with arguments filled in.
Send Message
endpoint
Send a message to the agent (streaming or non-streaming).
Logging
endpoint
Set the logging level for the server.
Authentication
All MCP endpoints require authentication. Include a valid JWT token in theAuthorization header:
Error Responses
MCP endpoints return standard HTTP status codes:Bad Request
Invalid request format or missing required fields.
Unauthorized
Missing or invalid authentication token.
Forbidden
Insufficient permissions to access resource.
Rate Limit Exceeded
Too many requests.
Internal Server Error
Server error during request processing.
SDK Examples
Python
JavaScript/TypeScript
cURL
Rate Limiting
MCP endpoints are subject to rate limiting:- Default: 100 requests per minute per user
- Tool calls: 30 requests per minute per user
- Streaming: 10 concurrent streams per user
WebSocket Support
For real-time bidirectional communication, use the WebSocket endpoint:Next Steps
MCP Messages
Message format and types
MCP Tools
Available tools reference
MCP Resources
Resource types and access
Authentication
Get authentication tokens
MCP Protocol Ready: Standardized endpoints for AI application integration!