MCP endpoint: /mcp (also available at /).
Use POST only, with these headers:
Content-Type: application/jsonAccept: application/json, text/event-stream{
"jsonrpc": "2.0",
"id": 1,
"method": "initialize",
"params": {
"protocolVersion": "2025-11-25",
"capabilities": {},
"clientInfo": {
"name": "my-agent",
"version": "1.0.0"
}
}
}
Read the response header MCP-Protocol-Version and send it in
all next requests.
{
"jsonrpc": "2.0",
"id": 2,
"method": "resources/list"
}
Resources use the URI format docs://<collection>/<file>.
Example: docs://schedly/prd.md.
{
"jsonrpc": "2.0",
"id": 3,
"method": "resources/read",
"params": {
"uri": "docs://schedly/prd.md"
}
}
curl -i http://127.0.0.1:3011/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
--data '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-11-25","capabilities":{},"clientInfo":{"name":"my-agent","version":"1.0.0"}}}'
Discover docs with resources/list and read them using
returned docs://... URIs.