argo-mcp

v1.0.3
io.github.Argo-RPG-Platform/argo-mcp Checked 12 hours ago Published 6 months ago

MCP server for Argo RPG Platform — connects AI assistants to campaign data via OAuth2

Values you need

VariableWhat it is
OAUTH_TOKENrequired secret Argo OAuth2 access token from the consent flow at https://app.argo.games/oauth2/mcp-connect
REFRESH_TOKENoptional secret Argo OAuth2 refresh token. Enables automatic renewal of the access token when it expires (~1 hour).
ARGO_API_BASEoptional Override the Argo WebAPI base URL. Defaults to https://api.argo.games.

npm (npx) discovery passed

Requires Node.js 18+

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

Remote (hosted)

Run in a terminal
claude mcp add --transport http argo-mcp https://mcp.argo.games/mcp
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "argo-mcp": {
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.argo.games/mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "argo-mcp": {
      "url": "https://mcp.argo.games/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "argo-mcp": {
      "type": "http",
      "url": "https://mcp.argo.games/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.argo-mcp]
command = "npx"
args = ["-y", "mcp-remote", "https://mcp.argo.games/mcp"]

For AI agents

  1. Ask the user for: OAUTH_TOKEN. 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_campaigns, get_campaign, create_campaign, update_campaign, list_co_gms, add_co_gm, remove_co_gm, describe_mnemon_types, ….
  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