SpaceXSI (formerly Cursor)·
.cursor/mcp.jsonGrok Build + Mackerel
Desktop app and agent harness supporting .cursor/mcp.json, .grok/config.toml, and scoped project rules.
- 1
Add .cursor/mcp.json (or .grok/config.toml)
Grok Build desktop and CLI both discover .cursor/mcp.json automatically. Restart MCP servers in Settings → Tools & MCP after saving.
.cursor/mcp.json
{ "mcpServers": { "mackerel": { "url": "https://api.runmackerel.com/mcp", "headers": { "Authorization": "Bearer ${env:MACKEREL_API_KEY}" } } } } - 2
Install the project rule
Downloads the Mackerel skill directly into .cursor/rules/mackerel.mdc.
mkdir -p .cursor/rules curl -fsSL https://runmackerel.com/skill.md -o .cursor/rules/mackerel.mdc
- 3
Verify in Grok Build
Open the Agents Window (or run grok mcp list) and confirm the three Mackerel tools appear.
Search demo_sops via Mackerel for our vendor onboarding fast-track rule when no customer data is involved.
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
Replace our vector-store policy lookup with Mackerel POST /v1/search and surface governing.overrides in the UI citation drawer.