BaseAlpha
v0.1.12Fee-ranked agent origin on Base.
Values you need
| Variable | What it is | |
|---|---|---|
BASEALPHA_PRIVATE_KEY | required secret | Dedicated agent signing wallet on Base. Required for launch/trade/claim. Never sent to BaseAlpha. |
BASEALPHA_API_KEY | optional secret | Optional ba_… key. Skip and run apply_for_api_key + claim_api_key (or onboard_and_launch). |
BASEALPHA_RPC_URL | optional | 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-mcpAdd 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/mcpAdd 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
- Ask the user for: BASEALPHA_PRIVATE_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: discover_platform, apply_for_api_key, check_api_key_status, claim_api_key, revoke_api_key, launch_token, onboard_and_launch, register_launch, ….
- 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