
Run402 MCP Server: Setup for Claude, Cursor and Other Apps
Lets Claude, Cursor and other assistants deploy a Postgres database, site and functions on Run402, and pay for them from a crypto wallet.
Run402 is a backend platform for AI agents, and this is its own server. Eight tools cover setup, deploys, status and a code tool that reaches the whole Run402 SDK. It runs on your computer with a wallet it creates for you, and that wallet pays for usage. Read the spending section before you give an agent a funded wallet. A separate hosted address offers two free lookup tools and never touches funds.
Good for
- Developers who want an agent to provision and ship a full backend end to end
- Agent builders who need a backend an agent can pay for without a human API key
- Hackers trying agent payments on the free testnet
Works in
14 should work
Tap an app to see how to set it up and any known problems.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports hosted MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports hosted MCP servers.
Install Run402 MCP
Claude Code
- 1
Copy this prompt.
Add the Run402 MCP server to Claude Code. Run this command: claude mcp add run402 -- npx -y run402-mcp Then check that it loaded and tell me if I need to sign in or restart.
- 2
Paste it into Claude Code. It shows the change and asks before running it.
Requires Node.js 22.13+.
Read-only mode: No read-only option. Use the free testnet and keep the wallet balance small.
Use the npx method for real work. It creates a wallet on first run and can deploy and pay. The hosted address has two free lookup tools and never handles funds. The local server needs Node.js 22.13 or later.
Built from the package data we hold. Not yet tested by us.
Tools
Sets up and deploys an app in one go
Plans or runs the whole first deploy for a local folder or a Git repo URL. It creates a wallet, picks a tier, makes a project and links your folder when any of those is missing. Spending steps run only when the call says yes, and it can write a .run402 folder in your workspace.
Try: “Deploy this folder to Run402 as my-app.”
Runs code ·
upApplies a release to a project
Takes a release spec with database migrations, functions, a site, subdomains and web routes, uploads the files, and makes them live. It stops before upload when a warning needs your confirmation. It can also remove things the spec drops.
Try: “Deploy my site and the SQL migration to project prj_123.”
Delete ·
deployShows your wallet, tier and projects
Returns the wallet this server acts as, its tier and lease, the allowance, your projects and the active project. It never returns key material.
Try: “What is my Run402 status?”
Network ·
statusShows who you are on Run402
Returns the account identity your wallet resolves to, its sign-in methods, organization memberships and session grade.
Try: “Who am I on Run402?”
Network ·
whoamiChecks that your setup is healthy
Runs the SDK health check and lists blocking problems, warnings and each check result.
Try: “Run the Run402 doctor.”
Network ·
doctorLooks up the SDK reference
Serves the SDK reference and the guide for the run tool from files inside the package, by topic or by search.
Try: “How do I list my projects with the SDK?”
Read ·
docsRuns a TypeScript snippet against the whole SDK
Runs your snippet in a sandbox with no files, process or network. Each SDK call it makes is replayed on your computer with your wallet, so one snippet can create databases, run SQL, delete projects, send email or pay.
Try: “List my projects that have no site yet.”
Delete ·
runPages through a long result
Fetches more of a result that another tool showed only a window of, from a store held in the server process.
Try: “Show me the next 50 rows of that result.”
Read ·
expand_result
Read from the source code
Permissions
high risk · 10 things to watch
High risk
With a funded wallet the assistant can pay for services, raise your spending cap and delete projects, and the server asks for no confirmation on those calls. Our advice: use the free testnet, keep the wallet balance small, and do not run it unattended.
What it can do
- Read your data
- Create and change things
- Delete things
- Read-only mode
Watch out for
It can spend from your wallet without asking
Snippets in the run tool use the same SDK as the command line, so they can buy a tier or pay a seller from your wallet. The server shows no confirmation prompt for these calls. A direct payment call defaults to a $0.10 ceiling, but the snippet sets that ceiling itself. github.com
The up tool can buy a tier when told yes
The up tool approves spending steps only when yes is set. Its max_spend_usd option makes the plan stop with SPEND_APPROVAL_REQUIRED if it is below $0.10, the amount the code expects for the prototype tier. Leave yes off and read the plan first. github.com
It can raise your monthly cap and turn on card refills
The SDK can set a monthly metering cap and a card standing order that refills the allowance under that cap. It needs a live hobby or team lease and a saved card, and a person saves the card through a link. After that, a snippet can change the cap with no further prompt. github.com
It can delete a project and its data for good
The project delete call is immediate and irreversible. It drops the database schema, deletes functions, releases subdomains and wipes secrets, with no confirmation step in the server. Snippets can also run any SQL, delete snapshots and delete functions. github.com
Our advice: do not run it unattended with real money
Our advice: use the free testnet, keep only a small balance in the wallet, and approve each run call yourself. Do not leave an autonomous agent with a funded mainnet wallet. github.com
It uploads local files and can send email
The deploy tool uploads your site files, functions and SQL migrations to the Run402 API. The SDK also has an email send call that snippets can use. github.com
Shell build commands run when you approve them
The up tool has an allow_shell_build option that approves shell-string build commands. Leave it off unless you have read the commands. github.com
A wallet key is created and stored on disk
The first run creates a wallet file at ~/.config/run402/wallet.json with owner-only permissions, and project keys are cached beside it. The run tool refuses calls that would hand back a key and tells you the command line step to use instead. github.com
The hosted address is free and cannot pay
The hosted endpoint offers two lookup tools and says it never handles funds. Paid actions need the local server. github.com
The snippet checker runs as a child process
Before a snippet runs, the server starts a TypeScript checker as a child process, and it skips the check if the checker cannot start. github.com
Security advisories
No published security advisories as of Nov 1, 2026.
Technical details
| Turning on read-only | No read-only switch exists. The status, whoami, doctor, docs and expand_result tools only read, but the run and up tools can change things. |
|---|---|
| Talks to | api.run402.com (the Run402 API, with signed payments). mcp.run402.com (hosted lookup tools, only if you add it) |
| Sign-in and keys | A wallet is created on first run and kept at ~/.config/run402/wallet.json with 0600 permissions, plus a project key cache. No API key is needed. |
Questions
Is the Run402 MCP server official?
Yes. It is built by Kychee, the company behind Run402, and ships from its own repository.
Can it spend my money?
Yes. It pays with a crypto wallet it keeps on your computer. A direct payment defaults to a $0.10 ceiling per call, and the snippet can raise it. The server shows no confirmation prompt.
Can I try it without paying?
Yes. The prototype tier is free on the testnet, and the up tool can request faucet funds for the wallet once you approve it.
What credentials does it need?
None up front. It creates a wallet on first run and stores it under ~/.config/run402. Funding that wallet is up to you.
Can it delete my project?
Yes. A snippet can delete a whole project, including its database, functions and secrets, with no undo and no confirm step.
Can it run read-only?
No. The server has no read-only switch. Only the status, whoami, doctor, docs and expand_result tools never change anything.
What is the Run402 MCP server URL?
The hosted address is https://mcp.run402.com/mcp. It offers free lookup tools only (run402_quickstart and x402_price_check when we listed its tools; the README also names experiment_scoreboard) and cannot deploy or pay. Use the local npx server for real work.
Does it run on my computer or in the cloud?
The local server runs on your computer and talks to the Run402 API. The separate hosted address runs in the cloud and handles no funds.
Why does it have only eight tools?
The run tool reaches the rest of the SDK, so one tool stands in for the long tail. That keeps the tool list small, and it also means one tool can do very different things.
Is it free?
The code is MIT licensed. Using the platform costs money beyond the free testnet tier, paid in USDC, pathUSD or sats, or from a card-funded allowance.
Information
updated Nov 2, 2026
- Publisher
- Official
- Package
run402-mcp- Registry
- npm
- Endpoint
https://mcp.run402.com/mcp- Transport
- stdio, Streamable HTTP
- Version
- 4.104.2
- License
- MIT
- Last commit
- Oct 30, 2026
- Open issues
- 50
- Listed in
- Official MCP registry
Sources
Docs, issue trackers and discussions this page is built from. Issues, quotes and findings above link to their own source.
Show all 10Hide
- github.com · github.com
- github.com · github.com
- github.com · github.com
- github.com · github.com
- github.com · github.com
- github.com · github.com
- github.com · github.com
- github.com · github.com
- github.com · github.com
- github.com · github.com