{"name":"io.trymargin/margin","title":"Margin","description":"Tests a model or prompt change on your own evals and says if it holds, before your agent ships it.","url":"https://trymargin.io/api/mcp?tools=core","website":"https://trymargin.io/docs","repository":"https://github.com/trymargin/margin-referee","status":"ok","score":80,"grade":"B","protocol":"2025-06-18","tools":16,"tokens":6090,"latency_ms":296,"availability_30d":1.0,"checks_30d":3,"discover":"none","checked_at":"2026-11-29 05:51 UTC","cite":"On 2026-11-29 05:51 UTC, the BOTERNITY MCP Index scored Margin (io.trymargin/margin) 80/100 (grade B); 16 tools, 6090 tokens for tools/list; healthy in 100 % of 3 checks over 30 days.","page":"https://boternity.com/mcp-index/server?name=io.trymargin%2Fmargin","badge":"https://boternity.com/mcp-index/badge.svg?name=io.trymargin%2Fmargin","history":[{"at":"2026-11-29 05:51 UTC","status":"ok","score":80},{"at":"2026-11-28 01:59 UTC","status":"ok","score":81},{"at":"2026-11-27 01:53 UTC","status":"ok","score":84}],"alternatives":null,"similar":null,"declared_tools":{"captured_at":"2026-11-29 05:51 UTC","same_check_as_score":true,"names":["margin_change_record","margin_check_experiments","margin_delegate_key","margin_draft_checks","margin_faceoff_status","margin_fit_check","margin_jobs","margin_my_keys","margin_optimize","margin_pin_drift_check","margin_replay_dataset","margin_report_outcome","margin_test_model","margin_test_move","margin_track_record","margin_verdict_receipt"],"documented":[{"name":"margin_change_record","description":"One verdict as a change record you can attach to your customer's change notice: what changed, the decision, the cases and the gap with its 95% bound, each segment's reading, the cases that got worse, cost per case, a review of the case set ","params":["answers_clause","verdict_id"],"required":["verdict_id"],"readOnlyHint":true,"destructiveHint":false},{"name":"margin_check_experiments","description":"Did this change help or hurt, and is it proven? Compares two experiments your team ALREADY ran and scored (Braintrust export or experiment id; or LangSmith, with source langsmith or an ls:<experiment id or name>; or two Inspect .json logs o","params":["baseline","baseline_experiment_id","baseline_name","candidate","candidate_experiment_id","candidate_name","candidates","critical_segments","rules","scorer","source","threshold"],"required":["scorer"],"readOnlyHint":true,"destructiveHint":false},{"name":"margin_delegate_key","description":"Hand a narrower agent key to another agent: a boss agent to a department agent, a department agent to one agent. Pass a spend limit (taken out of YOUR key's limit), an optional label, an optional list of agent files it may test (inside your","params":["agents","can_delegate","label","spend_limit_usd","ttl_hours"],"required":["spend_limit_usd"],"readOnlyHint":false,"destructiveHint":false},{"name":"margin_draft_checks","description":"When the fit check says your cases cannot be graded (free-text answers, common for support, ops and finance agents): pass what the agent is for (`task`, with its rules written out, e.g. 'never offer a coupon') and up to 20 real outputs (`sa","params":["samples","task"],"required":["samples","task"],"readOnlyHint":false,"destructiveHint":false},{"name":"margin_faceoff_status","description":"YOUR project's latest measured run, every face-off queued against it with its status and verdict, and the post-merge watch on each change you registered (holding, slipped, or still waiting for graded outcomes). Pull requests open from the c","readOnlyHint":true,"destructiveHint":false},{"name":"margin_fit_check","description":"Before spending anything: can YOUR eval set prove a model switch? Pass the export's text (a promptfoo results file, a Braintrust or LangSmith dataset export, or JSONL of {input or messages, expected, check}). Returns how many cases Margin c","params":["dataset","results"],"required":["dataset"],"readOnlyHint":true,"destructiveHint":false},{"name":"margin_jobs","description":"Where YOUR project's money goes, per job: each model-calling step over the last 30 days with its calls, cost, live model and whether any eval has exercised it, plus how concentrated the spend is in the top 5/10/20 jobs. A job is labelled 'c","readOnlyHint":true,"destructiveHint":false},{"name":"margin_my_keys","description":"YOUR agent key: its spend limit, how much is reserved, which agents it covers, and the keys it has handed out to other agents. Needs an agent key.","readOnlyHint":true,"destructiveHint":false},{"name":"margin_optimize","description":"WHAT TO TEST NEXT for YOUR project: every candidate change Margin can name, ranked, each labelled by its basis: measured (a face-off ran and gave a verdict), detected, prior, or untested. A listed move is a candidate, not a verdict; the ver","readOnlyHint":true,"destructiveHint":false},{"name":"margin_pin_drift_check","description":"Watch one setup for quality drift (a provider changing a model under its name, your retrieval or tools moving): pin your eval cases (`dataset`, the export's text) and a `model`, at a `cadence` of daily or weekly. Each run replays the cases ","params":["cadence","cap_usd","dataset","endpoint","model","monthly_cap_usd"],"required":["cadence","dataset","model"],"readOnlyHint":false,"destructiveHint":false},{"name":"margin_replay_dataset","description":"Replay YOUR eval dataset against a candidate model, with no repo run: each case goes to `baseline` and `candidate` with the same messages (and the same structured-output schema, when the case has one), is graded by the case's own check, and","params":["anyway","baseline","baseline_endpoint","candidate","candidate_endpoint","candidate_system","candidate_tools","cap_usd","continue_job","critical_segments","dataset","early_stop"],"required":["cap_usd","dataset"],"readOnlyHint":false,"destructiveHint":false},{"name":"margin_report_outcome","description":"After a change Margin gave a verdict on has shipped (or did not ship): record what happened. `verdict_id` is the one the replay or check returned; `outcome` is held, regressed or not_shipped; `note` says how you know (an incident, a metric,","params":["note","outcome","verdict_id"],"required":["outcome","verdict_id"],"readOnlyHint":false,"destructiveHint":false},{"name":"margin_test_model","description":"Ask Margin to face off ONE model you name (an OpenRouter slug such as openai/gpt-4.1-mini, or a release from this week) against YOUR project's latest measured run, on your own evals, in Margin's sandbox. Optionally name one `agent` to swap ","params":["agent","model"],"required":["model"],"readOnlyHint":false,"destructiveHint":false},{"name":"margin_test_move","description":"Ask Margin to TEST one move on YOUR project: a cheaper model, an output cap or a host pin, exactly as a move listed by margin_optimize (pass its level, target and lever). Margin re-runs your own evals with the move applied, in its sandbox, ","params":["level","lever","target"],"required":["level","lever","target"],"readOnlyHint":false,"destructiveHint":false},{"name":"margin_track_record","description":"Margin's verdicts for your project and how they turned out: how many said ship, do not ship or not enough evidence, and of the ship verdicts your team reported on, how many held. Unreported ones are pending, never counted as held. Free.","readOnlyHint":true,"destructiveHint":false},{"name":"margin_verdict_receipt","description":"One verdict as a receipt someone outside your team can check: an in-toto Statement in a DSSE envelope (`receipt`), signed by Margin with Ed25519 when `signed` is true, with the decoded `statement` beside it. It carries the decision, the bar","params":["verdict_id"],"required":["verdict_id"],"readOnlyHint":true,"destructiveHint":false}],"rule":"Tool names and descriptions are the server's own words, copied from its tools/list answer at the dated check (descriptions cut at 240 characters, 12 parameters, 30 documented tools at most). BOTERNITY never calls these tools and does not verify what they do."},"clients":[{"client":"claude","verdict":"ready","reason":"Answered a standard MCP initialize over Streamable HTTP without sign-in on 2026-11-29; Claude accepts servers that need no sign-in.","source":"https://support.claude.com/en/articles/11175166-get-started-with-custom-connectors-using-remote-mcp"},{"client":"chatgpt","verdict":"ready","reason":"Answered a standard MCP initialize over Streamable HTTP without sign-in on 2026-11-29; ChatGPT accepts servers that need no sign-in.","source":"https://developers.openai.com/apps-sdk/build/auth"},{"client":"cursor","verdict":"ready","reason":"Answered a standard MCP initialize over Streamable HTTP without sign-in on 2026-11-29; Cursor accepts servers that need no sign-in.","source":"https://cursor.com/docs/context/mcp"},{"client":"vscode","verdict":"ready","reason":"Answered a standard MCP initialize over Streamable HTTP without sign-in on 2026-11-29; VS Code accepts servers that need no sign-in.","source":"https://code.visualstudio.com/api/extension-guides/ai/mcp"}],"connect":{"name":"margin","url":"https://trymargin.io/api/mcp?tools=core","required_headers":["Authorization"],"optional_headers":[],"claude_code":"claude mcp add --transport http margin 'https://trymargin.io/api/mcp?tools=core' --header 'Authorization: Bearer YOUR_TOKEN'","cursor":{"mcpServers":{"margin":{"url":"https://trymargin.io/api/mcp?tools=core","headers":{"Authorization":"Bearer YOUR_TOKEN"}}}},"vscode":{"servers":{"margin":{"type":"http","url":"https://trymargin.io/api/mcp?tools=core","headers":{"Authorization":"Bearer YOUR_TOKEN"}}}},"claude":{"connector_url":"https://trymargin.io/api/mcp?tools=core","headers":["Authorization"],"verdict":"ready","reason":"Answered a standard MCP initialize over Streamable HTTP without sign-in on 2026-11-29; Claude accepts servers that need no sign-in."},"chatgpt":{"connector_url":"https://trymargin.io/api/mcp?tools=core","can_send_required_headers":false,"verdict":"ready","reason":"Answered a standard MCP initialize over Streamable HTTP without sign-in on 2026-11-29; ChatGPT accepts servers that need no sign-in."},"rule":"Generated from the Streamable HTTP address this server publishes in the official MCP Registry (the address the Index check connects to) and from the request headers its registry entry declares as required. Values in capitals are placeholders: get the real ones from the publisher. Nothing here is run against the server.","note":"The check of 2026-11-29 (UTC) connected to this address without any credential."},"failure":null,"signature":{"alg":"Ed25519","kid":"450c02fbfb29dba9","statement":{"v":1,"issuer":"boternity.com","kid":"450c02fbfb29dba9","name":"io.trymargin/margin","url":"https://trymargin.io/api/mcp?tools=core","status":"ok","score":80,"grade":"B","checked_at":"2026-11-29T05:51:42Z","protocol":"2025-06-18","tools":16,"tokens":6090,"latency_ms":296,"availability_30d_permille":1000,"checks_30d":3},"digest":"sha256:d1f4d3068cf32383daba52f1763a1372b845637afff6ab0a6552088d74d81917","signature":"pirC64R1XhWO1LXlEL-Nc8083F4L3lQjKruND3K07w44u8GzJwRRRhoWRmFvRT65C4yNe2p949CXavTlHVkADw","keys":"https://boternity.com/.well-known/boternity-index-keys.json","verify":"https://boternity.com/mcp-index/verify"},"method":"https://boternity.com/mcp-index/method","license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"}}