Skip to main content
Glama

Mempool MCP Server

HelpToolsController.ts712 B
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; import { BaseToolsController } from "./base/BaseToolsController.js"; import { HelpService } from "../../application/services/HelpService.js"; export class HelpToolsController extends BaseToolsController { constructor(server: McpServer, private service: HelpService) { super(server); } protected registerTools(): void { this.registerGetBaseURL(); } private registerGetBaseURL(): void { this.server.tool( "get-base-url", "Returns mempool.space base url api", async () => { const text = await this.service.getBaseUrl(); return { content: [{ type: "text", text }] }; } ); } }

Latest Blog Posts

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/alexandresanlim/mempool-mcp-server'

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