Install
$ agentstack add mcp-meringlab-string-mcp ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ● Network access Used
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
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 STRING workflows, use the optional Agent Skill at [skills/string-database/SKILL.md](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.)
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.txt
Running
python server.py
Testing
``bash curl -v -H "Accept: text/event-stream" http://localhost:[port]/mcp ``
You 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):
``bash cp config/server.config.example config/server.config ``
- Build the image:
``bash docker build -t string-mcp . ``
- Run the container:
Linux/macOS: ``bash docker run -p 57416:57416 -v $(pwd)/config:/app/config:ro string-mcp ``
Windows PowerShell: ``powershell docker run -p 57416:57416 -v ${PWD}/config:/app/config:ro string-mcp ``
Windows Command Prompt: ``cmd docker run -p 57416:57416 -v %cd%/config:/app/config:ro string-mcp ``
To run in detached mode: ```bash # 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-mcp ```
The -v flag 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):
``bash 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.
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.
Source & license
This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: meringlab
- Source: meringlab/string-mcp
- License: MIT
- Homepage: https://string-db.org
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.