Margin for Grok
io.trymargin/margin
Tests a model or prompt change on your own evals and says if it holds, before your agent ships it.
client:Grok
transport:streamable-http
tools:16
Install Margin in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"margin": {
"type": "http",
"url": "https://trymargin.io/api/mcp?tools=core"
}
}
}
Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs
What Grok can do once it is connected
- margin_jobs
- margin_optimize
- margin_faceoff_status
- margin_test_move
- margin_test_model
- margin_delegate_key
- margin_my_keys
- margin_fit_check
- margin_replay_dataset
- margin_check_experiments
- margin_report_outcome
- margin_change_record
- margin_verdict_receipt
- margin_track_record
- margin_draft_checks
- margin_pin_drift_check