{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "com.politicalcomms/api",
  "slug": "com.politicalcomms.api",
  "title": "api",
  "summary": "Compliant political SMS/MMS from MCP clients: projects, contacts, analytics, billing.",
  "version": "0.2.1",
  "serverKey": "api",
  "pageUrl": "https://mcpkglabs.com/tool/com.politicalcomms.api",
  "installMdUrl": "https://mcpkglabs.com/tool/com.politicalcomms.api/install.md",
  "trust": {
    "score": 91,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T19:25:29.55310913Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "--package=@political-comms/mcp@0.2.1",
        "political-comms-mcp"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add api -e 'POLITICAL_COMMS_API_KEY=<POLITICAL_COMMS_API_KEY>' -- npx -y --package=@political-comms/mcp@0.2.1 political-comms-mcp"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"api\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@political-comms/mcp@0.2.1\",\n        \"political-comms-mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"POLITICAL_COMMS_API_KEY\": \"<POLITICAL_COMMS_API_KEY>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"api\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@political-comms/mcp@0.2.1\",\n        \"political-comms-mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"POLITICAL_COMMS_API_KEY\": \"<POLITICAL_COMMS_API_KEY>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"POLITICAL_COMMS_API_KEY\",\n      \"id\": \"political-comms-api-key\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"api\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@political-comms/mcp@0.2.1\",\n        \"political-comms-mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"POLITICAL_COMMS_API_KEY\": \"${input:political-comms-api-key}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.api]\ncommand = \"npx\"\nargs = [\"-y\", \"--package=@political-comms/mcp@0.2.1\", \"political-comms-mcp\"]\nenv = { \"POLITICAL_COMMS_API_KEY\" = \"<POLITICAL_COMMS_API_KEY>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "POLITICAL_COMMS_API_KEY",
      "required": true,
      "secret": true,
      "description": "Political Comms API key (pc_live_*), created by a human operator in the dashboard under Admin > API Keys",
      "help": "Political Comms API key (pc_live_*), created by a human operator in the dashboard under Admin > API Keys",
      "placeholder": "<POLITICAL_COMMS_API_KEY>"
    }
  ],
  "expectedTools": [
    "list_organizations",
    "get_hierarchy",
    "list_projects",
    "get_project",
    "get_project_stats",
    "list_contact_lists",
    "get_contact_list",
    "get_message_stats",
    "get_ledger_usage",
    "create_project",
    "test_project",
    "schedule_project",
    "unschedule_project",
    "copy_project",
    "archive_project"
  ],
  "agentSteps": [
    "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."
  ],
  "generatedAt": "2026-12-01T19:25:29.55310913Z"
}
