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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cx2_mcp_poc-0.1.1.tar.gz
(99.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cx2_mcp_poc-0.1.1.tar.gz.
File metadata
- Download URL: cx2_mcp_poc-0.1.1.tar.gz
- Upload date:
- Size: 99.5 kB
- Tags: Source
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3d380387d883a0cbad16c4d06ef845c1123176ab4cc11820602491d855113487
|
|
| MD5 |
ad66f68f8070bb018c4894b926d3091e
|
|
| BLAKE2b-256 |
37e47d7a21b1991c1ac688070edf6c3ebc8a0506d294394afc2c2af605d7a3c8
|
File details
Details for the file cx2_mcp_poc-0.1.1-py3-none-any.whl.
File metadata
- Download URL: cx2_mcp_poc-0.1.1-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
96fa24defdc66c1c7431facdea9275cfbc87f899efc701473d00d85d98c1feb9
|
|
| MD5 |
24d3fd2e6b0ebf8049484438b77f780f
|
|
| BLAKE2b-256 |
72434f36020c45eb5bc4e23bd0d2e37b1074549a6d31817f49796d3f65e14013
|