Wraps pyMaBoSS for Boolean network simulation and attractor analysis through MCP stdio transport. You get tools to run stochastic simulations of biological Boolean models, analyze steady states, and manage modeling sessions directly from your AI assistant. This is one of three bio-modeling servers in the mcp-biomodelling-servers package alongside NeKo and PhysiCell. Install via pip or uvx, or run from source with a Conda environment if you need the native MaBoSS binaries. Plug it into VS Code's Copilot Chat to prototype systems biology models conversationally instead of writing simulation scripts by hand.
This repository centralizes Model Context Protocol (MCP) servers that wrap Python‑based mechanistic / systems biology modelling tools. Each subfolder contains a server.py entrypoint plus a README describing the specific tool interface.
Current servers (see their own READMEs & upstream docs):
| Tool | Folder | Upstream Documentation | MCP Registry |
|---|---|---|---|
| MaBoSS | MaBoSS/ | https://github.com/colomoto/pyMaBoSS | io.github.marcorusc/MaBoSS |
| NeKo | NeKo/ | https://github.com/sysbio-curie/Neko | io.github.marcorusc/NeKo |
| PhysiCell (settings wrapper) | PhysiCell/ | https://github.com/marcorusc/PhysiCell_Settings | io.github.marcorusc/PhysiCell |
All servers are Python processes speaking MCP over stdio.
pip install mcp-biomodelling-servers
Then run any server directly:
mcp-neko-server
mcp-maboss-server
mcp-physicell-server
uvx --from mcp-biomodelling-servers mcp-neko-server
uvx --from mcp-biomodelling-servers mcp-maboss-server
uvx --from mcp-biomodelling-servers mcp-physicell-server
Clone this repo and set up a Conda environment with all dependencies (see Environment Assumption below).
The Model Context Protocol standardizes how external tools expose tools and resources to AI assistants / IDEs. Spec & introduction: https://modelcontextprotocol.io/docs/getting-started/intro
Each server.py advertises modelling actions (e.g. run simulations, manage sessions) to any MCP‑aware client (e.g. VS Code with GitHub Copilot Chat MCP support).
MaBoSS/ # MaBoSS MCP server (Boolean / stochastic models)
NeKo/ # NeKo MCP server
PhysiCell/ # PhysiCell settings / sessions MCP server
README.md
Consult the README within each tool folder for: purpose, required Python packages, and any model/data file expectations. Installation instructions for the modelling tools themselves live there (or in the upstream project links above) — they are intentionally not duplicated here.
All tools are Python‑based. Create (and manage) a single Conda environment that contains the dependencies for MaBoSS, NeKo, and PhysiCell. The exact creation commands are up to you (not prescribed here). Once created, note the absolute path to its Python interpreter (e.g. /home/you/miniforge3/envs/mcp_modelling/bin/python).
Ctrl + Shift + P → "MCP: Open Configuration" (or edit ~/.config/Code/User/mcp.json directly).If you installed via pip or want to use uvx, no paths are needed:
{
"servers": {
"neko": {
"type": "stdio",
"command": "uvx",
"args": ["--from", "mcp-biomodelling-servers", "mcp-neko-server"]
},
"maboss": {
"type": "stdio",
"command": "uvx",
"args": ["--from", "mcp-biomodelling-servers", "mcp-maboss-server"]
},
"physicell": {
"type": "stdio",
"command": "uvx",
"args": ["--from", "mcp-biomodelling-servers", "mcp-physicell-server"]
}
}
}
Use this if you need a custom Conda environment (e.g. for native MaBoSS binaries or local development):
{
"servers": {
"maboss": {
"type": "stdio",
"command": "/home/you/miniforge3/envs/mcp_modelling/bin/python",
"args": [
"/absolute/path/to/mcp-biomodelling-servers/MaBoSS/server.py"
],
"env": {
"PATH": "/home/you/miniforge3/envs/mcp_modelling/bin:${Path}",
"CONDA_PREFIX": "/home/you/miniforge3/envs/mcp_modelling"
}
},
"neko": {
"type": "stdio",
"command": "/home/you/miniforge3/envs/mcp_modelling/bin/python",
"args": [
"/absolute/path/to/mcp-biomodelling-servers/NeKo/server.py"
]
},
"physicell": {
"type": "stdio",
"command": "/home/you/miniforge3/envs/mcp_modelling/bin/python",
"args": [
"/absolute/path/to/mcp-biomodelling-servers/PhysiCell/server.py"
]
}
}
}
Replace /home/you/... and /absolute/path/to/... with your actual directories. Keep all three servers referencing the same Conda interpreter to share installed libraries.
After saving, reload / restart VS Code so the MCP client reconnects.
Activation / usage guidance in VS Code: https://code.visualstudio.com/docs/copilot/chat/mcp-servers
You should then see the servers' tools listed in the Copilot Chat "/tools" (or similar) UI. Invoke them by name with required parameters.
server.py and a README describing the underlying modelling tool and dependencies.mcp.json with a new block (use the same Conda Python path).Project is MIT (see existing LICENSE file). Underlying tools retain their own licenses — consult upstream repositories.
| Action | What to Do |
|---|---|
| Get tool install steps | Open the tool’s subfolder README or upstream link |
| Ensure deps present | Install into your chosen Conda env (user‑defined) |
| Configure MCP | Edit ~/.config/Code/User/mcp.json as above |
| Reload servers | Reload VS Code window |
| Learn MCP | Spec: modelcontextprotocol.io; VS Code guide link above |
Happy modelling!