# STRING Database MCP server

> Enables AI agents to query protein interaction networks, functional enrichment, homology lookups, and curated protein annotations.

- Repository: https://github.com/meringlab/string-mcp
- Page: https://hostedmcp.org/servers/meringlab/string-mcp
- Transport: remote
- Stars: 8
- License: MIT
- Latest version: 1.13.1

## Install

### Claude Code

```sh
claude mcp add --transport http string-mcp https://mcp.string-db.org/
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "string-mcp": {
      "url": "https://mcp.string-db.org/"
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "string-mcp": {
      "type": "http",
      "url": "https://mcp.string-db.org/"
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"string-mcp","type":"http","url":"https://mcp.string-db.org/"}'
```

### Codex

```sh
codex mcp add string-mcp --url https://mcp.string-db.org/
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.string-mcp]
url = "https://mcp.string-db.org/"
```

### Gemini CLI

```sh
gemini mcp add -s user --transport http string-mcp https://mcp.string-db.org/
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "string-mcp": {
      "url": "https://mcp.string-db.org/",
      "type": "http"
    }
  }
}
```

## FAQ

### How do I run the server in stdio mode?

You can run the server using the command `python server.py --stdio` to serve over standard input/output for local MCP clients.

### What are the Python version requirements?

The server requires Python version 3.11 or higher; using 3.10 may result in misplaced parameter descriptions in tool schemas.
