evaluate_pool
Evaluate LP position risk and calculate R_net & breakeven corridor.
apy必填days_heldprice_ratio必填
io.github.Faouzi122由 GitHub 账号 Faouzi122 发布v2.0.1更新于 Nov 2, 2026
R_net LP risk evaluator for DeFAI agents. IL + Breakeven Corridor O(1). L402 Lightning paywall.
发布方自己的服务:Engine Travel Platform
远程 MCP 端点,为恒定乘积型 LP 仓位计算无常损失风险与盈亏平衡区间,让助手在投入资金前先做风险核查。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/io.github.Faouzi122%2Farsenal-decision-engine/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。把它添加到你客户端的 mcpServers 配置中。
{
"mcpServers": {
"arsenal-decision-engine": {
"type": "http",
"url": "https://api.arsenal-quant.com/mcp"
}
}
}The Risk-Validation Layer for Autonomous AI Agents (DeFAI)
[Arsenal-Quant-Project MCP server] [smithery badge]
Method and raw results are published — backtest script · result data (180 days of Binance ETH/USDC daily closes): 🔬 Breakeven Corridor is a deterministic algebraic boundary (where IL = accumulated yield). Any position whose price ratio stays within
[lower_be, upper_be]has R_net > 0 by mathematical definition — not a probabilistic model. 📐 This engine measures; it does not forecast. No predictive-accuracy figure is claimed — read the published result files and judge the method for yourself.
Transform DeFi uncertainty into deterministic, actionable risk metrics for autonomous agents. We do not run stateful trading bots or generate speculative prediction signals; we provide a stateless risk middleware layer that agents query before deploying or maintaining standard constant-product / full-range LP positions.
Built for agents. 100 free calls per IP per day — no wallet, no sign-up, custom parameters included. An L402 payment path is implemented in the gateway but is not operational in production: today, the engine is free to use.
Before an autonomous agent deploys capital or adjusts a standard constant-product / full-range LP position (such as Uniswap V2 or full-range V3), it submits the pool parameters (APY, price ratio, days held) to our API. The engine computes the exact mathematical risk, the net return ($R_{net}$), and the dynamic Breakeven Corridor bounds.
1. MCP JSON-RPC — the endpoint advertised on the MCP registry
Standard MCP handshake: initialize → tools/list → tools/call. Available over
streamable HTTP and stdio.
2. REST convenience route — no MCP client required
Both routes run the same calculation and the same quota. Note that
/mcp/evaluate is GET-only: a POST to that path returns 405 Allow: GET,
because JSON-RPC belongs on /mcp.
layer reports how the call was served: FREE while inside the free quota,
PREMIUM once an L402 payment has been verified. The call shown above is
served as FREE.
evaluate_pool: 100 calls per IP per day, custom parameters
included. No Lightning wallet is needed. This is the only tier currently in
service.402 with a WWW-Authenticate header. The payment rail is not operational in
production — invoices issued today are not settleable, and no payment is expected
or accepted. Treat the paid tier as announced, not available.GET /mcp/audit/latest: 3 free calls per IP per hour; beyond that the route
returns 402. That response documents the protocol; it is not a live payment path.COOKBOOK.mdhttps://api.arsenal-quant.com/.well-known/mcp/server-card.jsonThis engine does not prevent losses, and it makes no claim about how much money it saves you. What it does is compute — deterministically, in $\mathcal{O}(1)$ — whether a position sits above or below its breakeven boundary. Each response carries an HMAC tag over the result, which lets the engine detect tampering with its own output; it is a symmetric provenance marker, not a proof a third party can verify independently.
The intended model is per-call pricing, so the cost can be budgeted like any other input. That model is not yet in service: today every call is free.
来源:README.md,提交 c84bac2
Evaluate LP position risk and calculate R_net & breakeven corridor.
apy必填days_heldprice_ratio必填已满足适用检查项的 75%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
com.engine官方发布者
远程 MCP 服务器,让助手在 Engine 中搜索并预订酒店、缩短或取消住宿,并查询支持工单。

由 GitHub 账号 davenamovich 发布
一个提示词即可生成表情包、广告和Jobless Joe节目:先出预览页面,批准后生成MP4。AI 翻译
io.pegasusalpha
面向金融分析的 AI 股票研究引擎远程 MCP 端点,为助手提供带引用和截止日期的论断、链条与情景。

由 GitHub 账号 RitualDev-Lab 发布
一个可直接嵌入的计费与付费墙中间件库,让 MCP 服务器作者按工具调用次数或订阅向用户收费。

由 GitHub 账号 SamayW 发布
Samay Wadhwani 的 Scope 让助手编写 HTML 并将其渲染为视频,支持字幕、动态图形和 MP4 输出。
POST https://api.arsenal-quant.com/mcp{"jsonrpc":"2.0","id":1,"method":"tools/call", "params":{"name":"evaluate_pool", "arguments":{"apy":0.20,"price_ratio":0.85,"days_held":30}}}GET https://api.arsenal-quant.com/mcp/evaluate?apy=0.20&price_ratio=0.85&days_held=30{ "impermanent_loss_pct": 0.3292, "accumulated_yield_pct": 1.6438, "r_net_pct": 1.3146, "il_to_yield_ratio": 0.2, "risk_level": "LOW", "breakeven_corridor": { "lower_ratio": 0.6941, "upper_ratio": 1.4407, "interpretation": "Position remains profitable if price ratio stays within [0.6941, 1.4407]" }, "inputs": { "apy": 0.2, "price_ratio": 0.85, "days_held": 30 }, "source": "Arsenal Decision Engine v2.0", "oracle_signature": "<HMAC-SHA256 hex — illustrative placeholder, yours will differ>", "layer": "FREE"}import urllib.requestimport urllib.errorimport jsonimport reimport os
API_URL = "https://api.arsenal-quant.com/mcp/evaluate?apy=0.20&price_ratio=0.85&days_held=30"LNBITS_URL = "https://demo.lnbits.com"
# LNbits requires a wallet key with send permission to pay an invoice.# Use a DEDICATED wallet funded with a small working balance, and never the key# of a wallet holding significant funds. Keep it in the environment, never in code.LNBITS_PAYMENT_KEY = os.getenv("LNBITS_PAYMENT_KEY")
def query_risk_oracle(): req = urllib.request.Request(API_URL, method="GET") req.add_header("x-agent-id", "autonomous-lp-bot")
try: with urllib.request.urlopen(req) as resp: return json.loads(resp.read().decode('utf-8')) except urllib.error.HTTPError as e: if e.code == 402: auth_header = e.headers.get("WWW-Authenticate") macaroon = re.search(r'token="([^"]+)"', auth_header).group(1) invoice = re.search(r'invoice="([^"]+)"', auth_header).group(1)
pay_req = urllib.request.Request( f"{LNBITS_URL}/api/v1/payments", data=json.dumps({"out": True, "bolt11": invoice}).encode(), headers={"X-Api-Key": LNBITS_PAYMENT_KEY, "Content-Type": "application/json"} ) with urllib.request.urlopen(pay_req) as pay_resp: preimage = json.loads(pay_resp.read().decode())["preimage"]
retry_req = urllib.request.Request(API_URL, method="GET") retry_req.add_header("Authorization", f"L402 {macaroon}:{preimage}") retry_req.add_header("x-agent-id", "autonomous-lp-bot")
with urllib.request.urlopen(retry_req) as final_resp: return json.loads(final_resp.read().decode('utf-8')) else: raise
if __name__ == "__main__": evaluation = query_risk_oracle() print(f"Risk Level : {evaluation['risk_level']}") print(f"R_net : {evaluation['r_net_pct']:+.4f}%") print(f"Breakeven : [{evaluation['breakeven_corridor']['lower_ratio']}, {evaluation['breakeven_corridor']['upper_ratio']}]")