handset

v0.1.1
io.github.handset-hq/handset Checked 4 days ago Published 3 months ago

A business phone system for AI agents: send texts, place calls, read transcripts, buy numbers.

Values you need

VariableWhat it is
HANDSET_API_KEYrequired secret Handset API key. Use a test-mode key (hs_test_…) — simulated carrier, free. Live keys are refused unless HANDSET_ALLOW_LIVE=1.
HANDSET_ALLOW_LIVEoptional Set to 1 to permit a live-mode key (the agent can then text and call real people at real cost).

npm (npx) discovery passed

Requires Node.js 18+

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

For AI agents

  1. Ask the user for: HANDSET_API_KEY. 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: list_tenants, create_tenant, search_numbers, buy_number, list_numbers, send_message, list_conversations, get_thread, ….
  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