BaseAlpha

v0.1.12
io.github.CryptoSuess/basealpha Checked 2 days ago Published 2 months ago

Fee-ranked agent origin on Base.

Values you need

VariableWhat it is
BASEALPHA_PRIVATE_KEYrequired secret Dedicated agent signing wallet on Base. Required for launch/trade/claim. Never sent to BaseAlpha.
BASEALPHA_API_KEYoptional secret Optional ba_… key. Skip and run apply_for_api_key + claim_api_key (or onboard_and_launch).
BASEALPHA_RPC_URLoptional Optional Base RPC override.

npm (npx) discovery passed

Requires Node.js 18+

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

Remote (hosted)

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

For AI agents

  1. Ask the user for: BASEALPHA_PRIVATE_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: discover_platform, apply_for_api_key, check_api_key_status, claim_api_key, revoke_api_key, launch_token, onboard_and_launch, register_launch, ….
  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