api
v0.2.1Compliant political SMS/MMS from MCP clients: projects, contacts, analytics, billing.
Values you need
| Variable | What it is | |
|---|---|---|
POLITICAL_COMMS_API_KEY | required secret | Political Comms API key (pc_live_*), created by a human operator in the dashboard under Admin > API Keys |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add api -e 'POLITICAL_COMMS_API_KEY=<POLITICAL_COMMS_API_KEY>' -- npx -y --package=@political-comms/mcp@0.2.1 political-comms-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"api": {
"args": [
"-y",
"--package=@political-comms/mcp@0.2.1",
"political-comms-mcp"
],
"command": "npx",
"env": {
"POLITICAL_COMMS_API_KEY": "<POLITICAL_COMMS_API_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"api": {
"args": [
"-y",
"--package=@political-comms/mcp@0.2.1",
"political-comms-mcp"
],
"command": "npx",
"env": {
"POLITICAL_COMMS_API_KEY": "<POLITICAL_COMMS_API_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "POLITICAL_COMMS_API_KEY",
"id": "political-comms-api-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"api": {
"args": [
"-y",
"--package=@political-comms/mcp@0.2.1",
"political-comms-mcp"
],
"command": "npx",
"env": {
"POLITICAL_COMMS_API_KEY": "${input:political-comms-api-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.api]
command = "npx"
args = ["-y", "--package=@political-comms/mcp@0.2.1", "political-comms-mcp"]
env = { "POLITICAL_COMMS_API_KEY" = "<POLITICAL_COMMS_API_KEY>" }For AI agents
- Ask the user for: POLITICAL_COMMS_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- 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).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: list_organizations, get_hierarchy, list_projects, get_project, get_project_stats, list_contact_lists, get_contact_list, get_message_stats, ….
- 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