Swarm X402 MCP Server
by swarm-agent-operatorio.github.swarm-agent-operator/swarm-x402-mcpv0.1.2
MCP server for SWARM's x402 services: pay per call in USDC on Base, no account or API key.
context tax
queued
security
queued
cold start
queued
freshness
Active3d ago
Install Swarm X402 MCP server
Install in Claude Code
claude mcp add swarm-x402 -e SWARM_WALLET_KEY='<swarm-wallet-key>' -- npx -y swarm-x402-mcpInstall in Cursor
{
"mcpServers": {
"swarm-x402": {
"command": "npx",
"args": [
"-y",
"swarm-x402-mcp"
],
"env": {
"SWARM_WALLET_KEY": "<swarm-wallet-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"swarm-x402": {
"command": "npx",
"args": [
"-y",
"swarm-x402-mcp"
],
"env": {
"SWARM_WALLET_KEY": "<swarm-wallet-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"swarm-x402": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"swarm-x402-mcp"
],
"env": {
"SWARM_WALLET_KEY": "<swarm-wallet-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"swarm-x402": {
"command": "npx",
"args": [
"-y",
"swarm-x402-mcp"
],
"env": {
"SWARM_WALLET_KEY": "<swarm-wallet-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| SWARM_WALLET_KEY | — | yes | Private key of a dedicated wallet with a little USDC on Base. Without it, tools only quote. |
| SWARM_MAX_USD | — | — | Refuse any call priced above this many dollars (default 1). |
Freshness
Active — last maintenance signal 3d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-07 · 3d ago · GitHub
Latest release
2026-10-07 · 3d ago · GitHub · v0.1.2
Package published
no data · npm/PyPI
Registry entry updated
2026-10-07 · 3d ago · official registry · v0.1.2
FAQ
›How do I install the Swarm X402 MCP server in Claude Code?
Run: claude mcp add swarm-x402 -e SWARM_WALLET_KEY='<swarm-wallet-key>' -- npx -y swarm-x402-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Swarm X402 require an API key?
Yes. It expects SWARM_WALLET_KEY, of which 1 is a secret.
›Can I use Swarm X402 as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Swarm X402 in the official MCP registry?
Yes, as io.github.swarm-agent-operator/swarm-x402-mcp.