Run402 MCP Server

MCP server for Run402 — pay-per-call infrastructure for AI agents over x402 USDC micropayments. Generate an image for $0.03 with no signup, or

Remote serverstreamable-httpTypeScript

What is the Run402 MCP server?

Run402 MCP server exists for a simple reason — assistants are far more useful when they can act on Run402 directly instead of describing what you should do. MCP server for Run402 — pay-per-call infrastructure for AI agents over x402 USDC micropayments. Generate an image for $0.03 with no signup, or provision Postgres databases with REST API, auth, storage and row-level security.

What you get

What the assistant can call

Once Run402 is connected, these are the calls the assistant has available:

  • Surface — Use when…

Configuration and credentials

You will need 4 environment variables: RUN402_PROJECT_ID, OPENAI_API_KEY, STATIC_ALIAS_SHADOWS_STATIC_PATH, STATIC_ALIAS_DUPLICATE_CANONICAL_URL. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Setting it up

Being a remote server, there is no local install. You register the endpoint with your client, authorise it once, and the tools appear.

Choosing this one

Among the database access options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Run402's toolset — Surface — is a fair guide to whether it matches your workflow. It is maintained by GitHub Actions; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Before you rely on it

  • Your data travels to the provider's service, so the usual questions apply about what you send and what they retain.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the run402 mcp server does with a few real requests.

Available tools

ToolWhat it does
SurfaceUse when…

How to install the Run402 MCP server

{
  "mcpServers": {
    "run402": {
      "command": "npx",
      "args": ["-y", "run402"],
      "env": {
        "RUN402_PROJECT_ID": "your-value",
        "OPENAI_API_KEY": "your-value",
        "STATIC_ALIAS_SHADOWS_STATIC_PATH": "your-value",
        "STATIC_ALIAS_DUPLICATE_CANONICAL_URL": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
RUN402_PROJECT_IDConfiguration value read at startup.Optional
OPENAI_API_KEYCredential the server authenticates with.Yes
STATIC_ALIAS_SHADOWS_STATIC_PATHFilesystem location the server is allowed to use.Optional
STATIC_ALIAS_DUPLICATE_CANONICAL_URLEndpoint or connection string the server talks to.Yes

Example prompts to try

  • Use Run402 to Surface.

Frequently asked questions

It connects Run402 to MCP-compatible AI assistants such as Claude and Cursor, exposing 1 tool (Surface) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Run402 directly.