Skip to main content
Glama

EigenLayer MCP Server

Official
by Layr-Labs
README.md2.16 kB
# EigenLayer MCP Server built on Next.js ## Features - Provides EigenLayer documentation to Claude or other AI assistants via MCP - Runs as a standalone server locally or as a serverless function on Vercel Inspired by initial testing [here](https://x.com/dabit3/status/1902502245855383724). Cloned from [Vercel Next.js MCP template](https://vercel.com/templates/next.js/model-context-protocol-mcp-with-next-js) # Test the public endpoint with Claude: 1) Add the live URL to Claude via the following command (in any folder): ```claude mcp add --transport sse eigenlayer-mcp-server https://eigenlayer-mcp-server-sand.vercel.app/sse``` 2) Install [Claude Code](https://docs.anthropic.com/en/docs/agents-and-tools/claude-code/overview). Run command `claude` to enter Claude Code and confirm the mcp server is added 3) Test with a query like "Can you explain how EigenLayer's restaking mechanism works?" # Build, Run, Testing Locally In terminal window 1 ``` rm -rf .next node_modules .vercel pnpm store prune pnpm install pnpm build pnpm dev node scripts/test-client.mjs https://localhost:3000 ``` In terminal window 2 Test with MCP Inspector ``` npx @modelcontextprotocol/inspector node public/index.js ``` Additional notes [here](https://github.com/modelcontextprotocol/inspector). ## Add to Claude Code ``` claude mcp add ``` (then follow on screen instructions) ## Sample Client `script/test-client.mjs` contains a sample client to try invocations. ```sh node scripts/test-client.mjs http://localhost:3000 ``` ## Security Bugs Please report security vulnerabilities to security@eigenlabs.org. Do NOT report security bugs via Github Issues. ## Disclaimer 🚧 EigenLayer MCP Server is under active development and has not been audited. EigenLayer MCP Server is rapidly being upgraded, features may be added, removed or otherwise improved or modified and interfaces will have breaking changes. EigenLayer MCP Server should be used only for testing purposes and not in production. EigenLayer MCP Server is provided "as is" and Eigen Labs, Inc. does not guarantee its functionality or provide support for its use in production. 🚧

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Layr-Labs/eigenlayer-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server