STRING Database MCP Server

Registre officiel Données et bases de données

Query STRING interactions, enrichment, annotations, homology, and PPI networks.

Que pouvez-vous faire avec STRING Database MCP Server ?

  • 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.)

Installation

Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).

Remote (streamable-http)
Claude Code
claude mcp add --transport http string-database-mcp-server 'https://mcp.string-db.org/'
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "string-database-mcp-server": {
            "type": "http",
            "url": "https://mcp.string-db.org/"
        }
    }
}

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. Official STRING Database MCP Server
  2. Features
  3. Requirements
  4. Configuration
  5. Installation
  6. Running
  7. Testing
  8. Docker
  9. License / Citation

Official STRING Database 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.)

Requirements

  • Python ≥ 3.11 (with Python 3.10, optional parameter descriptions are misplaced in the tool schemas)
  • Dependencies (see requirements.txt):
    • fastmcp==2.14.7
    • mcp==1.29.0
    • httpx>=0.28,<0.29
    • pydantic>=2.11,<3.0

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

To serve over standard input/output instead of HTTP, for example when a local MCP client starts the server itself:

python server.py --stdio

The stdio mode also reads config/server.config for the STRING API endpoint.

Testing

   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

  1. Ensure you have a config/server.config file (copy from config/server.config.example if needed):
     cp config/server.config.example config/server.config
  2. Build the image:
     docker build -t string-mcp .
  3. Run the container:

    Linux/macOS:

     docker run -p 57416:57416 -v $(pwd)/config:/app/config:ro string-mcp

    Windows PowerShell:

     docker run -p 57416:57416 -v ${PWD}/config:/app/config:ro string-mcp

    Windows Command Prompt:

     docker run -p 57416:57416 -v %cd%/config:/app/config:ro string-mcp

    To 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-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.

  4. 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.

Frozen STRING releases are available under versioned paths: /12.0/ (STRING v12.0) and /12.5/ (STRING v12.5).

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.

Questions fréquentes

Qu'est-ce que STRING Database MCP Server ?

Query STRING interactions, enrichment, annotations, homology, and PPI networks.

Comment installer STRING Database MCP Server ?

Il fonctionne comme serveur distant. Dans Claude Code : claude mcp add --transport http string-database-mcp-server 'https://mcp.string-db.org/'. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.

Faut-il une clé API pour STRING Database MCP Server ?

Son entrée au registre n'indique aucune clé ni secret obligatoire. Certaines fonctions peuvent tout de même demander un compte auprès du service auquel il se connecte.

STRING Database MCP Server est-il open source ?

Oui. Son code est sur GitHub sous licence MIT.

Qui maintient STRING Database MCP Server ?

Il est publié par meringlab. AI.tn le référence sans le maintenir ni le recommander.

Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.