network
Pack: string-db · Endpoint: https://gateway.pipeworx.io/string-db/mcp
Network image url + tabular interaction data.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
identifiers | array | yes | |
items | string | no | |
species | number | no | |
required_score | number | no | |
network_type | string | no |
Example call
Arguments
{
"identifiers": [
"9606.ENSP00000269305",
"9606.ENSP00000138641"
]
}
curl
curl -X POST https://gateway.pipeworx.io/string-db/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"network","arguments":{"identifiers":["9606.ENSP00000269305","9606.ENSP00000138641"]}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('network', {
"identifiers": [
"9606.ENSP00000269305",
"9606.ENSP00000138641"
]
});
More examples
{
"identifiers": [
"9606.ENSP00000269305"
],
"required_score": 600
}
Response shape
| Field | Type | Description |
|---|---|---|
imageUrl | string | URL to network visualization image |
interactions | array | Interaction data for network |
Full JSON Schema
{
"type": "object",
"properties": {
"imageUrl": {
"type": "string",
"description": "URL to network visualization image"
},
"interactions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"stringId_A": {
"type": "string",
"description": "First protein STRING ID"
},
"stringId_B": {
"type": "string",
"description": "Second protein STRING ID"
},
"preferredName_A": {
"type": "string",
"description": "First protein name"
},
"preferredName_B": {
"type": "string",
"description": "Second protein name"
},
"score": {
"type": "number",
"description": "Interaction confidence score"
},
"ncbiTaxonId": {
"type": "number",
"description": "NCBI taxonomy ID"
}
}
},
"description": "Interaction data for network"
}
}
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"string-db": {
"url": "https://gateway.pipeworx.io/string-db/mcp"
}
}
}
See Getting Started for client-specific install steps.