graphql

Pack: stratz · Endpoint: https://gateway.pipeworx.io/stratz/mcp

Send an arbitrary GraphQL query (with optional variables) directly to the STRATZ API at api.stratz.com/graphql. Use when no named tool covers the data you need. Requires a STRATZ Bearer token.

Parameters

NameTypeRequiredDescription
querystringyes
variablesobjectno

Example call

Arguments

{
  "query": "query { heroStats(heroId: 1) { matchCount winCount } }"
}

curl

curl -X POST https://gateway.pipeworx.io/stratz/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"graphql","arguments":{"query":"query { heroStats(heroId: 1) { matchCount winCount } }"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('graphql', {
  "query": "query { heroStats(heroId: 1) { matchCount winCount } }"
});

More examples

{
  "query": "query GetPlayer($accountId: Long!) { player(steamAccountId: $accountId) { steamName totalMatchCount winCount } }",
  "variables": {
    "accountId": 123456789
  }
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "stratz": {
      "url": "https://gateway.pipeworx.io/stratz/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build August 28, 2026