# ictpbx-mcp

Bridges your ICTPBX phone system into an AI assistant. Extensions, inbound numbers, carriers, tenants and live counters come back as plain answers.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 16
- Author: ictinnovations
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/ictinnovations/ictpbx-mcp
- Updated: 2026-09-07
- HTML: https://affpapa.org/en/nevibecode/mcp/ictpbx-mcp

## What it does

The server talks to the ICTCore REST API underneath ICTPBX. On the first request it authenticates over email and password, takes the JWT from `POST /authenticate`, then keeps it fresh on its own. Five tools cover the usual questions: how many extensions, devices, ring groups, queues, IVRs, voicemails, conferences and gateways exist; which extensions are configured; which DID numbers are active; which upstream SIP carriers are set; which customer organizations live on the box.

Node.js 18 or newer is the baseline. You supply the REST base address (usually ending in `/api`), the account email and its password. Requests time out after 30000 ms unless you change `ICTPBX_TIMEOUT_MS`. There is also `ICTPBX_TLS_INSECURE` for skipping certificate checks — point it at a self-signed test install, never at a production PBX, because it switches off the check that the server is who it claims.

Everything is read-only by design. The tool set has no write path, so an agent cannot alter a trunk or dial out. Setup is a single npx launch with the credentials passed through the environment.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `ICTPBX_BASE_URL`, `ICTPBX_USERNAME`, `ICTPBX_PASSWORD`, `ICTPBX_TIMEOUT_MS`, `ICTPBX_TLS_INSECURE` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add --env ICTPBX_BASE_URL=<ICTPBX_BASE_URL> --env ICTPBX_USERNAME=<ICTPBX_USERNAME> --env ICTPBX_PASSWORD=<ICTPBX_PASSWORD> --env ICTPBX_TIMEOUT_MS=<ICTPBX_TIMEOUT_MS> --env ICTPBX_TLS_INSECURE=<ICTPBX_TLS_INSECURE> --transport stdio ictpbx-mcp -- npx -y ictpbx-mcp
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add ictpbx-mcp --env ICTPBX_BASE_URL=<ICTPBX_BASE_URL> --env ICTPBX_USERNAME=<ICTPBX_USERNAME> --env ICTPBX_PASSWORD=<ICTPBX_PASSWORD> --env ICTPBX_TIMEOUT_MS=<ICTPBX_TIMEOUT_MS> --env ICTPBX_TLS_INSECURE=<ICTPBX_TLS_INSECURE> -- npx -y ictpbx-mcp
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "ictpbx-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "ictpbx-mcp"
            ],
            "env": {
                "ICTPBX_BASE_URL": "<ICTPBX_BASE_URL>",
                "ICTPBX_USERNAME": "<ICTPBX_USERNAME>",
                "ICTPBX_PASSWORD": "<ICTPBX_PASSWORD>",
                "ICTPBX_TIMEOUT_MS": "<ICTPBX_TIMEOUT_MS>",
                "ICTPBX_TLS_INSECURE": "<ICTPBX_TLS_INSECURE>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "ictpbx-mcp": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "ictpbx-mcp"
            ],
            "env": {
                "ICTPBX_BASE_URL": "<ICTPBX_BASE_URL>",
                "ICTPBX_USERNAME": "<ICTPBX_USERNAME>",
                "ICTPBX_PASSWORD": "<ICTPBX_PASSWORD>",
                "ICTPBX_TIMEOUT_MS": "<ICTPBX_TIMEOUT_MS>",
                "ICTPBX_TLS_INSECURE": "<ICTPBX_TLS_INSECURE>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e ICTPBX_BASE_URL=<ICTPBX_BASE_URL> -e ICTPBX_USERNAME=<ICTPBX_USERNAME> -e ICTPBX_PASSWORD=<ICTPBX_PASSWORD> -e ICTPBX_TIMEOUT_MS=<ICTPBX_TIMEOUT_MS> -e ICTPBX_TLS_INSECURE=<ICTPBX_TLS_INSECURE> ictpbx-mcp npx -y ictpbx-mcp
```
Replace <…> with your own values

## When to use it
- count extensions and devices on the PBX
- list inbound DID numbers with active state
- see which SIP carriers the PBX uses
- pull the tenants registered on the system
- check queue and IVR totals in chat

## Example prompts
- Give me the PBX statistics: extensions, ring groups and conferences.
- List every DID number with its tenant and whether it is active.
- Which SIP trunk providers are configured on our ICTPBX?

## Similar
- [MCP Toolbox for Databases](https://affpapa.org/en/nevibecode/mcp/googleapis-mcp-toolbox-for-databases.md) — MCP server · ★ 16717
- [PostHog MCP Server](https://affpapa.org/en/nevibecode/mcp/posthog-mcp-server.md) — MCP server · ★ 40409
- [OpenWork MCP Gateway](https://affpapa.org/en/nevibecode/mcp/openwork-mcp-gateway.md) — MCP server · ★ 24242
- [Keploy](https://affpapa.org/en/nevibecode/mcp/keploy.md) — MCP server · ★ 18727
- [Nhost](https://affpapa.org/en/nevibecode/mcp/nhost.md) — MCP server · ★ 9366
- [basebalance.cloud — x402 RPC & MCP gateway](https://affpapa.org/en/nevibecode/mcp/basebalancecloud-x402-rpc-mcp-gateway.md) — MCP server · ★ 7506

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
