WraithWeb. McpController
(Wraith v0.1.0)
View Source
The site's MCP server over HTTP (MCP Streamable HTTP, JSON responses):
POST /mcp takes one JSON-RPC message or a batch and answers in kind;
notifications get 202. GET /mcp is 405 (no server-initiated
stream); DELETE /mcp is 204 (sessions are stateless).
Authentication: Authorization: Bearer <api key>. An Admin key gets every
tool (Wraith.Tools), a Content key the read-only ones. Writes are made as
the site's owner. Point a client at it like so:
{"mcpServers": {"wraith": {"url": "https://<site>/mcp",
"headers": {"Authorization": "Bearer <key>"}}}}