cx2-mcp
MCP server for AI-powered CX2 network manipulation with live Cytoscape Web preview.
Load local .cx2 files, manipulate them with natural language via Claude Code or any MCP-compatible AI, and preview changes instantly in your browser.
Install
claude mcp add --scope user cx2-mcp -- uvx --from cx2-mcp-poc cx2-mcp --port 8888
Then start a new Claude Code session and say: "Load ~/my-network.cx2"
What it does
- Serves local CX2 files over HTTP with CORS — browser-accessible instantly
- Exposes 16 MCP tools for reading, editing, filtering, and saving networks
- Returns a Cytoscape Web import URL; refresh your browser to see AI edits live
- Writes to disk only when explicitly asked — your file stays yours
Tools
| Category | Tools |
|---|---|
| Serving | serve_file, get_url, list_served_files, reload_file |
| Inspection | get_network_summary, get_nodes, get_edges, get_visual_properties |
| Editing | set_node_attribute, set_edge_attribute, add_node, add_edge, delete_nodes, filter_network, apply_visual_style |
| Persistence | save_to_disk |
Requirements
- Python 3.11+
uvoruvx(install)- Claude Code or any MCP-compatible AI client
Metadata
Release files for cx2-mcp-poc 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cx2_mcp_poc-0.1.1.tar.gz | 99.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cx2_mcp_poc-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 107.7 kB
Release files / cx2_mcp_poc-0.1.1.tar.gz
| Download URL | cx2_mcp_poc-0.1.1.tar.gz |
|---|---|
| Size | 99.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3d380387d883a0cbad16c4d06ef845c1123176ab4cc11820602491d855113487
|
|
BLAKE2b-256 checksum How to use checksums |
37e47d7a21b1991c1ac688070edf6c3ebc8a0506d294394afc2c2af605d7a3c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.6 {"installer":{"name":"uv","version":"0.10.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / cx2_mcp_poc-0.1.1-py3-none-any.whl
| Download URL | cx2_mcp_poc-0.1.1-py3-none-any.whl |
|---|---|
| Size | 8.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
96fa24defdc66c1c7431facdea9275cfbc87f899efc701473d00d85d98c1feb9
|
|
BLAKE2b-256 checksum How to use checksums |
72434f36020c45eb5bc4e23bd0d2e37b1074549a6d31817f49796d3f65e14013
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.6 {"installer":{"name":"uv","version":"0.10.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|