Cytoscape MCP Server

Cytoscape MCP Server

An embedded MCP server for Cytoscape Desktop that lets AI agents load networks, set active views, and control the desktop application over HTTP.

Category
访问服务器

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

Cytoscape MCP Desktop

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.

AI Agent──► HTTP──► http://localhost:{rest.port}/mcp ──► Cytoscape Desktop
                                                               └── load network from NDEx or file
                                                               └── get loaded network views
                                                               └── set current network view
                                                               └── create network view

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:

  • Download the latest cytoscape-mcp-<VERSION>.jar from the Releases page.
  • or Build the jar

Then:

  1. Open Cytoscape Desktop.
  2. Navigate to Apps > App Manager > Install from File.
  3. 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 /mcp command 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
    curl http://localhost:{rest.port}/mcp/health
    
    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}/mcp to 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:

git clone https://github.com/cytoscape/cytoscape-desktop-mcp
cd cytoscape-desktop-mcp
make install

The JAR is produced at build/libs/cytoscape-mcp-<VERSION>.jar.

For a full list of build targets:

make help

Release tags

Two components ship from this repo on separate tag namespaces:

Component Tag Produces
Cytoscape App (the MCP server) vX.Y.Z cytoscape-mcp-<VERSION>.jar, plus a convenience copy of the .mcpb
MCPB bridge (claude-extension/) mcpb-vX.Y.Z cytoscape-mcp.mcpb, and publishes to npm and the MCP Registry

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/manifest endpoint which can be retrieved by browser or command line
curl http://localhost:{rest.port}/mcp/manifest
  • After any build locally, make build will generate the MCP manifest based on current code into a static file at build/generated/manifest/MCPManifest.md for 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:
     > open a network using cytoscape desktop
    

Cytoscape Desktop MCP Configuration properties

Properties are editable at runtime via Edit > Preferences > Properties > cytoscapemcp:

Property Default Description
mcp.ndexbaseurl https://www.ndexbio.org NDEx base URL (takes effect immediately)

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

Click here

Acknowledgements

  • TODO: denote funding sources

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选