DM

dxd214/mcp-server-jsxgraph

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

6 stars 3 forks 质量 71 趋势 14MIT

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

13 mathematical visualization tools powered by JSXGraph for interactive mathematical graphics.

Mathematical Visualization Charts (JSXGraph)

  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. generate_geometry_diagram: Create interactive geometry diagrams with points, lines, circles, polygons, angles, and geometric constructions.
在 GitHub 查看完整 README

安装

npx -y mcp-server-jsxgraph
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "mcp-server-jsxgraph": { "command": "npx", "args": ["-y", "mcp-server-jsxgraph"] } } }