MCP directory
SM

Sagemath Mcp Server

by github.com/justice8096 · v1.0.1 · updated May 18, 2026

MCP server wrapping SageMath's full computer algebra system — 10 symbolic-math tools for LLMs.

npm

Run it locally

Install the package and point your AI client at it.

npm

npx -y @justice8096/[email protected]

Environment variables

  • SAGE_TIMEOUT

    Per-call SageMath timeout in milliseconds. Default 30000.

  • SAGE_DOCKER_IMAGE

    Docker image used when SageMath is not installed locally. Default sagemath/sagemath:latest.

  • TRANSPORT

    Transport mode: 'stdio' (default) or 'http'.

  • PORT

    HTTP port when TRANSPORT=http. Default 3000.

  • API_KEYsecret

    If set, HTTP transport requires matching API_KEY header. Ignored for stdio.

More MCP servers