@dialgem/mcp
Official# @dialgem/mcp
[Model Context Protocol](https://modelcontextprotocol.io) server for [Dialgem](https://dialgem.com). It lets an AI
assistant (Claude Desktop, Claude Code, Cursor…) manage your voice agents, calls and phone numbers. Built on
[`@dialgem/sdk`](https://github.com/DialgemAI/dialgem-sdk-typescript). For a terminal tool, see `@dialgem/cli`.
## Setup
```json
{
"mcpServers": {
"dialgem": {
"command": "npx",
"args": ["-y", "@dialgem/mcp"],
"env": { "DIALGEM_API_KEY": "zk_..." }
}
}
}
```
Claude Code: `claude mcp add dialgem -e DIALGEM_API_KEY=zk_... -- npx -y @dialgem/mcp`
The key is read from `DIALGEM_API_KEY` only. Use a scoped key where you can.
## Tools
| Tier | Tools | Exposed |
|---|---|---|
| read | `whoami`, `list_agents`, `get_agent`, `list_voices`, `list_calls`, `get_call`, `list_phone_numbers`, `search_phone_numbers`, `list_contacts` | always |
| write | `create_agent`, `update_agent`, `delete_agent`, `publish_agent_version`, `chat_with_agent`, `stop_call`, `assign_phone_number` | unless `--read-only` |
| spend | `start_phone_call`, `buy_phone_number` | only with `--allow-spend` |
`--allow-spend` is off by default because those two tools ring a real person or charge your account, and a model
can be steered into calling them by text in a transcript or a prompt. Env equivalents: `DIALGEM_MCP_READ_ONLY=1`,
`DIALGEM_MCP_ALLOW_SPEND=1`.
## Development
```
pnpm install && pnpm build && pnpm test
```
## License
Apache-2.0. Copyright 2026 Achroweb Solutions. See [LICENSE](LICENSE) and [NOTICE](NOTICE).
TDQS
Scored across 16 tools
Most tools have clearly distinct resource/action boundaries, and agent CRUD, call handling, and phone-number operations are easy to tell apart. The only mild overlap is between list_phone_numbers and search_phone_numbers, but the descriptions clearly distinguish owned numbers from available numbers.
The tool set is almost entirely consistent snake_case verb_noun naming, such as list_agents, create_agent, get_call, and assign_phone_number. The only deviation is whoami, which is a conventional command name rather than a verb_noun pattern.
At 16 tools, the set is at the upper end of a reasonable scope but each tool maps to a meaningful operation across agents, versions, calls, voices, numbers, and contacts. None appear redundant or purely filler.
The agent lifecycle is well covered with create, read, update, delete, publish, and chat testing. However, contacts only expose listing with no create/update/delete/get operations, and phone-number handling lacks purchase or unassign/release operations, leaving notable dead ends.