interactions

Pack: string-db · Endpoint: https://gateway.pipeworx.io/string-db/mcp

Interaction partners for a set of proteins.

Parameters

NameTypeRequiredDescription
identifiersarrayyes
itemsstringno
speciesnumberno
required_scorenumberno0-1000 confidence score (default 400).
limitnumbernoMax partners per protein (default 10).
network_typestringnofunctional (default) | physical

Example call

Arguments

{
  "identifiers": [
    "9606.ENSP00000269305"
  ]
}

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":"interactions","arguments":{"identifiers":["9606.ENSP00000269305"]}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('interactions', {
  "identifiers": [
    "9606.ENSP00000269305"
  ]
});

More examples

{
  "identifiers": [
    "9606.ENSP00000269305",
    "9606.ENSP00000005339"
  ],
  "required_score": 700,
  "network_type": "physical"
}

Response shape

Always returns: items, count

FieldTypeDescription
itemsarray
countintegerNumber of items returned.
Full JSON Schema
{
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "stringId_A": {
            "type": "string",
            "description": "Query protein STRING ID"
          },
          "stringId_B": {
            "type": "string",
            "description": "Interaction partner STRING ID"
          },
          "preferredName_A": {
            "type": "string",
            "description": "Query protein name"
          },
          "preferredName_B": {
            "type": "string",
            "description": "Partner protein name"
          },
          "score": {
            "type": "number",
            "description": "Interaction confidence score (0-1000)"
          },
          "ncbiTaxonId": {
            "type": "number",
            "description": "NCBI taxonomy ID"
          }
        }
      }
    },
    "count": {
      "type": "integer",
      "description": "Number of items returned."
    }
  },
  "required": [
    "items",
    "count"
  ]
}

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.

Regenerated from source · build July 6, 2026