Skip to main content

MCP Bio-Modelling Servers

PyPI MCP Registry

This package provides three stateful Model Context Protocol servers for mechanistic and systems-biology modelling:

Server Modelling role Upstream project MCP Registry name
MaBoSS Configure, simulate, and analyze stochastic Boolean models pyMaBoSS io.github.marcorusc/MaBoSS
NeKo Build and analyze signalling networks from interaction databases NeKo io.github.marcorusc/NeKo
PhysiCell Build, inspect, and export PhysiCell and PhysiBoSS configuration files PhysiCell-settings io.github.marcorusc/PhysiCell

All three servers use MCP over stdio and are distributed together as mcp-biomodelling-servers.

Publication

For more details, please check the related article:

"Intelligent tool orchestration for rapid mechanistic model prototyping: MCP servers as AI-biology interfaces"
Marco Ruscone, Miguel Vazquez & Alfonso Valencia, npj Systems Biology and Applications (2026)
https://doi.org/10.1038/s41540-026-00767-3

Requirements

  • Python 3.10–3.14.
  • MCP Python SDK 2.x, installed automatically with this package.
  • The modelling-package dependencies declared in pyproject.toml, installed automatically by pip or uvx.
  • The Graphviz system runtime for NeKo history diagrams. The Python graphviz package is not a replacement for the external dot renderer.

Check whether Graphviz is available with:

dot -V

If this command is missing, install Graphviz using your operating system or environment package manager. See the Graphviz installation guide for platform-specific instructions.

Installation

Install with pip

python -m pip install mcp-biomodelling-servers

The installation provides three console entry points:

mcp-neko-server
mcp-maboss-server
mcp-physicell-server

Run in an isolated environment with uvx

uvx --from mcp-biomodelling-servers mcp-neko-server
uvx --from mcp-biomodelling-servers mcp-maboss-server
uvx --from mcp-biomodelling-servers mcp-physicell-server

Conda is optional. It remains useful when you want one explicitly managed environment for local development or additional native scientific software, but it is not required for the packaged entry points.

Configure an MCP client

The following example uses uvx and works with clients that accept the common mcp.json stdio configuration:

{
  "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"
      ]
    }
  }
}

If the package is already installed in the client environment, each entry can instead use its console script directly:

{
  "servers": {
    "neko": {
      "type": "stdio",
      "command": "mcp-neko-server"
    },
    "maboss": {
      "type": "stdio",
      "command": "mcp-maboss-server"
    },
    "physicell": {
      "type": "stdio",
      "command": "mcp-physicell-server"
    }
  }
}

Refer to your MCP client's documentation for its configuration-file location and reload procedure. For Visual Studio Code, see Use MCP servers in VS Code.

Sessions, artifacts, and errors

Each server can maintain multiple isolated modelling sessions. Tools that create or load a model return a session identifier; pass that identifier to subsequent operations when more than one session is active.

Generated models, configuration files, plots, and other outputs are kept in session-scoped artifact directories. Artifact-listing tools return the paths needed to inspect or hand files to another modelling server.

Under MCP SDK 2.x, failures to execute a tool are returned as tool errors so the client and model can distinguish them from successful scientific results. Validation tools may still return a successful result describing an invalid model or configuration when validity itself is the requested result.

Run from source

Clone the repository and install it with its development dependencies:

git clone https://github.com/marcorusc/mcp-biomodelling-servers.git
cd mcp-biomodelling-servers
python -m pip install ".[dev]"

You can then run the same console entry points or invoke a server module directly with the selected Python interpreter:

python MaBoSS/server.py
python NeKo/server.py
python PhysiCell/server.py

Repository layout

MaBoSS/                     MaBoSS server, manual, and Registry manifest
NeKo/                       NeKo server, manual, and Registry manifest
PhysiCell/                  PhysiCell server, manual, and Registry manifest
mcp_biomodelling_servers/   Installed package namespace and entry points
tests/                      Protocol, runtime, concurrency, and package tests

The server-specific READMEs describe the modelling workflows and exposed tool families in more detail.

MCP SDK and protocol compatibility

The package uses the stable MCP Python SDK 2.x API. The SDK negotiates the appropriate MCP protocol revision with the connected client; the protocol revision is independent of the MCP Registry schema used by each server.json.

License

The package metadata declares the project under the MIT license. The wrapped modelling packages retain their own licenses; consult their upstream projects for details.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_biomodelling_servers-2.3.0.tar.gz (139.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_biomodelling_servers-2.3.0-py3-none-any.whl (164.4 kB view details)

Uploaded Python 3

File details

Details for the file mcp_biomodelling_servers-2.3.0.tar.gz.

File metadata

  • Download URL: mcp_biomodelling_servers-2.3.0.tar.gz
  • Upload date:
  • Size: 139.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.6

File hashes

Hashes for mcp_biomodelling_servers-2.3.0.tar.gz
Algorithm Hash digest
SHA256 e9f7257a4118094c2a9e4870990c9155ab65f94bd175b59d97fe7ff2721b06c9
MD5 a8eedc287e4df5ed2827a8a56f65f86b
BLAKE2b-256 7c3b431cb2a9e1fb0f8cb5638e803b862c844f6d848e74a219b13eba338f0412

See more details on using hashes here.

File details

Details for the file mcp_biomodelling_servers-2.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_biomodelling_servers-2.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aabc114f5caf5f7cc1bb7d8206d0a40a044ea4bce94980a949b3f5da29558ecb
MD5 c71459831a29e3f93e31c0a9444b029b
BLAKE2b-256 2179756609534d3e63cf5ff78231c287150837074c2d3681ab06abe721400a1f

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

2.3.0 This release

2 files

2.2.0

2 files

2.1.0

2 files

2.0.0

2 files

1.0.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page