Skip to main content

MCP server for AI-powered CX2 network manipulation with live Cytoscape Web preview

Project description

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 cx2-mcp-poc --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+
  • uv or uvx (install)
  • Claude Code or any MCP-compatible AI client

Project details


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.0.tar.gz (121.3 kB view details)

Uploaded Source

Built Distribution

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

cx2_mcp_poc-0.1.0-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file cx2_mcp_poc-0.1.0.tar.gz.

File metadata

  • Download URL: cx2_mcp_poc-0.1.0.tar.gz
  • Upload date:
  • Size: 121.3 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

Hashes for cx2_mcp_poc-0.1.0.tar.gz
Algorithm Hash digest
SHA256 97634a508a59aad19a56d0d28629af2cf49900fb3a61d83b5870097380ad8e37
MD5 131387cec703b5d91d8cfbdaa7ab2434
BLAKE2b-256 a87342f86e91e3813009f7437312e8b104be86b4ef61ab351c6ecc382ea9d6c8

See more details on using hashes here.

File details

Details for the file cx2_mcp_poc-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: cx2_mcp_poc-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.8 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

Hashes for cx2_mcp_poc-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 665d121f97ba1700484e0748a529b0fc57702750029d38e0e23a835d1480d15e
MD5 62c387891cf68a9aa28339bdabb0cd8c
BLAKE2b-256 db235278b0140733fa35997da61db78b13f3fa2f2e0abc20344c19aa0a5f6408

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page