home / mcp / string mcp server
A 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.
Configuration
View docs{
"mcpServers": {
"augmented-nature-string-db-mcp-server": {
"command": "node",
"args": [
"/path/to/string-server/build/index.js"
]
}
}
}You can run a dedicated MCP server to access the STRING protein interaction database, enabling direct protein interaction queries, network analysis, functional enrichment, and cross-species comparisons within your workflow. This MCP server exposes a set of tools that connect to the STRING API and lets you build and analyze protein networks directly from your environment.
Once you have the MCP server running, you can connect to it from your MCP client and invoke tools to fetch interactions, build networks, perform enrichment analyses, and locate homologs. Use the available tools by referencing their names (below) in your client calls, and treat the server as a standard MCP endpoint that returns structured results for each operation.
# Install dependencies
npm install
# Build the server
npm run build
# Run in development mode
npm run devAfter the server is running, you can add it to your client configuration to enable local execution. The following config integrates the STRING MCP server as a local process that your client can start and manage.
{
"mcpServers": {
"string_mcp": {
"command": "node",
"args": ["/path/to/string-server/build/index.js"]
}
}
}Prerequisites include having Node.js and npm available on your system. Use the npm-driven workflow to install, build, and run the server in development mode, then connect your MCP client using the provided configuration snippet.
Fetch direct interaction partners for a given protein, including confidence scores and evidence types.
Build and analyze protein interaction networks for a set of proteins, enabling network-level insights.
Run functional enrichment analyses using GO terms, KEGG pathways, and other annotations for a protein set.
Retrieve detailed protein annotations and functional information for specified proteins.
Identify homologous proteins across species to support comparative analyses.
Search for proteins by name or identifier across multiple species.