{"id":51495088,"url":"https://github.com/yusong652/flac-mcp","last_synced_at":"2026-07-07T14:30:55.858Z","repository":{"id":360675202,"uuid":"1243621918","full_name":"yusong652/flac-mcp","owner":"yusong652","description":"MCP server connecting AI agents to ITASCA FLAC — run continuum simulations through natural conversation","archived":false,"fork":false,"pushed_at":"2026-06-20T14:09:00.000Z","size":2190,"stargazers_count":28,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-06-20T16:10:28.190Z","etag":null,"topics":["ai-agent","claude","claude-code","codex","continuum-mechanics","finite-difference-method","flac","flac3d","gemini-cli","geomechanics","itasca","itasca-flac","llm-tools","mcp","mcp-server","model-context-protocol","simulation"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/flac-mcp/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yusong652.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-05-19T14:05:24.000Z","updated_at":"2026-06-20T14:09:04.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/yusong652/flac-mcp","commit_stats":null,"previous_names":["yusong652/flac-mcp"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/yusong652/flac-mcp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yusong652%2Fflac-mcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yusong652%2Fflac-mcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yusong652%2Fflac-mcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yusong652%2Fflac-mcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yusong652","download_url":"https://codeload.github.com/yusong652/flac-mcp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yusong652%2Fflac-mcp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35232326,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-07T02:00:07.222Z","response_time":90,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai-agent","claude","claude-code","codex","continuum-mechanics","finite-difference-method","flac","flac3d","gemini-cli","geomechanics","itasca","itasca-flac","llm-tools","mcp","mcp-server","model-context-protocol","simulation"],"created_at":"2026-07-07T14:30:44.875Z","updated_at":"2026-07-07T14:30:55.325Z","avatar_url":"https://github.com/yusong652.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# flac-mcp\n\n\u003e [!WARNING]\n\u003e **`flac-mcp` is deprecated and frozen.** It is superseded by\n\u003e [**`itasca-mcp`**](https://github.com/yusong652/itasca-mcp) — a single\n\u003e multi-engine MCP server covering FLAC, PFC, 3DEC, MPoint, and MassFlow.\n\u003e Update your MCP client config from `uvx flac-mcp` to `uvx itasca-mcp`\n\u003e (select FLAC docs via the `software` parameter). No further releases are\n\u003e planned here.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/yusong652/flac-mcp/assets/header.png\" width=\"70%\" alt=\"flac-mcp — MCP Server for ITASCA FLAC\"\u003e\n\u003c/p\u003e\n\n[English](https://github.com/yusong652/flac-mcp/blob/main/README.md) | [简体中文](https://github.com/yusong652/flac-mcp/blob/main/README.zh-CN.md)\n\n[![PyPI](https://img.shields.io/pypi/v/flac-mcp)](https://pypi.org/project/flac-mcp/)\n[![Downloads](https://static.pepy.tech/badge/flac-mcp)](https://pepy.tech/project/flac-mcp)\n[![GitHub stars](https://img.shields.io/github/stars/yusong652/flac-mcp)](https://github.com/yusong652/flac-mcp/stargazers)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)\n[![Python 3.10+](https://img.shields.io/badge/python-3.10%2B-blue)](https://www.python.org/)\n\n`flac3d\u003emodel new ;now, with LLM.`\n\n**flac-mcp** connects AI agents to [ITASCA FLAC](https://www.itascacg.com/software/flac3d) through the [Model Context Protocol](https://modelcontextprotocol.io/) — browse documentation, run simulations, and execute code, all through natural conversation.\n\n`flac3d\u003emodel solve ;LLM solves.`\n\n## Tools (10)\n\n**5 documentation tools** — browse and search FLAC commands, Python API, and reference docs. No bridge required.\n\n**5 execution tools** — interactive REPL, task submission, progress monitoring, interruption, and history. Requires bridge.\n\n## First-time Setup\n\n### Prerequisites\n\n- **ITASCA FLAC 6.0, 7.0, or 9.0** installed\n- **[uv](https://docs.astral.sh/uv/getting-started/installation/)** installed (for `uvx`)\n\n### Agentic Setup (Recommended)\n\nCopy this to your AI agent and let it self-configure:\n\n```text\nFetch and follow this bootstrap guide end-to-end:\nhttps://raw.githubusercontent.com/yusong652/flac-mcp/main/docs/agentic/flac-mcp-bootstrap.md\n```\n\n### Manual Setup\n\n**1. Register the MCP server** in your client config:\n\n```json\n{\n  \"mcpServers\": {\n    \"flac-mcp\": {\n      \"command\": \"uvx\",\n      \"args\": [\"flac-mcp\"]\n    }\n  }\n}\n```\n\n**2. Start the bridge from inside FLAC:**\n\nDownload [`addon.py`](addon.py), then use either of these two flows inside FLAC:\n\n- Copy the file contents into the FLAC IPython console and run them\n- Or download the file and execute it in FLAC GUI\n\n### Verify\n\nRestart your AI agent (Claude Code, Codex CLI, Gemini CLI, etc.) and ask it to call `flac_execute_code` to verify the connection.\n\n## Daily Startup\n\nOnce first-time setup is done, each new FLAC session only needs the bridge re-started — run this in FLAC's IPython console and you're back online:\n\n```python\nimport itasca_mcp_bridge\nitasca_mcp_bridge.start()\n```\n\n`start()` checks PyPI for a newer bridge release and self-upgrades before starting. The MCP client config persists.\n\n## Features\n\n- **Multi-version FLAC support** - command docs for FLAC 6.0, 7.0, and 9.0 via the `version` parameter\n- **Hierarchical documentation browsing** - agents navigate the FLAC command tree to discover capabilities and boundaries, reducing hallucinated commands\n- **Enhanced plot documentation** - plot items reference docs supplementing the official documentation\n- **Interactive REPL** - rapid iteration before committing to full scripts; agents can quickly test and refine code\n- **Task lifecycle management** - submit long-running simulations, monitor progress, interrupt running tasks, and browse task history\n- **Multi-client compatible** - works with Claude Code, Codex CLI, Gemini CLI, GitHub Copilot CLI, OpenCode, toyoura-nagisa, and other MCP clients\n\n## Troubleshooting\n\nSee [Troubleshooting](docs/agentic/flac-mcp-bootstrap.md#troubleshooting) in the bootstrap guide.\n\n## Development\n\nSee [Developer Guide: Install and Run from Source](docs/development/source-install.md).\n\n## Contributing\n\nPRs and issues are welcome! See the [Developer Guide](docs/development/source-install.md) to get started.\n\n## License\n\nMIT - see [LICENSE](LICENSE).\n\n\u003c!-- mcp-name: io.github.yusong652/flac-mcp --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyusong652%2Fflac-mcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyusong652%2Fflac-mcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyusong652%2Fflac-mcp/lists"}