
A Model Context Protocol server for generating mathematical visualizations using JSXGraph. This is a TypeScript-based MCP server that provides interactive mathematical chart generation capabilities...
概览
A Model Context Protocol server for generating mathematical visualizations using JSXGraph. This MCP server provides interactive mathematical chart generation capabilities for functions, geometry, parametric curves, and educational mathematics. This is a TypeScript-based MCP server that provides mathematical visualization capabilities. It allows you to create various types of mathematical charts and diagrams through MCP tools, perfect for educational mathematics, engineering, and scientific applications. 13 mathematical visualization tools powered by JSXGraph for interactive mathematical graphics. 1. generate_function_graph: Generate mathematical function graphs with support for derivatives, integrals, tangent lines, and multiple functions. 2. generate_parametric_curve: Generate parametric curves like circles, Lissajous curves, spirals, and cycloids with optional animated traces. 3.
README
以下为原文 README 节选,完整内容请查看原文。
MCP Server JSXGraph 
Latest Stable Version: 0.1.2 | NPM Package: mcp-server-jsxgraph
A Model Context Protocol server for generating mathematical visualizations using JSXGraph. This MCP server provides interactive mathematical chart generation capabilities for functions, geometry, parametric curves, and educational mathematics.
This is a TypeScript-based MCP server that provides mathematical visualization capabilities. It allows you to create various types of mathematical charts and diagrams through MCP tools, perfect for educational mathematics, engineering, and scientific applications.
🚀 Quick Reference
Transport & Connection Matrix
| Scenario | Command | Listen Port | Access Endpoint | Use Case |
|---|---|---|---|---|
| STDIO (Default) | npx -y mcp-server-jsxgraph |
N/A | N/A | Desktop/IDE clients (Claude, Cursor, Cline) |
| SSE (Local) | mcp-server-jsxgraph --transport sse |
1122 | http://localhost:1122/sse |
Web streaming applications |
| Streamable (Local) | mcp-server-jsxgraph --transport streamable |
1122 | http://localhost:1122/mcp |
HTTP streaming clients |
| Docker SSE | docker compose up -d (sse service) |
1123 | http://localhost:1123/sse |
Containerized SSE deployment |
| Docker Streamable | docker compose up -d (streamable service) |
1122 | http://localhost:1122/mcp |
Containerized Streamable deployment |
Minimal Working Configuration
Desktop Clients (Claude Desktop, Cursor, Cline):
{
"mcpServers": {
"mcp-server-jsxgraph": {
"command": "npx",
"args": ["-y", "mcp-server-jsxgraph"]
}
}
}
SSE Self-Test (Browser Verification):
npx -y mcp-server-jsxgraph --transport sse --port 1122
# Open: http://localhost:1122/sse
📋 Table of Contents
- ✨ Features
- 🏗️ System Architecture
- 🤖 Usage
- 🚰 Run with SSE or Streamable transport
- 🎮 CLI Options
- ⚙️ Environment Variables
- 🔨 Development
- 📄 License
✨ Features
13 mathematical visualization tools powered by JSXGraph for interactive mathematical graphics.
Mathematical Visualization Charts (JSXGraph)
generate_function_graph: Generate mathematical function graphs with support for derivatives, integrals, tangent lines, and multiple functions.generate_parametric_curve: Generate parametric curves like circles, Lissajous curves, spirals, and cycloids with optional animated traces.generate_geometry_diagram: Create interactive geometry diagrams with points, lines, circles, polygons, angles, and geometric constructions.
安装
npx -y mcp-server-jsxgraph配置
{
"mcpServers": {
"mcp-server-jsxgraph": {
"command": "npx",
"args": ["-y", "mcp-server-jsxgraph"]
}
}
}