Universal·
mcp.jsonAny MCP client / REST + Mackerel
Direct Streamable HTTP JSON-RPC 2.0 endpoint for Windsurf, Zed, Cline, or custom harnesses.
- 1
Point your client at the Streamable HTTP endpoint
Supports initialize, tools/list, tools/call, resources/list, and resources/read.
{ "mcpServers": { "mackerel": { "url": "https://api.runmackerel.com/mcp", "headers": { "Authorization": "Bearer $MACKEREL_API_KEY" } } } } - 2
Test the MCP endpoint with curl
Confirms tool discovery in one round-trip.
curl -sS https://api.runmackerel.com/mcp \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' - 3
Feed llms.txt or skill.md directly
For agents without MCP support, fetch plain markdown docs straight into context.
curl -fsSL https://runmackerel.com/llms.txt curl -fsSL https://runmackerel.com/skill.md
What your agent gets
Served over Streamable HTTP at https://api.runmackerel.com/mcp.
mackerel_searchSearch demo_sops or custom corpora with ACL groups, override chains, and abstention.
mackerel_list_corporaList available corpora and rule counts in the authenticated workspace.
mackerel_upsert_ruleAdd or update rule nodes, ACL groups, overrides, and supersession edges.
Example build prompt
Read https://runmackerel.com/llms.txt and write a minimal TypeScript wrapper around POST https://api.runmackerel.com/v1/search.