io.github.lordbasilaiassistant-sudo/defi-orchestrator

编码与调试

by lordbasilaiassistant-sudo

Multi-step DeFi strategy orchestration — swaps, lending, yields on Base/EVM

什么是 io.github.lordbasilaiassistant-sudo/defi-orchestrator

Multi-step DeFi strategy orchestration — swaps, lending, yields on Base/EVM

README

Thryx MCP Servers

Smart contract scanning, multi-wallet treasury, DeFi orchestration, and gas paymaster integration for AI agents on Base.

A monorepo of four MCP (Model Context Protocol) servers built for AI agents that need to actually do things on-chain — read contracts, manage wallets, execute swaps, sponsor gas — instead of just generating text about them.

All four are published to npm and combined are pulling ~850 monthly downloads as of April 2026.


Servers

PackageWhat it doesnpm
@thryx/contract-scanner-mcp-serverSolidity security scanning. Risk score 0–100, vulnerability detection (reentrancy, hidden mint, backdoors, proxy risks, access control), source verification, calldata decoder. Call this BEFORE interacting with any unfamiliar contract.npm
@thryx/multi-wallet-mcp-serverMulti-wallet management for Base/EVM. Generate, encrypt, balance-check, distribute ETH, execute coordinated swaps across many wallets at once.npm
@thryx/defi-orchestrator-mcp-serverMulti-step DeFi strategy orchestration. Simulate, execute, and monitor compound strategies across Uniswap, Aave, Aerodrome with safety rails.npm
@thryx/gas-paymaster-mcp-serverSponsored-gas integration via The Agent Cafe paymaster. Lets agents pay gas in tokens or skip gas entirely on Base mainnet.npm

Plus @thryx/mcp-shared — the shared rate-limiter, billing layer, and EVM helpers used by all four.


Install — 30 seconds per server

Add any of these to your MCP client config (Claude Desktop, Cursor, Continue, Cline, etc.):

jsonc
{
  "mcpServers": {
    "contract-scanner": {
      "command": "npx",
      "args": ["@thryx/contract-scanner-mcp-server"]
    },
    "multi-wallet": {
      "command": "npx",
      "args": ["@thryx/multi-wallet-mcp-server"]
    },
    "defi-orchestrator": {
      "command": "npx",
      "args": ["@thryx/defi-orchestrator-mcp-server"]
    },
    "gas-paymaster": {
      "command": "npx",
      "args": ["@thryx/gas-paymaster-mcp-server"]
    }
  }
}

Restart your MCP client and the servers are live.


Free + Pro tiers

Every server has a free tier with rate limits and a Pro tier with no limits and additional tools. The free tier is genuinely useful — you do not need a Pro key to evaluate the servers or use them in personal projects.

Pro keys are linked to a thryx.fun purchase. Pass yours via the api_key parameter on any tool call, or set the THRYX_API_KEY environment variable in your MCP client config.

Free-tier limits per server (subject to change):

  • contract-scanner — 5 scans/hour for scanner_analyze_contract and scanner_compare_contracts. scanner_check_address and scanner_decode_calldata are unlimited.
  • multi-wallet — read operations unlimited, write operations rate-limited.
  • defi-orchestrator — read operations unlimited, write operations rate-limited.
  • gas-paymaster — sponsored-tx counts gated by tier.

What "MCP" means if you've never heard of it

Model Context Protocol is the open standard for connecting AI assistants to real tools. Instead of an AI agent generating "I would call your API like this…", it actually calls the API. Servers like the ones in this monorepo expose capabilities to any MCP-compatible client (Claude, Cursor, Cline, Continue, etc.) without each client needing custom integration code.

If you're building an AI agent that needs to read from or write to a Base/EVM chain — these servers save you from rebuilding all of it yourself.


Bootstrapping a complete on-chain agent in two minutes

The MCP servers are tools — but tools are most useful when they have a platform to act on. THRYX (the gasless token launchpad these servers were built for) exposes an open /api/agent/register endpoint that gives any AI agent a wallet, an API key, and pre-sponsored gas in a single HTTP call. No KYC, no email verification, no account recovery flow — one call, you're live on Base mainnet.

bash
# 1. Register an agent on THRYX (one call → wallet + API key + gas)
curl -X POST https://thryx-launchpad.onrender.com/api/agent/register \
  -H "Content-Type: application/json" \
  -d '{"name": "my-agent"}'

# Response includes:
#   apiKey:  thryx_<base64url>
#   wallet:  0x...
#   gas:     "Gas is being sponsored to your wallet now (~5-10 seconds)"
jsonc
// 2. Add the @thryx/* MCP servers to your client config (with the API key from step 1)
{
  "mcpServers": {
    "contract-scanner": {
      "command": "npx",
      "args": ["@thryx/contract-scanner-mcp-server"],
      "env": { "THRYX_API_KEY": "thryx_..." }
    },
    "multi-wallet": {
      "command": "npx",
      "args": ["@thryx/multi-wallet-mcp-server"],
      "env": { "THRYX_API_KEY": "thryx_..." }
    },
    "defi-orchestrator": {
      "command": "npx",
      "args": ["@thryx/defi-orchestrator-mcp-server"],
      "env": { "THRYX_API_KEY": "thryx_..." }
    },
    "gas-paymaster": {
      "command": "npx",
      "args": ["@thryx/gas-paymaster-mcp-server"],
      "env": { "THRYX_API_KEY": "thryx_..." }
    }
  }
}

That's it. Your agent has a funded wallet on Base, can scan any contract before interacting with it (scanner_analyze_contract), can launch its own token gaslessly (POST /api/launch), can buy/sell on the THRYX bonding curves, and can withdraw earnings to any address (POST /api/agent/withdraw).

The MCP servers and the THRYX platform are designed to compose. You can use either alone — the servers work against any Base contract and the platform accepts any wallet — but together they're the fastest path from "I want to build a Base on-chain agent" to "my agent just made its first onchain trade."


Building from source

bash
git clone https://github.com/lordbasilaiassistant-sudo/mcp-servers.git
cd mcp-servers
cd shared && npm install && npm run build && cd ..
cd contract-scanner-mcp-server && npm install && npm run build && cd ..
# ... or any other server you want to work on

Each server is independently built and published. The shared package exports rate limiting, billing validation, EVM helpers, and chain configs.

Tech stack: TypeScript (strict), @modelcontextprotocol/sdk, ethers v6, zod for schema validation, vitest for tests, stdio transport. Builds with tsc only — no bundlers, no magic.


Status

  • Production for the four servers above. Live on npm, in active use by AI agents on Base mainnet.
  • In progress: token-deployer-mcp-server, webhook-worker (Cloudflare Worker for Stripe → API key delivery).
  • Roadmap: x402-based pay-per-call for the Pro tools (replacing the Stripe webhook flow with USDC micropayments — no API keys to manage, no subscriptions to revoke, agents pay per execution).

Author

Anthony Snider (drlordbasil@gmail.com) — building AI agent infrastructure on Base. Find more at thryx.fun.

License: MIT.

常见问题

io.github.lordbasilaiassistant-sudo/defi-orchestrator 是什么?

Multi-step DeFi strategy orchestration — swaps, lending, yields on Base/EVM

相关 Skills

网页构建器

by anthropics

Universal
热门

面向复杂 claude.ai HTML artifact 开发,快速初始化 React + Tailwind CSS + shadcn/ui 项目并打包为单文件 HTML,适合需要状态管理、路由或多组件交互的页面。

在 claude.ai 里做复杂网页 Artifact 很省心,多组件、状态和路由都能顺手搭起来,React、Tailwind 与 shadcn/ui 组合效率高、成品也更精致。

编码与调试
未扫描114.1k

前端设计

by anthropics

Universal
热门

面向组件、页面、海报和 Web 应用开发,按鲜明视觉方向生成可直接落地的前端代码与高质感 UI,适合做 landing page、Dashboard 或美化现有界面,避开千篇一律的 AI 审美。

想把页面做得既能上线又有设计感,就用前端设计:组件到整站都能产出,难得的是能避开千篇一律的 AI 味。

编码与调试
未扫描114.1k

网页应用测试

by anthropics

Universal
热门

用 Playwright 为本地 Web 应用编写自动化测试,支持启动开发服务器、校验前端交互、排查 UI 异常、抓取截图与浏览器日志,适合调试动态页面和回归验证。

借助 Playwright 一站式验证本地 Web 应用前端功能,调 UI 时还能同步查看日志和截图,定位问题更快。

编码与调试
未扫描114.1k

相关 MCP Server

GitHub

编辑精选

by GitHub

热门

GitHub 是 MCP 官方参考服务器,让 Claude 直接读写你的代码仓库和 Issues。

这个参考服务器解决了开发者想让 AI 安全访问 GitHub 数据的问题,适合需要自动化代码审查或 Issue 管理的团队。但注意它只是参考实现,生产环境得自己加固安全。

编码与调试
83.4k

by Context7

热门

Context7 是实时拉取最新文档和代码示例的智能助手,让你告别过时资料。

它能解决开发者查找文档时信息滞后的问题,特别适合快速上手新库或跟进更新。不过,依赖外部源可能导致偶尔的数据延迟,建议结合官方文档使用。

编码与调试
52.2k

by tldraw

热门

tldraw 是让 AI 助手直接在无限画布上绘图和协作的 MCP 服务器。

这解决了 AI 只能输出文本、无法视觉化协作的痛点——想象让 Claude 帮你画流程图或白板讨论。最适合需要快速原型设计或头脑风暴的开发者。不过,目前它只是个基础连接器,你得自己搭建画布应用才能发挥全部潜力。

编码与调试
46.3k

评论