MCP Server Studio
x402-paid agent tools: 18 over HTTP, 14 over stdio. USDC per call, no API key.
Registry name: io.github.hypeprinter007-stack/anchor-x402
Add to claude_desktop_config.json:
{
"mcpServers": {
"anchor-x402": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"ANCHOR_WALLET_PRIVATE_KEY": "<ANCHOR_WALLET_PRIVATE_KEY>"
}
}
}
}Run in your terminal:
claude mcp add anchor-x402 -e ANCHOR_WALLET_PRIVATE_KEY='<ANCHOR_WALLET_PRIVATE_KEY>' -- npx -y [email protected]Add to .cursor/mcp.json:
{
"mcpServers": {
"anchor-x402": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"ANCHOR_WALLET_PRIVATE_KEY": "<ANCHOR_WALLET_PRIVATE_KEY>"
}
}
}
}Add to .vscode/mcp.json:
{
"servers": {
"anchor-x402": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"ANCHOR_WALLET_PRIVATE_KEY": "<ANCHOR_WALLET_PRIVATE_KEY>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"anchor-x402": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"ANCHOR_WALLET_PRIVATE_KEY": "<ANCHOR_WALLET_PRIVATE_KEY>"
}
}
}
}Add to claude_desktop_config.json:
{
"mcpServers": {
"anchor-x402": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://api.anchor-x402.com/mcp"
]
}
}
}Run in your terminal:
claude mcp add --transport http anchor-x402 https://api.anchor-x402.com/mcpAdd to .cursor/mcp.json:
{
"mcpServers": {
"anchor-x402": {
"url": "https://api.anchor-x402.com/mcp"
}
}
}Add to .vscode/mcp.json:
{
"servers": {
"anchor-x402": {
"type": "http",
"url": "https://api.anchor-x402.com/mcp"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"anchor-x402": {
"serverUrl": "https://api.anchor-x402.com/mcp"
}
}
}| Name | Required | What it is |
|---|---|---|
ANCHOR_WALLET_PRIVATE_KEY | Yes | EVM private key (0x-prefixed hex). The wallet pays for x402 calls in USDC on Base mainnet. Fund with USDC before use. |