ictpbx-mcp

v0.1.1
io.github.ictinnovations/ictpbx-mcp Checked 4 days ago Published 1 month ago

Read ICTPBX state: extensions, DID numbers, SIP trunks, tenants and live PBX statistics.

Values you need

VariableWhat it is
ICTPBX_BASE_URLrequired ICTCore REST base URL of your ICTPBX server, normally ending in /api, e.g. https://your-ictpbx/api.
ICTPBX_USERNAMErequired API account email (ICTCore logs in by email).
ICTPBX_PASSWORDrequired secret Password for the account.
ICTPBX_TIMEOUT_MSoptional Per request timeout in milliseconds. Defaults to 30000. Default: 30000
ICTPBX_TLS_INSECUREoptional Skip TLS certificate verification. Only for a self-signed test server. Default: false

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add ictpbx-mcp -e 'ICTPBX_BASE_URL=<ICTPBX_BASE_URL>' -e 'ICTPBX_PASSWORD=<ICTPBX_PASSWORD>' -e 'ICTPBX_USERNAME=<ICTPBX_USERNAME>' -- npx -y ictpbx-mcp@0.1.1
Add to claude_desktop_config.json
{
  "mcpServers": {
    "ictpbx-mcp": {
      "args": [
        "-y",
        "ictpbx-mcp@0.1.1"
      ],
      "command": "npx",
      "env": {
        "ICTPBX_BASE_URL": "<ICTPBX_BASE_URL>",
        "ICTPBX_PASSWORD": "<ICTPBX_PASSWORD>",
        "ICTPBX_USERNAME": "<ICTPBX_USERNAME>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "ictpbx-mcp": {
      "args": [
        "-y",
        "ictpbx-mcp@0.1.1"
      ],
      "command": "npx",
      "env": {
        "ICTPBX_BASE_URL": "<ICTPBX_BASE_URL>",
        "ICTPBX_PASSWORD": "<ICTPBX_PASSWORD>",
        "ICTPBX_USERNAME": "<ICTPBX_USERNAME>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "ICTPBX_BASE_URL",
      "id": "ictpbx-base-url",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "ICTPBX_PASSWORD",
      "id": "ictpbx-password",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "ICTPBX_USERNAME",
      "id": "ictpbx-username",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "ictpbx-mcp": {
      "args": [
        "-y",
        "ictpbx-mcp@0.1.1"
      ],
      "command": "npx",
      "env": {
        "ICTPBX_BASE_URL": "${input:ictpbx-base-url}",
        "ICTPBX_PASSWORD": "${input:ictpbx-password}",
        "ICTPBX_USERNAME": "${input:ictpbx-username}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.ictpbx-mcp]
command = "npx"
args = ["-y", "ictpbx-mcp@0.1.1"]
env = { "ICTPBX_BASE_URL" = "<ICTPBX_BASE_URL>", "ICTPBX_PASSWORD" = "<ICTPBX_PASSWORD>", "ICTPBX_USERNAME" = "<ICTPBX_USERNAME>" }

For AI agents

  1. Ask the user for: ICTPBX_BASE_URL, ICTPBX_USERNAME, ICTPBX_PASSWORD. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: ictpbx_pbx_statistics, ictpbx_list_extensions, ictpbx_list_dids, ictpbx_list_providers, ictpbx_list_tenants.
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json