Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
제작자가 쓴 설명(영어 원문)
Inspect and control Asterisk (AMI) and FreeSWITCH (ESL) PBX servers from your AI assistant.
이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.
이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
ASTERISK_AMI_HOST, ASTERISK_AMI_PORT, ASTERISK_AMI_USERNAME, ASTERISK_AMI_PASSWORD, ASTERISK_AMI_TLS, FREESWITCH_ESL_HOST, FREESWITCH_ESL_PORT, FREESWITCH_ESL_PASSWORD, PBX_MCP_ALLOW_WRITE, PBX_MCP_TIMEOUT_MS비밀로 표시된 값은 내 계정의 열쇠예요. 절대 다른 사람과 공유하거나 채팅에 붙여 넣지 마세요.
필요한 것
어떤 앱을 쓰세요?
위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.
Claude Desktop → Settings → Developer → Edit Config를 열고 claude_desktop_config.json에 이 내용을 붙여 넣으세요
{
"mcpServers": {
"pbx": {
"command": "npx",
"args": [
"-y",
"pbx-mcp"
],
"env": {
"ASTERISK_AMI_HOST": "your-value",
"ASTERISK_AMI_PORT": "your-value",
"ASTERISK_AMI_USERNAME": "your-value",
"ASTERISK_AMI_PASSWORD": "your-value",
"ASTERISK_AMI_TLS": "your-value",
"FREESWITCH_ESL_HOST": "your-value",
"FREESWITCH_ESL_PORT": "your-value",
"FREESWITCH_ESL_PASSWORD": "your-value",
"PBX_MCP_ALLOW_WRITE": "your-value",
"PBX_MCP_TIMEOUT_MS": "your-value"
}
}
}
}터미널에서 이 명령어를 실행하세요
claude mcp add pbx --env ASTERISK_AMI_HOST=your-value --env ASTERISK_AMI_PORT=your-value --env ASTERISK_AMI_USERNAME=your-value --env ASTERISK_AMI_PASSWORD=your-value --env ASTERISK_AMI_TLS=your-value --env FREESWITCH_ESL_HOST=your-value --env FREESWITCH_ESL_PORT=your-value --env FREESWITCH_ESL_PASSWORD=your-value --env PBX_MCP_ALLOW_WRITE=your-value --env PBX_MCP_TIMEOUT_MS=your-value -- npx -y pbx-mcp실행하기 전에 빈 값을 채워 주세요.
프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요
{
"mcpServers": {
"pbx": {
"command": "npx",
"args": [
"-y",
"pbx-mcp"
],
"env": {
"ASTERISK_AMI_HOST": "your-value",
"ASTERISK_AMI_PORT": "your-value",
"ASTERISK_AMI_USERNAME": "your-value",
"ASTERISK_AMI_PASSWORD": "your-value",
"ASTERISK_AMI_TLS": "your-value",
"FREESWITCH_ESL_HOST": "your-value",
"FREESWITCH_ESL_PORT": "your-value",
"FREESWITCH_ESL_PASSWORD": "your-value",
"PBX_MCP_ALLOW_WRITE": "your-value",
"PBX_MCP_TIMEOUT_MS": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
프로젝트의 .vscode/mcp.json에 붙여 넣으세요
{
"servers": {
"pbx": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"pbx-mcp"
],
"env": {
"ASTERISK_AMI_HOST": "your-value",
"ASTERISK_AMI_PORT": "your-value",
"ASTERISK_AMI_USERNAME": "your-value",
"ASTERISK_AMI_PASSWORD": "your-value",
"ASTERISK_AMI_TLS": "your-value",
"FREESWITCH_ESL_HOST": "your-value",
"FREESWITCH_ESL_PORT": "your-value",
"FREESWITCH_ESL_PASSWORD": "your-value",
"PBX_MCP_ALLOW_WRITE": "your-value",
"PBX_MCP_TIMEOUT_MS": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
이 서버는 내 컴퓨터에서 실행되는데, ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요. 다른 앱을 고르세요.
선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.
ASTERISK_AMI_HOST envASTERISK_AMI_PORT envASTERISK_AMI_USERNAME envASTERISK_AMI_TLS envFREESWITCH_ESL_HOST envFREESWITCH_ESL_PORT envPBX_MCP_ALLOW_WRITE envPBX_MCP_TIMEOUT_MS env이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 7일 점검
레지스트리 이름이 GitHub 계정 ictinnovations 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요
내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요
내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
해당하는 기본 점검 1개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
입력해야 할 값: ASTERISK_AMI_PASSWORD, FREESWITCH_ESL_PASSWORD
내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).
GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(0.1.4)은 12일 전 레지스트리에 올라왔어요.
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Node.js도 있어야 해요.
같은 카테고리에는: Spec Driven Development, Remote Desktop Commander, 好縮 Short
같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.
카드 보는 법:★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Smart URL shortener: create, tag and track short links on s.gooo.name.
제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
An MCP server that lets an AI assistant inspect and control Asterisk and FreeSWITCH.
Ask "which extensions are offline right now?" or "why is my SIP trunk not registering?" and get a real answer from the live switch, not a guess.
Developed by Tahir Almas at ICT Innovations, the team behind ICTCore, ICTContact, ICTDialer, ICTFax and ICTPBX. The AMI and ESL clients in this repo are the same protocol groundwork those products run on.
Debugging a PBX means memorising two very different command sets. Asterisk speaks AMI and a CLI with hundreds of verbs. FreeSWITCH speaks ESL with its own vocabulary. If you run both, you're context switching all day.
pbx-mcp puts a single, well described tool surface in front of both, so your assistant can go from "calls are failing" to sofia status gateway without you spelling out each step.
New here? The user guide walks through PBX setup, client config, worked examples and troubleshooting. This README is the quick reference.
Twelve read-only tools, six per engine, each one described well enough that the model picks the right one without being told. This is the server running under the MCP Inspector:
The four write tools, asterisk_originate, asterisk_hangup, freeswitch_originate and freeswitch_hangup, stay hidden until you set PBX_MCP_ALLOW_WRITE=true.
npm install -g pbx-mcp
Or run it straight from npx, which is what most MCP client configs do:
npx -y pbx-mcp
You need Node 18 or newer.
There's a prebuilt image if you'd rather not put Node on the machine that talks to your PBX.
docker run -i --rm \
-e ASTERISK_AMI_HOST=10.0.0.10 \ -e ASTERISK_AMI_USERNAME=mcp \ -e ASTERISK_AMI_PASSWORD=change-me \ ghcr.io/ictinnovations/pbx-mcp
The same image is on Docker Hub as ictinnovations/pbx-mcp if that registry is an easier pull for you.
Three things to know:
-i is not optional. The server speaks MCP over stdio, so without stdin attached the container starts and then sits there saying nothing, which looks exactly like a broken server.host.docker.internal on Mac and Windows, or add --network host on Linux.The image runs as a non-root user and, like every other way of running this, starts read only.
Everything comes from environment variables. Set the Asterisk block, the FreeSWITCH block, or both. The server only registers tools for what you've actually configured, so an Asterisk-only shop never sees a FreeSWITCH tool.
| Variable | Default | Notes |
|---|---|---|
ASTERISK_AMI_HOST | *(required to enable)* | Hostname or IP of the Asterisk box |
ASTERISK_AMI_PORT | 5038 | AMI port from manager.conf |
ASTERISK_AMI_USERNAME | AMI user | |
ASTERISK_AMI_PASSWORD | AMI secret | |
ASTERISK_AMI_TLS | false | Set true if tlsenable=yes |
Your manager.conf user needs at least read = system,call,command and write = command. Add originate only if you plan to turn on write mode.
[mcp]
secret = change-me read = system,call,command write = command
| Variable | Default | Notes |
|---|---|---|
FREESWITCH_ESL_HOST | *(required to enable)* | Hostname or IP of the switch |
FREESWITCH_ESL_PORT | 8021 | Inbound ESL port |
FREESWITCH_ESL_PASSWORD | ClueCon | From event_socket.conf.xml |
| Variable | Default | Notes |
|---|---|---|
PBX_MCP_ALLOW_WRITE | false | Unlocks call control. Read the safety section first |
PBX_MCP_TIMEOUT_MS | 10000 | Per command timeout |
| Variable | Default | Notes |
|---|---|---|
PBX_MCP_ALLOW_PROVISION | false | Registers the six trunk and extension tools. Independent of PBX_MCP_ALLOW_WRITE |
PBX_MCP_TRUNK_ALLOW | *(unset)* | Comma-separated IPv4 CIDRs and hostnames a trunk may point at. Unset means `asterisk_trunk_create` is refused |
PBX_MCP_CONTEXT_ALLOW | *(unset)* | Comma-separated dialplan contexts new objects may use. Unset means every create is refused |
PBX_MCP_PJSIP_FILE | pjsip_mcp.conf | The one include file provisioning writes to. A bare pjsip_*.conf name (never pjsip.conf, manager.conf or any other file) |
Add this to claude_desktop_config.json:
{
"mcpServers": { "pbx": { "command": "npx", "args": ["-y", "pbx-mcp"], "env": { "ASTERISK_AMI_HOST": "10.0.0.10", "ASTERISK_AMI_USERNAME": "mcp", "ASTERISK_AMI_PASSWORD": "change-me", "FREESWITCH_ESL_HOST": "10.0.0.11", "FREESWITCH_ESL_PASSWORD": "ClueCon" } } } }
The same shape works for any MCP client that speaks stdio. There's a copy in examples/claude_desktop_config.json.
To run the container instead of npx, keep the env block and point command at Docker:
{
"mcpServers": { "pbx": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "ASTERISK_AMI_HOST", "-e", "ASTERISK_AMI_USERNAME", "-e", "ASTERISK_AMI_PASSWORD", "ghcr.io/ictinnovations/pbx-mcp" ], "env": { "ASTERISK_AMI_HOST": "10.0.0.10", "ASTERISK_AMI_USERNAME": "mcp", "ASTERISK_AMI_PASSWORD": "change-me" } } } }
Each -e NAME with no value forwards that variable from env into the container, which keeps the secrets out of the argument list.
| Tool | What it does |
|---|---|
asterisk_status | Version, uptime, active calls and calls processed |
asterisk_channels | Every live channel with caller ID, state, bridge, duration and dialplan position. Optional substring filter |
asterisk_endpoints | PJSIP endpoints with device state and contact count. Falls back to chan_sip peers on older installs |
asterisk_dialplan | Dumps a context, or one extension inside a context |
asterisk_cli | Any CLI command, subject to the safety policy below |
asterisk_hangup_preview | Shows which live channels a hangup would drop, without dropping them |
asterisk_originate | Places a call. Write mode only |
asterisk_hangup | Kills a channel by name. Write mode only |
| Tool | What it does |
|---|---|
freeswitch_status | Version, uptime, current and maximum sessions |
freeswitch_channels | Every live call leg from show channels. Optional substring filter that keeps the header row |
freeswitch_registrations | Registered users on a Sofia profile, with contact URI, user agent and expiry |
freeswitch_sofia_status | Every SIP profile and gateway, including whether trunks are registered upstream |
freeswitch_api | Any API command, subject to the safety policy below |
freeswitch_hangup_preview | Shows which live legs a hangup would drop, without dropping them |
freeswitch_originate | Places a call. Write mode only |
freeswitch_hangup | uuid_kill on a channel UUID. Write mode only |
A PBX is not a scratch pad. Reloading a profile drops registrations, and an originate spends real money on a live trunk. So the default posture is read-only and the guards are layered:
Read-only by default. asterisk_cli accepts an allow list of inspection prefixes (core show, pjsip show, dialplan show, queue show and friends). freeswitch_api accepts the same kind of list (status, show, sofia status, db list and friends), matched on the start of the command so the subcommand counts.
The FreeSWITCH list allows subcommands, it does not deny scary words. sofia status reads, sofia profile internal restart isn't on the list, so it's refused. This used to work the other way around, scanning each word against a list of state changing verbs, and that only ever catches the words somebody thought of. conference 3001 kick all walked straight through it. Reported by Electrical-Place-458 on r/mcp.
Write tools aren't registered at all in read-only mode. asterisk_originate and the other three never appear in tools/list unless you set PBX_MCP_ALLOW_WRITE=true. A model can't call a tool it can't see.
The hangup preview tools are always available. asterisk_hangup_preview and freeswitch_hangup_preview show which live channels a hangup would drop without touching them, so you can see the blast radius before setting the write flag, or catch a typo in a channel name before running the real thing. They're read-only by contract but exercise the same matching the write path uses.
Shell metacharacters are rejected on both transports before a command is sent.
AMI header injection is blocked. Every field that lands in an AMI action is checked for carriage returns and newlines, so a caller ID string can't smuggle in an extra header.
Output is clamped to 20,000 characters. One show channels on a busy switch won't flood the context window.
Even with all that, give the AMI user the narrowest permission set that answers your questions, and put the PBX behind a firewall rather than on the public internet.
Six more tools create, list and delete PJSIP trunks and SIP extensions through AMI UpdateConfig. They are registered only when PBX_MCP_ALLOW_PROVISION=true, and they are separate from write mode: enabling one does not enable the other.
| Tool | What it does |
|---|---|
asterisk_trunk_create | IP-authenticated trunk: endpoint, aor and identify. Fields: name, host, port (5060), transport (udp, tcp, tls), codecs, context, dry_run |
asterisk_trunk_list / asterisk_trunk_delete | List or remove trunks this server created |
asterisk_extension_create | A SIP endpoint phones register to (endpoint, aor, auth), not a dialplan extension. Fields: number, context, codecs, dry_run. The generated password is returned once |
asterisk_extension_list / asterisk_extension_delete | List or remove extensions this server created. Passwords are never listed |
Codecs are ulaw, alaw, g722, g729, opus. Names and numbers match ^[A-Za-z0-9_-]{1,32}$.
pjsip.conf (a missing include is an error), and let Asterisk write to it: touch /etc/asterisk/pjsip_mcp.conf
pjsip.conf. Nothing else in pjsip.conf is ever touched: #include pjsip_mcp.conf
config is for UpdateConfig/GetConfig, command for the reload and verify steps, originate only if you also use write mode: [mcp]
secret = change-me deny = 0.0.0.0/0.0.0.0 permit = 192.0.2.0/24 read = system,call,command write = command,originate,config
transport-udp, transport-tcp or transport-tls; define the ones you will use in pjsip.conf.앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요