Mcp Server Jsxgraph

by dxd214

274 downloads Not rated yet

About

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 for functions, geometry, parametric curves, and more.

Explore

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

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Mcp Server Jsxgraph
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

To use with Desktop APP, such as Claude, VSCode, Cline, Cherry Studio, Cursor, and so on, add the MCP server config below. On Mac system:

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

On Window system:

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

Enter the docker directory.

cd docker

Deploy using docker-compose.

docker compose up -d

Then you can access the server at:

- SSE transport: http://localhost:1123/sse
- Streamable transport: http://localhost:1122/mcp

| Variable | Description | Default | Example |
|----------|:------------|---------|---------|
| DISABLED_TOOLS | Comma-separated list of tool names to disable | - | generate_function_graph,generate_parametric_curve |

generate_function_graph

`generate_parametric_curve`

generate_geometry_diagram

`generate_vector_field`

generate_linear_system

`generate_function_transformation`

generate_quadratic_analysis

`generate_exponential_logarithm`

generate_rational_function

`generate_equation_system`

generate_conic_section

`generate_polynomial_steps`

You can disable specific mathematical visualization tools using the DISABLED_TOOLS environment variable. This is useful when certain tools have compatibility issues with your MCP client or when you want to limit the available functionality.

{
  "mcpServers": {
    "mcp-server-jsxgraph": {
      "command": "npx",
      "args": [
        "-y",
        "@dxd/mcp-server-jsxgraph"
      ],
      "env": {
        "DISABLED_TOOLS": "generate_function_graph,generate_parametric_curve"
      }
    }
  }
}

Available tool names for filtering:
- generate_function_graph
- generate_parametric_curve
- generate_geometry_diagram
- generate_vector_field
- generate_linear_system
- generate_function_transformation
- generate_quadratic_analysis
- generate_exponential_logarithm
- generate_rational_function
- generate_equation_system
- generate_conic_section
- generate_polynomial_steps

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

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

McpServers

{
    "mcp-server-jsxgraph": {
        "command": "npx",
        "args": [
            "-y",
            "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.

📋 Table of Contents

- ✨ Features
- 🤖 Usage
- 🚰 Run with SSE or Streamable transport
- 🎮 CLI Options
- ⚙️ Environment Variables
- 🔨 Development
- 📄 License

✨ Features

12 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.
4. generate_vector_field: Visualize 2D vector fields with arrows, streamlines, singular points, and magnitude color coding.
5. generate_linear_system: Visualize systems of linear equations and inequalities with feasible regions and linear programming optimization.
6. generate_function_transformation: Show function transformations including translations, scaling, reflections, and compositions with animation.
7. generate_quadratic_analysis: Comprehensive quadratic function analysis with vertex, roots, axis of symmetry, focus, and directrix.
8. generate_exponential_logarithm: Plot exponential and logarithmic functions with asymptotes, growth/decay analysis, and inverse relationships.
9. generate_rational_function: Visualize rational and irrational functions with asymptotes, holes, domain restrictions, and critical points.
10. generate_equation_system: Solve and visualize linear and nonlinear equation systems with numerical solutions and phase portraits.
11. generate_conic_section: Generate conic sections (circles, ellipses, parabolas, hyperbolas) and high-degree polynomials with geometric properties.
12. generate_polynomial_steps: Interactive step-by-step polynomial analysis with roots, derivatives, and graphical representations.

🤖 Usage

To use with Desktop APP, such as Claude, VSCode, Cline, Cherry Studio, Cursor, and so on, add the MCP server config below. On Mac system:

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

On Window system:

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

🚰 Run with SSE or Streamable transport

Run directly

Install the package globally.

npm install -g mcp-server-jsxgraph

Run the server with your preferred transport option:

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.