@junct/eigenlayer
v0.1.0
Published
eigenlayer tools for AI agents — 8 tools, MCP + OpenAI compatible. Generated by Junct.
Maintainers
Readme
@junct/eigenlayer
eigenlayer tools for AI agents — 8 tools
Generated by Junct. analytics domain.
Install
npm install @junct/eigenlayerUsage — OpenAI
import { tools } from '@junct/eigenlayer';
import OpenAI from 'openai';
const client = new OpenAI();
const response = await client.chat.completions.create({
model: 'gpt-4o',
messages: [{ role: 'user', content: 'Query eigenlayer' }],
tools,
});Usage — MCP (Claude Desktop / Cursor)
Add to your MCP config:
{
"mcpServers": {
"eigenlayer": {
"url": "https://eigenlayer.mcp.junct.dev/mcp",
"transport": "streamable-http"
}
}
}Usage — Direct Call
import { callTool } from '@junct/eigenlayer';
const result = await callTool('admin', {});
console.log(result);Tools (8)
admin— Calls admin(). Write function — may have access control restrictions (e.g. onlyOchangeAdmin— Calls changeAdmin(newAdmin: string). Write function — may have access control reimplementation— Calls implementation(). Write function — may have access control restrictions (eupgradeTo— Calls upgradeTo(newImplementation: string). Write function — may have access conupgradeToAndCall— Calls upgradeToAndCall(newImplementation: string, data: string). Requires ETH vaAdminChanged— Event emitted by the contract. Subscribe via log filters.BeaconUpgraded— Event emitted by the contract. Indexed fields (filterable): beacon. Subscribe viUpgraded— Event emitted by the contract. Indexed fields (filterable): implementation. Subs
Links
- Server: https://eigenlayer.mcp.junct.dev/mcp
- Dashboard: https://junct.dev/servers/eigenlayer
- All servers: https://junct.dev/servers
