Skip to main content
Glama

Blockchain MCP Server

by lienhage
index.ts•710 B
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; import { FourByteService } from "./fourbyte.js"; import { AbiEncoder } from "./abi-encoder.js"; import { UtilsService } from "./utils.js"; export class CastCommands { private fourByteService: FourByteService; private abiEncoder: AbiEncoder; private utilsService: UtilsService; constructor() { this.fourByteService = new FourByteService(); this.abiEncoder = new AbiEncoder(); this.utilsService = new UtilsService(); } registerWithServer(server: McpServer) { this.fourByteService.registerWithServer(server); this.abiEncoder.registerWithServer(server); this.utilsService.registerWithServer(server); } }

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/lienhage/blockchain-mcp'

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