@getplexa/mcp
The @getplexa/mcp server provides economic-safety tools for trading agents, enabling real-time trade price assessment and token risk evaluation on supported blockchains. Payments are handled automatically in USDC via x402 — no accounts, subscriptions, or API keys required, and your private key never leaves your machine.
Get Executable Swap Quotes (plexa_quote, $0.02/call):
Retrieve the real fill price for a swap of a specific size (not mid/spot price)
See price impact (in basis points), realizable depth, worst-case slippage, and confidence
View per-leg routing details (Uniswap v3, Aerodrome, Algebra, etc.)
Specify trade size by token amount (
sizeIn) or USD notional (sizeUSD)Supported chains: Base, Polygon, and Arbitrum
Run Pre-Trade Safety Checks (plexa_pretrade_check, $0.05/call):
Get a verdict of ok / caution / avoid with human-readable reasons and confidence
Screen tokens for rug pulls, honeypots, thin liquidity traps, fee-on-transfer fingerprints, holder concentration, and oracle/price sanity
Includes an executable quote bundled with the safety verdict
Currently Base-only
Automated x402 Payments: The server handles the full payment workflow by signing EIP-3009 USDC authorizations locally using your configured wallet — no manual steps needed.
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., "@@getplexa/mcpCheck token 0xabc on Base for economic safety and quote $500"
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.
@getplexa/mcp — Plexa MCP server
A Model Context Protocol server that gives any MCP client (Claude Desktop, Cursor, your own agent) two economic-safety tools from Plexa — the x402-native economic-safety layer for trading agents — paid per call in USDC, no accounts:
Tool | Wraps | Price | Returns |
|
| $0.02 | Executable fill price under size (not mid/spot), price impact (bps), realizable depth, per-leg route, worst-case slippage, confidence — from canonical on-chain quoters on Base, Polygon & Arbitrum. |
|
| $0.05 | Economic-safety verdict |
It is a thin client of the public API (https://api.getplexa.com) — it pays a 402 automatically,
signs the USDC authorization locally with your wallet, and never sees your key. The liquidity engine
stays behind the API.
Why
A generic wallet guard answers "can I sign this transaction?". It can't answer the economic question an automated trader actually needs: what price will this swap really fill at under my size, and is this token a trap (rug / honeypot / thin liquidity)? Plexa answers both. This package puts those answers one tool-call away inside any MCP-speaking agent.
Related MCP server: mev-history-mcp
Install
Nothing to install — point your MCP client at the package via npx. It is fetched and run on demand.
Claude Desktop
Add to claude_desktop_config.json (Settings → Developer → Edit Config):
{
"mcpServers": {
"plexa": {
"command": "npx",
"args": ["-y", "@getplexa/mcp"],
"env": {
"PLEXA_BASE_URL": "https://api.getplexa.com",
"AGENT_WALLET_KEY": "0x<your funded wallet private key>",
"CHAIN": "base"
}
}
}
}Cursor
Add to ~/.cursor/mcp.json (or Settings → MCP → Add) — the same mcpServers block as above.
Restart the client. You should see the plexa_quote and plexa_pretrade_check tools available.
Configuration
All configuration is via environment variables (set in the env block of your MCP config):
Variable | Default | Notes |
|
| The public API. The real URL — not a secret. |
| (none) | Required to pay. Funded wallet private key — pays per call and signs locally. Plexa never receives it. Without it, tools return a clear |
|
|
|
Funding. Use a dedicated, low-balance wallet with a little USDC on CHAIN to pay per call
(quotes $0.02, checks $0.05). The wallet signs an EIP-3009 USDC authorization per request; Plexa returns
the result only after the payment settles on-chain (settle-before-serve).
Your key is a secret. Prefer your MCP client's secret storage if it has one. Never commit it.
How payment works (x402 in MCP)
MCP has no native payment. This server acts as an x402 client: it wraps fetch, so when Plexa
replies 402 Payment Required it reads the payment requirements, signs a USDC authorization with your
wallet (locally), and retries. The signed authorization is the only thing that leaves your machine —
never the key. Payment is made on CHAIN, so you fund one wallet on one chain.
If no AGENT_WALLET_KEY is set, the tools return an honest 402 error explaining a funded wallet is
needed — they never fabricate a result.
Example
Once configured, just ask your agent naturally — it will call the tools:
"Before I buy this token
0x…on Base, check it with Plexa and get me an executable quote for $500."
The agent calls plexa_pretrade_check (verdict + reasons) and plexa_quote (executable price under
$500), pays $0.05 + $0.02 in USDC automatically, and answers with real on-chain economics.
Notes
Client-only. Talks to the public Plexa API over HTTPS. No service internals ship in this package.
Honest failures. A non-2xx response or a network error becomes a loud tool error — never a clean-looking empty result. An agent can always tell a failure from a pass.
Built on the official
@modelcontextprotocol/sdk+ x402.
License
MIT — see LICENSE.
Questions: support@getplexa.com · getplexa.com
Informational on-chain data and heuristic economic signals, not financial advice. Absence of flags is not a guarantee of safety. Verify independently before trading.
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
- AlicenseAqualityDmaintenanceMCP server for pay-per-call DeFi and crypto data via x402 micropayments on Base. 8 endpoints: token prices, TVL, funding rates, token security, gas tracker, whale monitoring, wallet profiling, and yield scanning.846MIT
- FlicenseNot gradedqualityCmaintenancePay-per-call MCP server for checking MEV exposure, sandwich attacks, and pool MEV density on EVM chains, with no signup or API key required.
- FlicenseNot gradedqualityBmaintenanceA monetizable remote MCP server that provides prediction-market intelligence tools for AI agents, enabling discovery, evaluation, and mispricing detection across venues like Polymarket and Kalshi with per-call payment.1
- AlicenseNot gradedqualityCmaintenanceMCP server that provides AI agents with pay-per-call access to a suite of tools (honeypot check, token market, DeFi yields, etc.) via USDC on Base using the x402 protocol.23MIT
Related MCP Connectors
Metered MCP tools: free discovery over MCP; per-call execution settled in USDC via x402 v2.
Hosted MCP server for LLM cost estimation, model comparison, and budget-aware routing.
A paid remote MCP for CLI tool MCP, built to return verdicts, receipts, usage logs, and audit-ready
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/plexa-xyz/mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server