AgentPay Pharos
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@AgentPay PharosWhat's my wallet balance?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
AgentPay Pharos
A drop-in MCP skill that gives AI agents a real on-chain wallet on Pharos — check balances, read live prices, move tokens, pay only when conditions are met, screen for scams, and buy x402 pay-per-use APIs, all from natural language.
agentpay-pharos is a Model Context Protocol server. Point any MCP-compatible client (Claude Desktop, Cursor, …) at it and your agent gains 20 payment & safety tools backed by a live wallet on the Pharos network — no glue code required.
✨ Highlights
Full wallet control — balances, transfers, wrap/unwrap, gas estimates, and history for PHRS / WPHRS, USDC, USDT, WETH.
Conditional & batch payments — "pay 5 USDC only if WETH > $2000", or fan out a payroll run in one call.
Built-in safety net — GoPlus-powered screening of wallets, tokens, and contracts;
safe_transferrefuses flagged recipients. No API key needed.x402 native — agents autonomously pay for metered HTTP APIs over the x402 protocol.
Testnet → mainnet — develop on Atlantic, ship to Pacific by flipping one env var.
Related MCP server: waiaas
🧰 Tools
Payments & wallet
Tool | What it does |
| All token balances (PHRS, USDC, USDT, WETH, WPHRS) in one call |
| Snapshot of holdings + recent activity |
| Transfer a stablecoin or any supported token |
| Like |
| Multi-recipient payout with a per-token summary |
| Send only if a price condition holds |
| Combine several price/threshold conditions |
| Wrap/unwrap native PHRS ↔ WPHRS |
| Preview gas cost before sending |
| Recent transactions for the wallet |
Prices & network
Tool | What it does |
| Live price for a supported token |
| Pharos network status / metrics |
Safety (GoPlus)
Tool | What it does |
| Risk-screen an address |
| Detect honeypots / risky tokens |
| Screen a contract before interacting |
x402 & payment requests
Tool | What it does |
| Pay for and fetch an x402-gated HTTP resource |
| Generate a payment request others can fulfill |
| Confirm an expected payment landed |
🚀 Install
npm install -g pharos-paygateFrom source:
git clone https://github.com/mo726278282/agentpay-pharos.git
cd agentpay-pharos && npm install && npm run build⚙️ Configure
cp .env.example .envPRIVATE_KEY=your_wallet_private_key_here # dedicated, low-value key
NETWORK=testnet # "testnet" (Atlantic) or "mainnet" (Pacific)
CHAIN_ID=688689
RPC_URL=https://atlantic.dplabs-internal.com
MAINNET_RPC_URL=https://rpc.pharos.xyz
FACILITATOR_URL=https://x402.org/facilitatorRegister with your MCP client (Claude Desktop claude_desktop_config.json):
{
"mcpServers": {
"agentpay-pharos": {
"command": "pharos-paygate",
"env": { "PRIVATE_KEY": "your_wallet_private_key_here", "NETWORK": "testnet" }
}
}
}💬 Example prompts
"What's in my wallet right now?"
"Send 25 USDC to 0xabc…, but only if it isn't a flagged address."
"Pay 5 USDC to 0xdef… if WETH is above $2,000."
"Is token 0x123… safe to receive?"
"Buy access to this x402 API and fetch the data."
🛡️ Safety model
Screening is powered by GoPlus — malicious addresses, honeypot tokens, risky contracts — no API key required. safe_transfer refuses high-risk recipients outright. Treat these as guardrails, not guarantees.
🌐 Networks
Network | Env | Chain ID |
Atlantic (testnet) |
| 688689 |
Pacific (mainnet) |
| 1672 |
🧑💻 Development
npm run dev # run from source with tsx
npm run build # compile to dist/
npm run inspector # debug tools in the MCP Inspector⚠️ Disclaimer
This software signs and broadcasts real blockchain transactions with the key you provide. Use a dedicated wallet, start on testnet, and never commit your .env. Nothing here is financial advice — you are responsible for every transaction your agent makes.
📄 License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceProvides permissionless wallet infrastructure for AI agents to manage wallets, sign transactions, and handle tokens across Solana and all EVM-compatible chains. It includes 29 specialized tools for on-chain operations, featuring built-in security guards and automated x402 payment processing without KYC requirements.Last updated297253MIT
- AlicenseBqualityAmaintenanceSelf-hosted wallet MCP server for AI agents. Provides 42 tools for multi-chain crypto operations: transfers, token management, DeFi (swap, lend, stake, bridge, perp), NFT, smart contracts, and x402 payments. Supports EVM and Solana with policy engine, spending limits, and human approval.Last updated6029MIT
- Alicense-qualityDmaintenanceEnables any MCP-compatible LLM client to autonomously hold, spend, earn, and receive cryptocurrency using native MCP tools, no code required.Last updated270ISC
- AlicenseBqualityBmaintenanceProvides AI agents with a complete payments toolkit on the Pharos Atlantic Testnet, including balance checks, token transfers, conditional payments, batch sends, transaction history, gas estimation, and x402 protocol support.Last updated207MIT
Related MCP Connectors
Token swaps and honeypot/rug checks for AI agents on 8 chains, paid per-call in USDC via x402.
Agent x402 Paywall MCP — Coinbase HTTP 402 protocol + on-chain settlement. Agents pay per-call
500+ pay-per-call tools + skill packs. USDC + USDG on 12 chains, or free via proof-of-work.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Irohitjain/agentpay-pharos'
If you have feedback or need assistance with the MCP directory API, please join our Discord server