K

Kpn MCP

by WYRE-AI · io.github.WYRE-AI/kpn-mcp

Enables MSP helpdesks to perform KPN network outage and speed checks, address availability, SIM-swap fraud checks, and business mobile management.

oci Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-wyre-ai-kpn-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "-e",
        "KPN_GREXX_USERNAME=<YOUR_VALUE>",
        "-e",
        "KPN_GREXX_PASSWORD=<YOUR_VALUE>",
        "-e",
        "KPN_GREXX_BASE_URL=<YOUR_VALUE>",
        "-e",
        "KPN_GREXX_TOKEN_URL=<YOUR_VALUE>",
        "-e",
        "KPN_LEGACY_DEVELOPER_API=<YOUR_VALUE>",
        "-e",
        "KPN_CLIENT_ID=<YOUR_VALUE>",
        "-e",
        "KPN_CLIENT_SECRET=<YOUR_VALUE>",
        "-e",
        "KPN_MSM_CLIENT_ID=<YOUR_VALUE>",
        "-e",
        "KPN_MSM_CLIENT_SECRET=<YOUR_VALUE>",
        "-e",
        "KPN_BASE_URL=<YOUR_VALUE>",
        "-e",
        "MCP_TRANSPORT=<YOUR_VALUE>",
        "-e",
        "AUTH_MODE=<YOUR_VALUE>",
        "-e",
        "LOG_LEVEL=<YOUR_VALUE>",
        "-e",
        "CONDUIT_S2S_SECRET=<YOUR_VALUE>",
        "ghcr.io/wyre-ai/kpn-mcp:v2.3.2"
      ]
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-wyre-ai-kpn-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "-e",
        "KPN_GREXX_USERNAME=<YOUR_VALUE>",
        "-e",
        "KPN_GREXX_PASSWORD=<YOUR_VALUE>",
        "-e",
        "KPN_GREXX_BASE_URL=<YOUR_VALUE>",
        "-e",
        "KPN_GREXX_TOKEN_URL=<YOUR_VALUE>",
        "-e",
        "KPN_LEGACY_DEVELOPER_API=<YOUR_VALUE>",
        "-e",
        "KPN_CLIENT_ID=<YOUR_VALUE>",
        "-e",
        "KPN_CLIENT_SECRET=<YOUR_VALUE>",
        "-e",
        "KPN_MSM_CLIENT_ID=<YOUR_VALUE>",
        "-e",
        "KPN_MSM_CLIENT_SECRET=<YOUR_VALUE>",
        "-e",
        "KPN_BASE_URL=<YOUR_VALUE>",
        "-e",
        "MCP_TRANSPORT=<YOUR_VALUE>",
        "-e",
        "AUTH_MODE=<YOUR_VALUE>",
        "-e",
        "LOG_LEVEL=<YOUR_VALUE>",
        "-e",
        "CONDUIT_S2S_SECRET=<YOUR_VALUE>",
        "ghcr.io/wyre-ai/kpn-mcp:v2.3.2"
      ]
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-wyre-ai-kpn-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "-e",
        "KPN_GREXX_USERNAME=<YOUR_VALUE>",
        "-e",
        "KPN_GREXX_PASSWORD=<YOUR_VALUE>",
        "-e",
        "KPN_GREXX_BASE_URL=<YOUR_VALUE>",
        "-e",
        "KPN_GREXX_TOKEN_URL=<YOUR_VALUE>",
        "-e",
        "KPN_LEGACY_DEVELOPER_API=<YOUR_VALUE>",
        "-e",
        "KPN_CLIENT_ID=<YOUR_VALUE>",
        "-e",
        "KPN_CLIENT_SECRET=<YOUR_VALUE>",
        "-e",
        "KPN_MSM_CLIENT_ID=<YOUR_VALUE>",
        "-e",
        "KPN_MSM_CLIENT_SECRET=<YOUR_VALUE>",
        "-e",
        "KPN_BASE_URL=<YOUR_VALUE>",
        "-e",
        "MCP_TRANSPORT=<YOUR_VALUE>",
        "-e",
        "AUTH_MODE=<YOUR_VALUE>",
        "-e",
        "LOG_LEVEL=<YOUR_VALUE>",
        "-e",
        "CONDUIT_S2S_SECRET=<YOUR_VALUE>",
        "ghcr.io/wyre-ai/kpn-mcp:v2.3.2"
      ]
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-wyre-ai-kpn-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "-e",
        "KPN_GREXX_USERNAME=<YOUR_VALUE>",
        "-e",
        "KPN_GREXX_PASSWORD=<YOUR_VALUE>",
        "-e",
        "KPN_GREXX_BASE_URL=<YOUR_VALUE>",
        "-e",
        "KPN_GREXX_TOKEN_URL=<YOUR_VALUE>",
        "-e",
        "KPN_LEGACY_DEVELOPER_API=<YOUR_VALUE>",
        "-e",
        "KPN_CLIENT_ID=<YOUR_VALUE>",
        "-e",
        "KPN_CLIENT_SECRET=<YOUR_VALUE>",
        "-e",
        "KPN_MSM_CLIENT_ID=<YOUR_VALUE>",
        "-e",
        "KPN_MSM_CLIENT_SECRET=<YOUR_VALUE>",
        "-e",
        "KPN_BASE_URL=<YOUR_VALUE>",
        "-e",
        "MCP_TRANSPORT=<YOUR_VALUE>",
        "-e",
        "AUTH_MODE=<YOUR_VALUE>",
        "-e",
        "LOG_LEVEL=<YOUR_VALUE>",
        "-e",
        "CONDUIT_S2S_SECRET=<YOUR_VALUE>",
        "ghcr.io/wyre-ai/kpn-mcp:v2.3.2"
      ]
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-wyre-ai-kpn-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "-e",
        "KPN_GREXX_USERNAME=<YOUR_VALUE>",
        "-e",
        "KPN_GREXX_PASSWORD=<YOUR_VALUE>",
        "-e",
        "KPN_GREXX_BASE_URL=<YOUR_VALUE>",
        "-e",
        "KPN_GREXX_TOKEN_URL=<YOUR_VALUE>",
        "-e",
        "KPN_LEGACY_DEVELOPER_API=<YOUR_VALUE>",
        "-e",
        "KPN_CLIENT_ID=<YOUR_VALUE>",
        "-e",
        "KPN_CLIENT_SECRET=<YOUR_VALUE>",
        "-e",
        "KPN_MSM_CLIENT_ID=<YOUR_VALUE>",
        "-e",
        "KPN_MSM_CLIENT_SECRET=<YOUR_VALUE>",
        "-e",
        "KPN_BASE_URL=<YOUR_VALUE>",
        "-e",
        "MCP_TRANSPORT=<YOUR_VALUE>",
        "-e",
        "AUTH_MODE=<YOUR_VALUE>",
        "-e",
        "LOG_LEVEL=<YOUR_VALUE>",
        "-e",
        "CONDUIT_S2S_SECRET=<YOUR_VALUE>",
        "ghcr.io/wyre-ai/kpn-mcp:v2.3.2"
      ]
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-wyre-ai-kpn-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "-e",
        "KPN_GREXX_USERNAME=<YOUR_VALUE>",
        "-e",
        "KPN_GREXX_PASSWORD=<YOUR_VALUE>",
        "-e",
        "KPN_GREXX_BASE_URL=<YOUR_VALUE>",
        "-e",
        "KPN_GREXX_TOKEN_URL=<YOUR_VALUE>",
        "-e",
        "KPN_LEGACY_DEVELOPER_API=<YOUR_VALUE>",
        "-e",
        "KPN_CLIENT_ID=<YOUR_VALUE>",
        "-e",
        "KPN_CLIENT_SECRET=<YOUR_VALUE>",
        "-e",
        "KPN_MSM_CLIENT_ID=<YOUR_VALUE>",
        "-e",
        "KPN_MSM_CLIENT_SECRET=<YOUR_VALUE>",
        "-e",
        "KPN_BASE_URL=<YOUR_VALUE>",
        "-e",
        "MCP_TRANSPORT=<YOUR_VALUE>",
        "-e",
        "AUTH_MODE=<YOUR_VALUE>",
        "-e",
        "LOG_LEVEL=<YOUR_VALUE>",
        "-e",
        "CONDUIT_S2S_SECRET=<YOUR_VALUE>",
        "ghcr.io/wyre-ai/kpn-mcp:v2.3.2"
      ]
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
KPN_GREXX_USERNAME Yes Grexx API username. Passed to the SDK as the OAuth client_id (portal: API Gegevens). The SDK sends it with HTTP Basic on the token endpoint. This server does not mint the token.
KPN_GREXX_PASSWORD secret Yes Grexx API password. Passed to the SDK as the OAuth client_secret (scope=all). The SDK sends it with HTTP Basic on the token endpoint.
KPN_GREXX_BASE_URL Yes Grexx interface root, without /realtime. No default; acceptatie and production differ. In gateway mode a connection may override it with X-Grexx-Api-Url (together with X-Grexx-Token-Url, allowlisted Grexx hosts only).
KPN_GREXX_TOKEN_URL No OAuth token endpoint. Production differs from acceptatie. In gateway mode a connection may override it with X-Grexx-Token-Url (together with X-Grexx-Api-Url). Default: https://service-accept.grexx.today/oauth/access_token
KPN_LEGACY_DEVELOPER_API No Set to 1 to also register the developer.kpn.com tools (disturbances, availability, SIM swap, MSM). Default is Grexx only.
KPN_CLIENT_ID Yes KPN API client ID (required)
KPN_CLIENT_SECRET secret Yes KPN API client secret (required)
KPN_MSM_CLIENT_ID No Optional MSM client ID for business mobile APIs; falls back to the main client pair if not provided
KPN_MSM_CLIENT_SECRET secret No Optional MSM client secret; only used when KPN_MSM_CLIENT_ID is also provided
KPN_BASE_URL No Base URL for KPN API (default: https://api-prd.kpn.com) Default: https://api-prd.kpn.com
MCP_TRANSPORT No Transport mode. Set to 'stdio' for local CLI use; the image defaults to 'http' for gateway hosting. Default: stdio
AUTH_MODE No Credential source: 'env' reads KPN_GREXX_* locally, 'gateway' expects X-KPN-Grexx-Username and X-KPN-Grexx-Password, plus optional X-Grexx-Api-Url and X-Grexx-Token-Url per connection. Default: env
LOG_LEVEL No Log verbosity: debug, info, warn, error Default: info
CONDUIT_S2S_SECRET No Optional shared secret used to require a valid X-Gateway-S2S HMAC header on all requests except /health

Similar servers