interactions

Pack: string-db · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/interactions for the schema, then POST the same URL with its arguments for the data.

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 — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the string-db pack
{
  "mcpServers": {
    "string-db": {
      "url": "https://gateway.pipeworx.io/string-db/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 5, 2026