
Cytoscape Desktop MCP
io.github.cytoscape由 GitHub 帳號 cytoscape 發布v1.0.3更新於 Oct 24, 2026
Drive a running Cytoscape Desktop to load, lay out, and style biological networks.
概覽
一個實驗性的 Cytoscape 應用程式,提供 MCP 端點,讓 AI 助理驅動執行中的 Cytoscape Desktop 載入、檢視與設定生物網路樣式。
- 可以做什麼
- 透過 CyREST HTTP 端點從 NDEx 或本機檔案把網路載入 Cytoscape Desktop,NDEx 基礎位址可在執行時透過 cytoscapemcp 屬性調整。列出桌面應用程式中目前已載入的網路檢視。設定目前作用中的網路檢視並建立新的網路檢視。把每次工具呼叫記錄到 Cytoscape 的工作歷史面板,方便查看代理呼叫了哪些工具、何時呼叫。在 manifest 端點發布附 JSON schema 的可讀工具目錄,並提供健康檢查端點確認連線。
- 適用情境
- 適合已在 Cytoscape Desktop 進行生物網路分析,並希望用 Claude Desktop、Claude Code、Copilot 或 Codex CLI 等 AI 用戶端透過提示詞載入網路、切換檢視並串接這些步驟,而不必手動操作介面的使用者。
- 執行需求
- 需要 Cytoscape Desktop 3.10 或更新版本,並從應用程式商店或 JAR 安裝 Cytoscape MCP Server 應用程式,且應用程式須在執行中以在 CyREST 中發布 MCP 端點。需要支援 Streamable HTTP 傳輸(而非 SSE)的 MCP 用戶端。從 NDEx 載入網路需要連網。CyREST 連接埠透過 CYREST_PORT 環境變數或 Agent Configuration 對話框設定。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Cytoscape Desktop MCP,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Cytoscape MCP Server
An embedded Model Context Protocol (MCP) server for Cytoscape Desktop, packaged as a Cytoscape App. AI clients such as Claude Desktop connect to Cytoscape over HTTP and invoke tools that control the desktop application directly — loading networks, setting active views, and more.
NOTE: This app is experimental. The interface and available tools are subject to change.
Architecture
How It Works
Once installed, the app publishes an MCP endpoint inside Cytoscape's existing CyREST HTTP server — AI clients connect to the MCP endpoint with Streamable HTTP transport and call MCP tools which drive activity on the Cytoscape desktop display.
The app also adds two visual indicators to the Cytoscape Desktop UI:
MCP toolbar button
a bold MCP button in the bottom-left status bar. The label is green when the MCP server is running and red when it is not. Clicking it opens the Agent Configuration dialog which displays the full MCP url and connection instructions for all supported agents.
Task History entries
every MCP tool invocation is recorded in Cytoscape's Task History panel (View > Show Task History), so you can see exactly which tools an agent called and when.
Requirements
- Cytoscape 3.10 or above
- Internet connection (for loading networks from NDEx)
- An MCP-compatible AI client that also supports the Streamable HTTP transport(not SSE which is deprecated as of 02/2025) (e.g. Claude Desktop)
Try it!
Install from the Cytoscape App Store (recommended)
Install Cytoscape MCP Server from the App Store — this is the MCP server itself, and everything else on this page depends on it being installed and running:
Or from inside Cytoscape: Apps > App Manager, search for Cytoscape MCP Server, and install.
Install a JAR manually
Alternatively, get the app jar:
Then:
- Open Cytoscape Desktop.
- Navigate to Apps > App Manager > Install from File.
- Select the file path to the MCP App JAR and restart Cytoscape if prompted.
After startup, the MCP status can be viewed via the MCP button in the status bar.
Connecting an Agent to Cytoscape Desktop MCP
See docs/AgentConfiguration.md for step-by-step setup instructions for Claude Desktop, Claude Code, GitHub Copilot (VS Code), GitHub Copilot CLI, and OpenAI Codex CLI.
Cytoscape Desktop MCP Diagnostics
- Most agents will have a
/mcpcommand or UI settings panel which will show status of connection to the MCP server and a list of tools currently published by this server, check to see if it is denoted as 'connected'. - Check the MCP health endpoint
Replace
{rest.port}with Cytoscape's CyREST port (shown in the Agent Configuration dialog). You should see{"status":"ok","transport":"mcp-streamable-http"}. A "connection refused" error means Cytoscape is not running or the port is wrong. - Use external MCP introspection tools against the Desktop MCP server running at
http://localhost:{rest.port}/mcpto validate or view current tools catalog - modelcontextprotocol/inspector
Building from source
If you want to build the app jar directly from source instead of using release jars.
Requirements:
The JAR is produced at build/libs/cytoscape-mcp-<VERSION>.jar.
For a full list of build targets:
Release tags
Two components ship from this repo on separate tag namespaces:
The bridge is versioned independently of the app because the bridge is distinctly separate deliverable with separate source tree for it to provide a stdio-to-http transport bridge that some agents may use. See registry/README.md for the release runbook.
Cytoscape Desktop MCP Tool Catalog
The MCP server provides a human-readable catalog of every tool registered on the server formatted as Markdown with complete MCP Protocol JSON schema definitions for each tool's input and output. You can obtain the catalog through multiple options:
- When the app is loaded in Desktop, at runtime the MCP server exposes
<CyRest Url>/mcp/manifestendpoint which can be retrieved by browser or command line
- After any build locally,
make buildwill generate the MCP manifest based on current code into a static file atbuild/generated/manifest/MCPManifest.mdfor same review. - Static copy of the catalog is also stored in repo at MCPManifest.md
Activate Cytoscape Desktop MCP tools from Agent prompts:
Invoking the tools requires some prompt engineering to provide key words or phrases which will activate the LLM to choose usage of a tool. Check out MCPManifest.md which contains 3 to 4 examples of Prompt snippets on each tool's description as reference of how to trigger LLM activation.
- an example of a simple prompt which will lead the LLM to reason over the available tools as a whole and orchestrate their usage as building blocks into a sequence to reach the requested end result:
Cytoscape Desktop MCP Configuration properties
Properties are editable at runtime via Edit > Preferences > Properties > cytoscapemcp:
Documentation
Full documentation is in the docs/ directory:
- Agent Configuration — connecting Claude Desktop, Claude Code, GitHub Copilot, Codex CLI, and others
- User Manual — configuration reference and available tools
- Tutorial — end-to-end walkthrough: install, connect, load a network
- FAQ — common questions and troubleshooting
COPYRIGHT AND LICENSE
Acknowledgements
- TODO: denote funding sources
來源:README.md,提交 d2d7cbc
工具
0版本歷史
1- v1.0.3最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分