We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/a-petukhov/firstpromoter-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
index.ts•854 B
/**
* Tool Registry
*
* This file is like a "menu" that lists all available tools.
* Each tool is defined in its own file, and this file imports
* and registers them all with the MCP server.
*
* When you add a new tool:
* 1. Create a new file in this folder (e.g., referrals.ts)
* 2. Import and call its register function here
*/
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
import { registerPromoterTools } from './promoters.js';
/**
* Registers all tools with the MCP server.
* Call this once during server startup.
*/
export function registerAllTools(server: McpServer): void {
registerPromoterTools(server);
// Future tools — uncomment as they're implemented:
// registerReferralTools(server);
// registerCommissionTools(server);
// registerPayoutTools(server);
// registerReportTools(server);
}