Skip to main content
Glama

Flutterwave MCP Server

required.ts855 B
import { ToolCallback } from "@modelcontextprotocol/sdk/server/mcp.js"; import { type Tool } from "@modelcontextprotocol/sdk/types.js"; import { z } from "zod"; import { server } from "../server.js"; const tools:any[] = []; /** * Register tool for the Flutterwave MCP Server to function */ // tools.push({ // name: "sample", // description: "Sample Tool", // inputSchema: { sample: z.string().min(1, "Sample is required").describe("Sample") }, // cb: ((args: any) => { // return { // content: [{ type: "text", text: `Sample Tool Executed with args: ${JSON.stringify(args)}` }] }; // }), // }); export async function registerRequiredTools() { // Register required tools with the server. for (const tool of tools) { server.tool(tool.name, tool.description, tool.inputSchema, tool.cb); } }

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/bajoski34/mcp-flutterwave'

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