MCP server
X402station
x402station.io: independent risk-signal layer for x402 endpoints before agents pay.
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 1.0.11
- Listing updated
- 5 days ago
About X402station
X402station is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add x402station --env AGENT_PRIVATE_KEY='<AGENT_PRIVATE_KEY>' -- npx -y x402station-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"x402station": {
"command": "npx",
"args": [
"-y",
"x402station-mcp"
],
"env": {
"AGENT_PRIVATE_KEY": "<AGENT_PRIVATE_KEY>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"x402station": {
"command": "npx",
"args": [
"-y",
"x402station-mcp"
],
"env": {
"AGENT_PRIVATE_KEY": "<AGENT_PRIVATE_KEY>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"x402station": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"x402station-mcp"
],
"env": {
"AGENT_PRIVATE_KEY": "<AGENT_PRIVATE_KEY>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"x402station": {
"command": "npx",
"args": [
"-y",
"x402station-mcp"
],
"env": {
"AGENT_PRIVATE_KEY": "<AGENT_PRIVATE_KEY>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"x402station": {
"command": "npx",
"args": [
"-y",
"x402station-mcp"
],
"env": {
"AGENT_PRIVATE_KEY": "<AGENT_PRIVATE_KEY>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
AGENT_PRIVATE_KEY0x-prefixed 64-hex-char private key. Account must hold Base mainnet USDC. Required for any paid tool call.RequiredX402STATION_BASE_URLOptional override. Only https://x402station.io or http(s)://localhost are accepted to prevent payload hijacking; any other value makes the adapter refuse to start.
Pricing
Open source
X402station FAQ
Is X402station free?
Yes. X402station is open source, so you can use and self-host it for free.
How do I add X402station to Claude Code?
Run this command in your terminal: claude mcp add x402station --env AGENT_PRIVATE_KEY='<AGENT_PRIVATE_KEY>' -- npx -y x402station-mcp
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.