# Plexa Xyz MCP [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/plexa-xyz/mcp  
**GitHub Stars:** 0  
**npm Downloads (last month):** 479  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/mcp-90

## Description
Economic-safety tools for trading agents: executable quote + rug/honeypot pretrade check via x402.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "plexa-xyz-mcp": {
    "command": "npx",
    "args": ["-y","@getplexa/mcp"],
    "env": {
      "PLEXA_BASE_URL": "",
      "AGENT_WALLET_KEY": "",
      "CHAIN": ""
    }
  }
}
```

**Requires environment variables:** `PLEXA_BASE_URL`, `AGENT_WALLET_KEY`, `CHAIN` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## 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.

_Full upstream README: https://allmcps.com/mcp/mcp-90/readme_

