string-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@string-mcpfind interactions for human TP53"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
STRING MCP Server
Exposes STRING database functionality as a Model Context Protocol (MCP) server.
This implementation allows AI agents and other MCP-compatible clients to access STRING data through a structured and self-describing interface.
It is built on top of the STRING API but adapted specifically for model-based use, with emphasis on conciseness and context efficiency. The server controls the amount and type of data so that responses stay within the reasoning limits of large language models. It also adapts the structure and adds metadata to support more consistent parsing and interpretation by agentic systems.
The server is also available as a hosted remote MCP endpoint at https://mcp.string-db.org.
For a live demonstration of MCP capabilities, see STRING Chat.
For reproducible workflows and large-scale integration, use the STRING API.
For agentic workflows, use the optional agent skill at skills/string-database/SKILL.md.
Features
Resolve protein identifiers to STRING metadata
Retrieve interaction networks
Cluster and visualize interaction networks
Perform homology lookups across species
Access evidence links for protein–protein interactions
Run functional enrichment analysis (including enrichment plots)
Get curated functional annotations for proteins
Query proteins by function or disease (GO, KEGG, Reactome, DISEASES etc.)
Related MCP server: STRING-MCP
Requirements
Python ≥ 3.10
Dependencies (see
requirements.txt):fastmcp==2.10.6httpx==0.28.1pydantic==2.11.7
Note: If the server crashes on startup, it is very likely due to an incompatible FastMCP version.
Configuration
The server reads settings from config/server.config (JSON). Example:
{
"base_url": "https://string-db.org",
"server_port": 57416,
"verbosity": "low"
}Installation
git clone https://github.com/meringlab/string-mcp.git
cd string-mcp
pip install -r requirements.txtRunning
python server.pyTesting
curl -v -H "Accept: text/event-stream" http://localhost:[port]/mcpYou should see a 200 OK response with content-type: text/event-stream.
Note: HTTP requests sent with default headers will trigger anyio.ClosedResourceError and 406 Not Acceptable. This is expected behavior for the MCP streaming protocol and does not indicate a problem.
Docker
Ensure you have a
config/server.configfile (copy fromconfig/server.config.exampleif needed):cp config/server.config.example config/server.configBuild the image:
docker build -t string-mcp .Run the container:
Linux/macOS:
docker run -p 57416:57416 -v $(pwd)/config:/app/config:ro string-mcpWindows PowerShell:
docker run -p 57416:57416 -v ${PWD}/config:/app/config:ro string-mcpWindows Command Prompt:
docker run -p 57416:57416 -v %cd%/config:/app/config:ro string-mcpTo run in detached mode:
# Linux/macOS docker run -d -p 57416:57416 -v $(pwd)/config:/app/config:ro --name string-mcp-server string-mcp # Windows PowerShell docker run -d -p 57416:57416 -v ${PWD}/config:/app/config:ro --name string-mcp-server string-mcpThe
-vflag mounts your local config directory so you can customize settings without rebuilding the image.Note: If you don't need to modify the config, you can omit the volume mount and the container will use the default config from the image.
Stop the container (if running in detached mode):
docker stop string-mcp-server docker rm string-mcp-server
Note: The Docker container will use the configuration from config/server.config. If this file doesn't exist, the container will copy from server.config.example on first run.
STRING v12.0 is the frozen network release, available under the /v12.0/ path.
License / Citation
The STRING MCP server source code is released under the MIT License.
Associated data and outputs are released under the CC BY 4.0 License.
You are free to use, share, and modify the code with proper attribution.
If you use this code or data in your work, please also cite the latest STRING manuscript.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseBqualityDmaintenanceA comprehensive Model Context Protocol (MCP) server for accessing the STRING protein interaction database. This server provides powerful tools for protein network analysis, functional enrichment, and comparative genomics through the STRING API.Last updated64
- AlicenseBqualityDmaintenanceA Model Context Protocol server that provides tools for interacting with the STRING database to analyze protein-protein interaction networks and functional enrichment. It enables users to map protein identifiers, retrieve interaction data, and generate biological network visualizations through natural language interfaces.Last updated113BSD 3-Clause
- Alicense-qualityDmaintenanceA unified MCP server for biomedical research that connects AI systems to resources like Ensembl, EuropePMC, STRING, and more, enabling retrieval of verified domain-specific information.Last updatedApache 2.0
- AlicenseAqualityAmaintenanceAn MCP server that gives AI assistants access to biological and biomedical RDF databases via SPARQL at the RDF Portal, as well as selected REST APIs (NCBI E-utilities, UniProt, ChEMBL, PDB, Reactome, Rhea, MeSH, and more).Last updated2911MIT
Related MCP Connectors
STRING protein-protein interaction networks across ~12k organisms
MCP server connecting AI agents to non-custodial staking data across 130+ networks.
MCP server for AI access to SmartBear tools, including BugSnag, Reflect, Swagger, PactFlow, QTM4J.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/meringlab/string-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server