Plexa Xyz MCP logo

Plexa Xyz MCP

MCP tools for executable token quotes and on-chain pretrade checks, paid per request in USDC through x402.

Install Plexa Xyz MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "mcp-90": {
      "command": "npx",
      "args": [
        "-y",
        "@getplexa/mcp"
      ],
      "env": {
        "PLEXA_BASE_URL": "YOUR_VALUE_HERE",
        "AGENT_WALLET_KEY": "YOUR_VALUE_HERE",
        "CHAIN": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env PLEXA_BASE_URL=YOUR_VALUE_HERE --env AGENT_WALLET_KEY=YOUR_VALUE_HERE --env CHAIN=YOUR_VALUE_HERE --transport stdio mcp-90 -- npx -y @getplexa/mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We hit an unexpected error while testing this listing automatically.

npx -y @getplexa/mcp

Rate limit exceeded, please try again later - you have reached the maximum number of concurrent E2B sandboxes (20). If you need more, please visit 'https://e2b.dev/docs/billing'

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

Plexa Xyz MCP MCP server exposes Plexa’s executable quote and pretrade safety checks to MCP clients. It calls the public Plexa API, handles x402 USDC payments, and signs payment authorizations locally with a funded wallet. Use it when a trading agent needs size-aware execution data or evidence about liquidity, trading restrictions, and possible rug or honeypot conditions. Quotes support Base, Polygon, and Arbitrum; pretrade checks are currently Base-only.

Use cases

  • Price a token sale or purchase at a specified size
  • Check a token for provable rug or honeypot conditions
  • Compare executable liquidity with vendor market data
  • Gate an automated trade on pretrade evidence

Key features

  • Executable size-aware quotes
  • On-chain pretrade trap checks
  • USDC x402 payment per call
  • Local wallet signing
  • Liquidity and route analysis
  • Source-labeled response fields

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

26/27 checks healthy over the last 117d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 12d ago via OSV.dev · @getplexa/mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads479Package downloads in the last 30 days.
Last commit2mo agoMost recent push to the default branch.
Install checkInconclusiveWe hit an unexpected error running the automated check.

How Plexa Xyz MCP works

What Plexa Xyz MCP does

Plexa Xyz MCP MCP server provides two tools for automated trading workflows: plexa_quote and plexa_pretrade_check. The quote tool returns an executable fill price for a requested trade size rather than a simple spot or midpoint price. Its response can include price impact in basis points, realizable depth, route details, worst-case slippage, and confidence.

The pretrade tool examines a token before a trade. Its verdict is avoid only when a listed trap is proven on-chain at the relevant block, such as having no pool to exit into, having a counter-asset pot below 5% of the position size, or having its trading gate disabled. clear means no provable trap was found; it is not a claim that the token is safe. The response also includes a risk profile, reasons, confidence, an executable quote, and fields covering liquidity, holder concentration, token age, oracle availability, and transfer limits.

How it works

Plexa Xyz MCP MCP server acts as a thin client for https://api.getplexa.com. The liquidity and analysis services remain behind that API. When the API returns HTTP 402, the MCP process reads the payment requirements, signs a USDC EIP-3009 authorization locally, and retries the request. The private key itself is not sent to Plexa. Results are served after payment settles on-chain.

Quote calls cost $0.02 and pretrade checks cost $0.05. Payment uses the configured chain and wallet, so the wallet must hold USDC on that chain. Responses identify data sources, distinguishing measured on-chain values, derived fields, vendor data, and unavailable values with stated reasons. Valuation based on executable price and the vendor’s market-cap figure are separate measurements.

Setup and configuration

No package installation is required on the client side. Configure an MCP client to run npx -y @getplexa/mcp.

Set AGENT_WALLET_KEY to a funded wallet private key. A dedicated, low-balance wallet is recommended, and the key should be stored using the client’s secret-management facility when available. PLEXA_BASE_URL defaults to the public API URL. CHAIN defaults to base and accepts base, polygon, or arbitrum, along with documented aliases and CAIP-2 identifiers.

Tools and capabilities

  • Call plexa_quote for size-dependent execution estimates.
  • Call plexa_pretrade_check for trap detection and risk context.
  • Pay each request automatically with x402 USDC.
  • Query quotes on Base, Polygon, or Arbitrum.
  • Receive Base-only pretrade analysis with executable exit information.

Limitations and notes

Pretrade checks on Polygon and Arbitrum currently return 422. A missing wallet key produces a 402 error rather than fabricated data. The clear verdict is limited to the absence of a proven listed trap. Some fields can be unavailable, and the response reports why.

In current responses, risk_profile.liquidity.exitLiquidityUsd represents the proceeds from selling the priced position, while liquidityCoverage.exitPoolInventoryUsd preserves the earlier pool-inventory measure. Exit fields can describe different routes, so direct-pool status should not automatically be interpreted as the result for every possible route.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Plexa Xyz MCP

Plexa Xyz MCP is an MCP server that connects trading agents to Plexa’s public API for executable token quotes and pretrade safety analysis. Its main tools, `plexa_quote` and `plexa_pretrade_check`, return size-aware pricing, liquidity data, trap verdicts, risk fields, and related evidence while handling x402 USDC payment.

Install nothing manually; configure your MCP client to run `npx -y @getplexa/mcp`. Add the server and its environment variables to Claude Desktop or Cursor, then restart the client. The tools should appear as `plexa_quote` and `plexa_pretrade_check`.

Set `AGENT_WALLET_KEY` to a funded wallet private key and keep it in the client’s secret storage when possible. The wallet pays each request in USDC and signs the authorization locally. Fund it on the chain selected by `CHAIN`.

Yes, Plexa Xyz MCP works with Cursor through its MCP configuration. Add the same `mcpServers` definition used for the package, including the command, arguments, and environment variables, in Cursor’s MCP settings or `~/.cursor/mcp.json`.

Quotes support Base, Polygon, and Arbitrum. The pretrade check is Base-only at present; requests for Polygon or Arbitrum pretrade checks return 422. The selected chain also determines where the payment wallet must hold USDC.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewPlexa Xyz MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mcp-90?style=directory)](https://allmcps.com/mcp/mcp-90)
HTML Embed
<a href="https://allmcps.com/mcp/mcp-90"><img src="https://allmcps.com/api/badge/mcp-90?style=directory" alt="Plexa Xyz MCP on AllMCPs" /></a>