Model Context Protocol (MCP)
Siliqun Rotor exposes HTTP endpoints for registering MCP servers, discovering their tools, and making calls through a registered server. These endpoints do not replace the consuming application's authorization checks.
MCP Endpoints
| Endpoint | Method | Description |
|---|
/v1/mcp/servers | GET, POST | List and register upstream MCP servers |
/v1/mcp/tools | GET | Discover available tools from all registered MCP servers |
/v1/mcp/call | POST | Route and execute a tool call across registered MCP servers |
--mcp-stdio | CLI Flag | Run the engine as a stdio MCP server for an MCP-compatible client |
Example: Calling an MCP Tool
curl -X POST http://127.0.0.1:8700/v1/mcp/call \
-H "Content-Type: application/json" \
-d '{
"server": "sqlite",
"tool": "read_query",
"arguments": {
"query": "SELECT * FROM users LIMIT 5;"
}
}'