Skip to content
VS Code

api for VS Code

com.politicalcomms/api

Compliant political SMS/MMS from MCP clients: projects, contacts, analytics, billing.

client:VS Code transport:stdio runtime:npm

Install api in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "political-comms-api-key",
      "description": "POLITICAL_COMMS_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "api": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@political-comms/mcp"
      ],
      "env": {
        "POLITICAL_COMMS_API_KEY": "${input:political-comms-api-key}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

api in other clients