About PayStage
PayStage is an MCP server for agents that need payment checks, authorization monitoring, and HIP-3 trade preflight. Its local policy evaluations return decisions before signing or trading; it does not place orders.
Key features
- 01Evaluate x402 payments against local policy
- 02List ERC-20, Permit2, and EIP-3009 authorizations
- 03Flag outstanding authorizations for review
- 04Preflight HIP-3 orders with policy decisions
Use cases
- 01Check a proposed payment before an agent signs
- 02Find authorizations that were approved but not settled
- 03Review a HIP-3 order against a trading policy
MCP support
Exposes four payment, authorization, and trade-preflight tools through a stdio MCP server. The trade-preflight tool evaluates policy only and does not execute orders.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
npx -y @paystage/mcpPAYSTAGE_POLICY_PATHPath to policy.json spending rulesPAYSTAGE_RPC_URLBase RPC URL overrideLocal servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.
Tools
5Saved tool list · updated 1d ago
| Parameter | Type | Required | Description |
|---|---|---|---|
| policy | any | No | |
| policy_path | string | No | |
| payment_required | any | No |
Details
From the project README@paystage/mcp
PayStage umbrella MCP server: payment preflight, auth watch, and HIP-3 trade preflight.
Not financial advice. The trade preflight tool is a local policy gate only — it does not place orders or recommend trades.
Published on npm as @paystage/[email protected].
Install
npx -y @paystage/mcp
Or:
npm install @paystage/mcp
The package exposes a stdio MCP server (bin: paystage-mcp).
MCP configuration
{
"mcpServers": {
"paystage": {
"command": "npx",
"args": ["-y", "@paystage/mcp"],
"env": {
"PAYSTAGE_POLICY_PATH": "./policy.json"
}
}
}
}
Environment variables (all optional):
PAYSTAGE_POLICY_PATH— path topolicy.jsonspending rulesPAYSTAGE_RPC_URL— Base RPC URL override
Tools
evaluate_mcp_payment — Available now
Evaluates a proposed x402 payment against a local policy file and returns a verdict before the agent signs anything.
list_outstanding_auths — Available now
Lists outstanding ERC-20, Permit2, and EIP-3009 authorizations.
evaluate_outstanding_auths — Available now
Flags outstanding authorizations that need attention (e.g. authorized but never settled).
evaluate_hip3_trade — Available now
Evaluates a proposed HIP-3 / trade.xyz order against a local TradePolicy and returns a
decision: allow | review | do_not_trade.
Backed by @paystage/trade-preflight
(0.1.0), which is also published on npm and can be run standalone:
npx -y @paystage/trade-preflight
The policy is passed as a tool argument; no extra environment variables are required for this tool.
Packages
| Package | Version | Purpose |
|---|---|---|
@paystage/mcp | 0.2.0 | Umbrella server (4 tools) |
@paystage/auth-watch | 0.1.0 | Outstanding-auth tools |
@paystage/trade-preflight | 0.1.2 | HIP-3 / trade.xyz trade preflight |
Links
- Website: paystage.xyz
- HIP-3 context: docs.trade.xyz
- Source: github.com/base-buzz/paystage
License
MIT
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.