maacgo-mcp

v0.3.1
io.github.jinhsueh/maacgo-mcp Checked 2 days ago Published 1 month ago

Taiwan SMS MCP server for Claude Code, Codex and Cursor.

Values you need

VariableWhat it is
MAACGO_API_KEYrequired secret MAAC Go API key from https://sms.cresclab.com/app.html#transactional. Use sk_test_... while developing, sk_live_... for real sends.
MAACGO_BASE_URLoptional Override the REST base URL (default https://sms.cresclab.com/api). Only set this for staging or self-host deployments.

npm (npx) discovery passed

Requires Node.js 18+

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

Remote (hosted)

Run in a terminal
claude mcp add --transport http maacgo-mcp https://sms.cresclab.com/api/mcp --header 'Authorization: <Authorization>'
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "maacgo-mcp": {
      "args": [
        "-y",
        "mcp-remote",
        "https://sms.cresclab.com/api/mcp",
        "--header",
        "Authorization: <Authorization>"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "maacgo-mcp": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "url": "https://sms.cresclab.com/api/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "maacgo-mcp": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "type": "http",
      "url": "https://sms.cresclab.com/api/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.maacgo-mcp]
command = "npx"
args = ["-y", "mcp-remote", "https://sms.cresclab.com/api/mcp", "--header", "Authorization: <Authorization>"]

For AI agents

  1. Ask the user for: MAACGO_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: send_sms, list_sms, get_sms, sms_metrics, send_broadcast, list_broadcasts, wallet_balance, wallet_events, ….
  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