EigenLayer MCP 服务器
为 EigenLayer 提供模型上下文协议(MCP)服务的 Next.js 服务器。
快速入门
功能特性
- 提供通过 MCP 向 AI 助手(如 Claude)提供 EigenLayer 文档的功能。
- 支持本地独立运行或作为 Vercel 的无服务器函数部署。
测试公共端点
- 添加 URL 至 Claude: claude mcp add --transport sse eigenlayer-mcp-server https://eigenlayer-mcp-server-sand.vercel.app/sse
- 安装并启动 Claude Code,确认服务器已添加。
- 使用查询测试功能,例如:"解释 EigenLayer 的再质押机制。"
本地构建与运行
在终端窗口 1 中执行以下命令:
rm -rf .next node_modules .vercel
pnpm store prune
pnpm install
pnpm build
pnpm dev
node scripts/test-client.mjs https://localhost:3000
在终端窗口 2 中使用 MCP Inspector 测试:
npx @modelcontextprotocol/inspector node public/index.js
注意事项
- 报告安全漏洞请发送至 security@eigenlabs.org。
- 不建议用于生产环境,当前版本仅供测试使用。