{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.XBP-Europe/sagemath-mcp",
  "slug": "io.github.xbp-europe.sagemath-mcp",
  "title": "SageMath",
  "summary": "Stateful SageMath MCP server with 40 tools and a sandboxed Sage session per client.",
  "version": "0.12.0",
  "serverKey": "sagemath-mcp",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.xbp-europe.sagemath-mcp",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.xbp-europe.sagemath-mcp/install.md",
  "trust": {
    "score": 92,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T11:29:20.97161104Z"
  },
  "methods": [
    {
      "id": "pypi",
      "label": "PyPI (uvx)",
      "transport": "stdio",
      "command": "uvx",
      "args": [
        "sagemath-mcp==0.12.0"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add sagemath-mcp -- uvx sagemath-mcp==0.12.0"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"sagemath-mcp\": {\n      \"args\": [\n        \"sagemath-mcp==0.12.0\"\n      ],\n      \"command\": \"uvx\"\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"sagemath-mcp\": {\n      \"args\": [\n        \"sagemath-mcp==0.12.0\"\n      ],\n      \"command\": \"uvx\"\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"servers\": {\n    \"sagemath-mcp\": {\n      \"args\": [\n        \"sagemath-mcp==0.12.0\"\n      ],\n      \"command\": \"uvx\",\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.sagemath-mcp]\ncommand = \"uvx\"\nargs = [\"sagemath-mcp==0.12.0\"]"
        }
      ],
      "requires": [
        "uv (https://docs.astral.sh/uv/)"
      ]
    },
    {
      "id": "oci",
      "label": "Docker",
      "transport": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/xbp-europe/sagemath-mcp:0.12.0",
        "--transport",
        "stdio"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add sagemath-mcp -- docker run -i --rm ghcr.io/xbp-europe/sagemath-mcp:0.12.0 --transport stdio"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"sagemath-mcp\": {\n      \"args\": [\n        \"run\",\n        \"-i\",\n        \"--rm\",\n        \"ghcr.io/xbp-europe/sagemath-mcp:0.12.0\",\n        \"--transport\",\n        \"stdio\"\n      ],\n      \"command\": \"docker\"\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"sagemath-mcp\": {\n      \"args\": [\n        \"run\",\n        \"-i\",\n        \"--rm\",\n        \"ghcr.io/xbp-europe/sagemath-mcp:0.12.0\",\n        \"--transport\",\n        \"stdio\"\n      ],\n      \"command\": \"docker\"\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"servers\": {\n    \"sagemath-mcp\": {\n      \"args\": [\n        \"run\",\n        \"-i\",\n        \"--rm\",\n        \"ghcr.io/xbp-europe/sagemath-mcp:0.12.0\",\n        \"--transport\",\n        \"stdio\"\n      ],\n      \"command\": \"docker\",\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.sagemath-mcp]\ncommand = \"docker\"\nargs = [\"run\", \"-i\", \"--rm\", \"ghcr.io/xbp-europe/sagemath-mcp:0.12.0\", \"--transport\", \"stdio\"]"
        }
      ],
      "requires": [
        "Docker"
      ]
    }
  ],
  "env": null,
  "expectedTools": [
    "solve_equation",
    "matrix_multiply",
    "matrix_operation",
    "boolean_algebra_operation",
    "polynomial_ring_operation",
    "differentiate_expression",
    "integrate_expression",
    "limit_expression",
    "series_expansion",
    "solve_ode",
    "symbolic_sum",
    "vector_calculus_operation",
    "evaluate_sage",
    "calculate_expression",
    "simplify_expression",
    "expand_expression",
    "factor_expression",
    "find_root",
    "evaluate_sage_streaming",
    "check_sage_health",
    "lookup_sage_doc",
    "number_theory_operation",
    "combinatorics_operation",
    "graph_operation",
    "group_operation",
    "elliptic_curve_operation",
    "coding_theory_operation",
    "plot3d_expression",
    "plot_multi_expression",
    "plot_expression",
    "geometry_operation",
    "reset_sage_session",
    "interrupt_sage_session",
    "cancel_sage_session",
    "start_sage_session",
    "list_sage_sessions",
    "stop_sage_session",
    "statistics_summary",
    "distribution_operation",
    "verify_claim"
  ],
  "agentSteps": [
    "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).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: solve_equation, matrix_multiply, matrix_operation, boolean_algebra_operation, polynomial_ring_operation, differentiate_expression, integrate_expression, limit_expression, ….",
    "If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T11:29:20.97161104Z"
}
