MCP Server Studio

Run402 MCP server

x402 pay-per-call infra for agents: $0.03 image generation, Postgres, auth, storage, functions.

Registry name: com.run402/mcp

Publisher
run402.com
Runs
Local or hosted
Package
npm
Version
4.104.2
Category
Databases
Updated
2026-09-25

Source code on GitHub

Set up Run402 (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "run402-mcp@4.104.2"
      ],
      "env": {
        "RUN402_WALLET": "<RUN402_WALLET>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add mcp -e RUN402_WALLET='<RUN402_WALLET>' -- npx -y run402-mcp@4.104.2

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "run402-mcp@4.104.2"
      ],
      "env": {
        "RUN402_WALLET": "<RUN402_WALLET>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "run402-mcp@4.104.2"
      ],
      "env": {
        "RUN402_WALLET": "<RUN402_WALLET>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "run402-mcp@4.104.2"
      ],
      "env": {
        "RUN402_WALLET": "<RUN402_WALLET>"
      }
    }
  }
}

Set up Run402 (hosted url)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.run402.com/mcp"
      ]
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add --transport http mcp https://mcp.run402.com/mcp

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.run402.com/mcp"
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "mcp": {
      "type": "http",
      "url": "https://mcp.run402.com/mcp"
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "mcp": {
      "serverUrl": "https://mcp.run402.com/mcp"
    }
  }
}

Settings

NameRequiredWhat it is
RUN402_WALLETNoNamed wallet profile to use (optional; defaults to 'default'). Credentials are created on first run — no pre-existing account needed.

More databases MCP servers