
Agenticpay
io.github.krystiangwPublished by GitHub account krystiangwv0.0.1Updated Oct 25, 2026
x402 USDC paywall bridge for MCP — pay per tool call on Solana.
The publisher's own server: Agent Rynku - Warsaw Stock Exchange (GPW) data for your agent
Overview
A local stdio MCP bridge that wraps x402-paid HTTP tools, letting an assistant pay per tool call in USDC on Solana from a configured keypair.
- What you can do
- Expose paid HTTP tools defined in a JSON configuration as MCP tools the assistant can call, each with its own name, description, URL and input schema, plus optional headers per tool. Sign x402 USDC payment payloads with the configured Solana keypair when a tool call requires payment. Settle payments on Solana through an x402 facilitator, with the network and RPC endpoint set by configuration. Return the tool result only after payment settles, so failed calls are not charged.
- When to use it
- Use it when you want an assistant to call HTTP tools that charge per call in USDC over x402 on Solana, and you are willing to fund a payer wallet. It suits testing on devnet or experimenting with agent micropayments rather than production use, since the project describes itself as pre-alpha.
- Requirements
- Runs locally over stdio as the npm package @agenticpay/mcp-bridge, so Node.js is needed. Requires the AGENTICPAY_BRIDGE_KEYPAIR secret (a 64-byte Solana keypair JSON array), a JSON array of paid tool definitions in AGENTICPAY_BRIDGE_TOOLS, and optionally AGENTICPAY_BRIDGE_NETWORK and AGENTICPAY_BRIDGE_RPC. The payer wallet needs USDC and, depending on the facilitator, SOL for fees; network access to the RPC and facilitator is required.
Installation
In SourceWeft
- Open Agenticpay in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
agenticpay
[CI] [CodeQL] [gitleaks] [License: MIT] [GitHub stars] [npm: @agenticpay/sdk] [npm downloads]
Website · Spend caps · npm
Get paid by AI agents. Open-source payment infrastructure for the MCP ecosystem - declare a price on any tool, agents pay in USDC over x402, settles on Solana in ~1.5 seconds.
No Stripe. No accounts. No API keys.
The full stack is here - SDK, CLI, paywall middleware, self-hosted x402 facilitator, and a live LLM agent demo. All TypeScript, MIT licensed.
Just want to test it? Point your
mcp-serverat our hosted devnet facilitator:FACILITATOR_URL=https://agentpay-facilitator-e9b20a5fee6a.herokuapp.comNo setup needed.
Live demo
A real Claude Opus agent receives a task, decides which paid tools to use, pays autonomously via x402 micropayments on Solana, and answers the user.
On-chain proof (Solana devnet):
- Settled by our self-hosted facilitator:
EsqzTG8id...Bnku - Earlier settle via x402.org:
2d2HcefgJ...vkqY
Why
The current AI agent stack assumes humans hold the credit card. That breaks the moment agents act on their own initiative - calling APIs, hiring sub-agents, paying for compute. You can't OAuth your way through it.
Stablecoin micropayments over HTTP fix it. agenticpay packages the missing ergonomics for the MCP ecosystem specifically: any tool can declare a price, any agent can pay it, and the whole pipeline - including the facilitator that actually submits the on-chain settlement - is open source and self-hostable.
Architecture
You can also point mcp-server at the public x402.org/facilitator for
testnet/devnet, or at Coinbase CDP for mainnet. We just made the
self-hosted route easy.
Packages
Install
Or clone the monorepo to get the live two-agent demo and edit-friendly templates (recommended for first run - see Quickstart below).
Use with Claude Code
This repo ships an Anthropic Skill
at .claude/skills/agenticpay/SKILL.md. Copy it into your ~/.claude/skills/
to give Claude Code first-class context about agenticpay - it'll then walk you
through monetizing an MCP server, generating tool routes, and verifying
on-chain settlements without re-reading the README every time.
Quickstart (devnet, ~5 minutes, free)
Framework integrations
Drop-in templates for the most common AI agent stacks live under examples/:
See examples/README.md for the integration matrix.
Status
Pre-alpha. Devnet validated end-to-end. Mainnet config supported but requires funding the facilitator with real SOL and pointing at a mainnet-capable RPC (Helius, QuickNode, etc.).
Roadmap
- Devnet end-to-end demo (smoke + LLM agent)
- Self-hosted x402 facilitator (verify + settle, fee_payer abstraction)
- Real-world MCP server template (search, fetch, summarize, extract - instead of toy
reverse_string) - On-chain escrow for long-running tasks (Anchor program)
- Agent reputation registry on-chain
- Hosted facilitator service (
agenticpay.com)
What's a facilitator?
If you've never seen x402 before: the facilitator is the trusted middleman that (1) verifies an agent's signed payment payload, (2) submits the USDC transfer on-chain, and (3) pays the SOL gas fees so the agent doesn't need any SOL - only USDC. Most MCP devs don't want to run their own; they point at a hosted one.
This repo ships a complete facilitator implementation. You can self-host it, fork it, audit it, or deploy it as a service for your own users.
What happens when a paid tool call fails?
Short version: a failed tool call is never charged. x402 settlement is an irreversible push, so the middleware is careful about when it settles:
- Verify before execute. The payment payload (signature, funds, requirements match) is verified before your tool handler runs. Invalid payment → HTTP 402, the tool never executes.
- Execute with a buffered response. The handler runs, but its response is held back - nothing is sent to the agent yet.
- Settle only on success. If the handler responds with status ≥ 400, the middleware skips settlement entirely and just returns the error. The agent pays nothing for a failed call.
- No result without payment. If on-chain settlement itself fails, the buffered tool result is discarded and the agent gets a payment error instead - the server never leaks a result it wasn't paid for.
What this doesn't cover: a tool that returns 200 OK with a junk answer is
still charged - the protocol can't judge response quality. That's what keeps
per-call prices micro ($0.0005–$0.001 in the demo): the worst case is capped
at one call's price, and quality enforcement belongs to a reputation layer
(see Roadmap) rather than the payment protocol.
License
MIT
Source: README.md at commit 9072408
Tools
0Version history
1- v0.0.1LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Other Agentrynku integrations

Agent Rynku - Warsaw Stock Exchange (GPW) data for your agent
pl.agentrynkuOfficial publisher
A hosted MCP server giving assistants public Warsaw Stock Exchange (GPW) data: company search, quarterly financials, ratios, dividends, earnings calendar and a

Zen
Published by GitHub account krystiangw
Unofficial MCP server for the ZEN.com payment gateway, letting an assistant create payment links, look up transactions and payouts, and issue refunds.