three.ws Coin Clash
v0.1.3Play three.ws Coin Clash — read the faction battle board and leaderboard, enlist, and rally.
Values you need
| Variable | What it is | |
|---|---|---|
THREE_WS_BASE | optional | Base URL of the three.ws API that serves the Coin Clash endpoints. Override only when self-hosting or targeting a preview deployment. Default: https://three.ws |
THREE_WS_TIMEOUT_MS | optional | Per-request timeout in milliseconds for the live Coin Clash reads and writes. Default: 20000 |
SOLANA_SECRET_KEY | optional secret | Base58 Solana secret key for the enlisting wallet. Required only for the write tools (enlist_faction, rally_faction) — reads work without it. Per-call `secret` arguments override this. The wallet must hold the faction coin it enlists for. Treat like cash. |
npm (npx) verified
Requires Node.js 18+
Run in a terminal
claude mcp add clash-mcp -- npx -y @three-ws/clash-mcp@0.1.3Add to
claude_desktop_config.json{
"mcpServers": {
"clash-mcp": {
"args": [
"-y",
"@three-ws/clash-mcp@0.1.3"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"clash-mcp": {
"args": [
"-y",
"@three-ws/clash-mcp@0.1.3"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"clash-mcp": {
"args": [
"-y",
"@three-ws/clash-mcp@0.1.3"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.clash-mcp]
command = "npx"
args = ["-y", "@three-ws/clash-mcp@0.1.3"]For AI agents
- 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: get_clash_state, get_clash_leaderboard, enlist_faction, rally_faction.
- 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