PluginBench
MCP Server
Active
MIT

ITASCA MCP Server MCP Server

io.github.yusong652/itasca-mcp

Connect AI agents to ITASCA numerical modeling software—PFC, FLAC, 3DEC, MPoint, MassFlow—for docs, simulations, and code execution.

What is the ITASCA MCP Server MCP server?

The ITASCA MCP Server connects AI agents to ITASCA's numerical modeling software (PFC, FLAC, 3DEC, MPoint, MassFlow) through the Model Context Protocol. It provides access to documentation, Python APIs, and execution capabilities, enabling agents to browse commands, run simulations, and execute code through natural conversation.

This server bridges AI agents to ITASCA's suite of numerical modeling tools. It offers 5 documentation tools for browsing commands and APIs across multiple engine versions, and 5 execution tools for running code, submitting simulations, monitoring progress, and managing tasks. Useful for automating model setup, running parametric studies, and interactive exploration of simulation results.

How to install ITASCA MCP Server

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "itasca-mcp": {
      "command": "uvx",
      "args": [
        "itasca-mcp"
      ]
    }
  }
}

Tools & capabilities

Tools this server exposes to the agent.

  • Documentation browsing — Browse and search ITASCA engine commands, Python API, and reference documentation for PFC, FLAC, 3DEC, MPoint, and MassFlow across multiple versions
  • Interactive REPL — Execute Python code interactively while simulations are running to check model state and intermediate results
  • Task submission — Submit long-running simulations and scripts for execution
  • Progress monitoring — Monitor the progress of running tasks and simulations
  • Task interruption — Interrupt and stop running tasks
  • Task history — Browse and review the history of submitted tasks and executions
  • Plot documentation — Access enhanced documentation for plot items supplementing official references
  • Multi-version support — Access command documentation across different engine versions (PFC 6.0/7.0/9.0, FLAC 7.0/9.0)
  • Multi-engine corpus — Switch between PFC, FLAC, 3DEC, MPoint, and MassFlow documentation via software parameter
  • Hierarchical command navigation — Navigate engine command trees to discover capabilities and reduce hallucinated commands

Use cases

  • Set up and configure ITASCA numerical models through conversational prompts
  • Run parametric studies by automating simulation submission and monitoring across multiple configurations
  • Query simulation results and intermediate states without stopping running tasks
  • Explore model documentation and discover available commands and APIs interactively
  • Generate and execute Python scripts for post-processing and analysis of simulation outputs

ITASCA MCP Server MCP server FAQ

What is the ITASCA MCP Server?

It's an MCP server that gives AI agents like Claude access to ITASCA's numerical modeling software (PFC, FLAC, 3DEC, MPoint, MassFlow). You can browse documentation, run simulations, and execute Python code through natural conversation.

Is it free?

Yes, the server itself is MIT-licensed and free. However, you need a licensed ITASCA engine (PFC, FLAC, 3DEC, MPoint, or MassFlow 9.0+) installed locally to use it.

How do I install it in Claude or Cursor?

Register it with a single command: `claude mcp add itasca-mcp -- uvx itasca-mcp` for Claude Code, or add it to your MCP config file manually. Then start the bridge by running `itasca_mcp_bridge.start()` in your ITASCA engine's IPython console.

What are the prerequisites?

You need an ITASCA engine installed (PFC, FLAC, 3DEC, MPoint, or MassFlow 9.0+), Python 3.10+, and `uv` installed for package management. An MCP-capable AI client like Claude Code or Codex CLI is also required.

Does it require authentication?

No API keys or authentication are required. The server communicates directly with your locally installed ITASCA engine via a bridge started from within the engine GUI.

Can I use it with multiple ITASCA engines?

Yes, the server supports PFC, FLAC, 3DEC, MPoint, and MassFlow. You select which engine to use via the `software` parameter, and it supports multiple versions (e.g., PFC 6.0/7.0/9.0, FLAC 7.0/9.0).

README (reference)

Source of truth, from the repository.

<p align="center"> <img src="https://raw.githubusercontent.com/yusong652/itasca-mcp/assets/header.webp" alt="itasca-mcp" width="70%"> </p>

itasca-mcp

English | 简体中文

PyPI Downloads GitHub stars License: MIT Python 3.10+

itasca>model new ;now, with LLM.

itasca-mcp connects AI agents to ITASCA's numerical modeling software — PFC, FLAC, 3DEC, MPoint, and MassFlow — through the Model Context Protocol. Browse documentation, run simulations, and execute code, all through natural conversation.

itasca>model solve ;LLM solves.

itasca-mcp demo

Tools (10)

5 documentation tools — browse and search the selected engine's commands, Python API, and reference docs. No bridge required.

5 execution tools — interactive REPL, task submission, progress monitoring, interruption, and history. Requires bridge.

First-time Setup

Prerequisites

  • An ITASCA engine installed — PFC, FLAC, 3DEC, MPoint, or MassFlow. 9.0+ recommended; PFC 6.0 / 7.0 and FLAC 7.0 are also supported.
  • uv installed (for uvx)
  • An AI agent — Claude Code, Codex CLI, Gemini CLI, or any MCP-capable client

Agentic Setup (Recommended)

Copy this to your AI agent and let it self-configure:

Fetch and follow this bootstrap guide end-to-end:
https://raw.githubusercontent.com/yusong652/itasca-mcp/main/docs/agentic/itasca-mcp-bootstrap.md

Manual Setup

1. Register the MCP server with your agent.

Most agents register it with a single command:

# Claude Code
claude mcp add itasca-mcp -- uvx itasca-mcp

# Codex / Codex-cli
codex mcp add itasca-mcp -- uvx itasca-mcp

# Gemini CLI
gemini mcp add itasca-mcp uvx itasca-mcp

Or fill in the MCP config file manually:

{
  "mcpServers": {
    "itasca-mcp": {
      "command": "uvx",
      "args": ["itasca-mcp"]
    }
  }
}

2. Start the bridge from inside the ITASCA engine:

Download addon.py, then use either of these two flows inside the engine GUI (PFC, FLAC, 3DEC, ...):

  • Copy the file contents into the engine's IPython console and run them
  • Or download the file and execute it in the engine GUI
<img src="https://raw.githubusercontent.com/yusong652/itasca-mcp/assets/addon.gif" alt="addon.py demo" width="60%">

Verify

Restart your AI agent and ask it to call itasca_execute_code to verify the connection.

Daily Startup

Once first-time setup is done, each new engine session only needs the bridge re-started — run this in the engine's IPython console and you're back online:

import itasca_mcp_bridge
itasca_mcp_bridge.start()

start() checks PyPI for a newer bridge release and self-upgrades before starting. The MCP client config persists.

Features

  • Multi-engine corpus - command, Python API, and reference docs for PFC, FLAC, 3DEC, MPoint, and MassFlow, selected via the required software parameter
  • Multi-version support - command docs across engine versions (PFC: 6.0/7.0/9.0, FLAC: 7.0/9.0) via the version parameter
  • Hierarchical documentation browsing - agents navigate the engine command tree to discover capabilities and boundaries, reducing hallucinated commands
  • Enhanced plot documentation - plot items reference docs supplementing the official documentation
  • Live REPL alongside running tasks - execute code while a simulation is running: check model state and intermediate results without stopping the task; also useful for quick iteration before writing a full script
  • Task lifecycle management - submit long-running simulations, monitor progress, interrupt running tasks, and browse task history
  • Multi-client compatible - works with Claude Code, Codex CLI, Gemini CLI, GitHub Copilot CLI, OpenCode, toyoura-nagisa, and other MCP clients

Troubleshooting

See Troubleshooting in the bootstrap guide.

Development

See Developer Guide: Install and Run from Source.

<a href="https://glama.ai/mcp/servers/yusong652/itasca-mcp"> <img width="200" height="105" src="https://glama.ai/mcp/servers/yusong652/itasca-mcp/badge" alt="itasca-mcp MCP server" /> </a>

Contributing

PRs and issues are welcome! See the Developer Guide to get started.

License

MIT - see LICENSE.

<!-- mcp-name: io.github.yusong652/itasca-mcp -->

Related MCP servers

YAYADE MCP Server logo

YADE MCP Server

Maintained

MCP server for YADE discrete element method engine — run simulations, browse API docs, and execute code through natural conversation.

13
Python
MIT
View repository →

Measured web UI findings for AI agents — contrast ratios, touch targets, and accessibility checks as text, not guesses from screenshots.

128
JavaScript
MIT
View repository →

Run AI-generated code safely. gVisor-isolated Python/JS sandboxes for any MCP client. Pay per run.

0
JavaScript
View repository →

An MCP server that provides custom functionality.

0
JavaScript
View repository →

An MCP server that provides weather information.

0
JavaScript
View repository →

Generate AI UGC videos with talking heads, B-roll, and subtitles.

View repository →