Margin

v0.2.1
io.trymargin/margin Checked 4 days ago Published 6 days ago

Tests a model or prompt change on your own evals and says if it holds, before your agent ships it.

Remote (hosted) discovery passed

Run in a terminal
claude mcp add --transport http margin https://trymargin.io/api/mcp?tools=core --header 'Authorization: <Authorization>'
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "margin": {
      "args": [
        "-y",
        "mcp-remote",
        "https://trymargin.io/api/mcp?tools=core",
        "--header",
        "Authorization: <Authorization>"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "margin": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "url": "https://trymargin.io/api/mcp?tools=core"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "margin": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "type": "http",
      "url": "https://trymargin.io/api/mcp?tools=core"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.margin]
command = "npx"
args = ["-y", "mcp-remote", "https://trymargin.io/api/mcp?tools=core", "--header", "Authorization: <Authorization>"]

Remote (hosted)

Run in a terminal
claude mcp add --transport http margin https://trymargin.io/api/mcp/agent?tools=core --header 'Authorization: <Authorization>'
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "margin": {
      "args": [
        "-y",
        "mcp-remote",
        "https://trymargin.io/api/mcp/agent?tools=core",
        "--header",
        "Authorization: <Authorization>"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "margin": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "url": "https://trymargin.io/api/mcp/agent?tools=core"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "margin": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "type": "http",
      "url": "https://trymargin.io/api/mcp/agent?tools=core"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.margin]
command = "npx"
args = ["-y", "mcp-remote", "https://trymargin.io/api/mcp/agent?tools=core", "--header", "Authorization: <Authorization>"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: margin_jobs, margin_optimize, margin_faceoff_status, margin_test_move, margin_test_model, margin_delegate_key, margin_my_keys, margin_fit_check, ….
  4. If it fails, check that the required runtime is installed (none) and that the values above are set.

Machine-readable: install.md · manifest.json