
Getplexa
com.getplexa由 getplexa.com 发布v0.2.0更新于 Oct 26, 2026
Economic-safety tools for trading agents: executable quote + rug/honeypot pretrade check via x402.
概览
Plexa MCP 为交易代理提供可执行的成交报价和防跑路/蜜罐交易前检查,按次以 USDC 通过 x402 付费。
- 可以做什么
- 按指定规模获取代币的可执行成交价,含价格冲击、可实现的深度、路由分腿、最坏滑点和置信度
- 执行交易前检查,返回判定(仅当链上证实存在陷阱时为 avoid,否则为 clear)、原因、置信度,以及涵盖代币年龄、持仓集中度、流动性深度、退出流动性、预言机可用性和转账限制的风险画像
- 读取随附的上下文区块(身份、估值、所有权、休眠、市场),并通过来源映射标明哪些数字是实测、推导、第三方提供或不可用
- 从配置的钱包自动以 USDC 支付每次调用,授权在本地签名
- 适用场景
- 当代理需要在 Base、Polygon 或 Arbitrum 上为自动代币交易定规模或做核查时使用:某笔兑换在给定规模下真实成交价是多少,以及买入前该代币是否存在可证实的跑路、蜜罐或流动性稀薄陷阱。
- 运行要求
- 通过 npx 以 stdio 本地进程运行(需要 Node.js)。需要在 AGENT_WALLET_KEY 中提供已充值钱包私钥,并在所选链上持有 USDC;CHAIN 默认 base,也接受 polygon 或 arbitrum。PLEXA_BASE_URL 默认指向 Plexa 公共 API。需要出站 HTTPS 访问,每次调用花费 USDC(报价 0.02 美元,检查 0.05 美元)。
安装
在 SourceWeft 中
- 打开 控制台中的 Getplexa,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
@getplexa/mcp — Plexa MCP server
[license: MIT] [chains: Base · Polygon · Arbitrum] [x402] [MCP]
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:
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.
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):
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):
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.
What comes back
Beyond verdict / triggers / risk_profile / liquidityCoverage, every pre-trade
response carries six blocks of context. Live capture, WETH, 2026-08-20T14:46:29Z, Base block
50223921 — the note string each block carries is long and is cut here, nothing else is:
🔴 sources is the map of who said what. measured — ours, read off the chain on
this call. derived:<formula> — ours, computed from other fields of this same response.
vendor:<name> — somebody else's number, republished and signed as theirs.
unavailable:<reason> — no value, and the reason why. That last one is the point:
a missing number that names its own gap cannot be mistaken for a clean result.
Two numbers that look like duplicates and are not: valuation.fdvExecutableUsd is
THIS chain's supply at the price your size executes at; market.marketCapUsd is the
vendor's global figure. For a bridged token ours is legitimately smaller.
What changed in 0.2.0
A field changed MEANING, not shape. risk_profile.liquidity.exitLiquidityUsd used to be the
counter asset sitting in the direct pools. Since 2026-09-20 it is what selling the position
returns: the server quotes the sale of the very position the answer prices and reports the
proceeds of the best road (never a sum of roads).
Where the previous number lives: liquidityCoverage.exitPoolInventoryUsd — same figure as
before, under its own name. liquidityCoverage.exitPotBasis tells you which kind of number the
head figure is: position-sale (measured proceeds), second-hop (a counter-asset road) or
pool-inventory (the sale could not be quoted this call, so it fell back to the pre-20.09
meaning).
Why it matters: measured on SOGNI, 2026-09-20 — inventory $113,968 against a sale that returns
$4,571 for a $5,000 position. A client comparing the OLD pot with its own size overstated the exit
by 8.6% of that size. If your code does min(exitLiquidityUsd, size), it now gets the honest
number; if you relied on the old semantics, read exitPoolInventoryUsd instead.
Also in this release:
liquidityCoverage.exitLadderScopeandliquidityCoverage.exitReachRoadname the ROAD behind each exit number, soexitLadderStatus: "unsellable"can no longer be read as "this token cannot be sold" — it describes direct Uniswap v4 pools only, while the pot may have been measuredvia <asset>somewhere else. Measured 2026-09-22 on Base:unsellableacross 31 v4 pools while the position sold for $4,735.82 through another venue.exitPoolInventoryUsdis no longer an unconditional upper bound: when the v4 sale ladder ran, the v4 share of it is the ladder's REACH, and it never counts the second leg of a two-leg sale.- Prices are measured with a real trade's gas limit, because some Uniswap v4 hooks set their fee from the gas available to the caller.
- The contract strings in this package (prices, paths, thresholds, verdict vocabulary, the two notes above) are now GENERATED from the Plexa server sources, so they cannot drift from the API.
No field was removed and no response shape changed. The minor version moved because a published field's meaning did.
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: [email protected] · 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.
来源:README.md,提交 d94c689
工具
0版本历史
2- v0.2.0最新Sep 22, 2026
- v0.1.9Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分