Documentation Index
Fetch the complete documentation index at: https://docs.getmaito.com/llms.txt
Use this file to discover all available pages before exploring further.
MCP Transport
Maito exposes MCP over Streamable HTTP.Supported Methods
| JSON-RPC method | Purpose |
|---|---|
initialize | Start an MCP session and negotiate protocol capabilities. |
notifications/initialized | Let the server know the client completed initialization. |
tools/list | List tools permitted for the authenticated user. |
tools/call | Invoke a tool by name with JSON arguments. |
HTTP Routes
| Method | Path | Purpose |
|---|---|---|
POST | /mcp | Streamable HTTP JSON-RPC request/response. |
OPTIONS | /mcp | CORS preflight. |
GET | /.well-known/oauth-protected-resource | OAuth protected resource metadata. |
GET | /.well-known/oauth-protected-resource/mcp | MCP-specific protected resource metadata. |
GET | /.well-known/oauth-authorization-server | OAuth authorization server metadata. |
Initialize
List Tools
Call A Tool
Error Model
- Missing or invalid auth returns HTTP
401with aWWW-Authenticatechallenge. - JSON-RPC transport failures return top-level
error. - Tool and domain failures return
result.isError = true. - Machine-readable tool errors are returned in
result.structuredContent.error.