Skip to main content
Glama
juliengrelet

Wisembly MCP Server

by juliengrelet
getEvent.ts658 B
import { z } from "zod"; import { getEvent as getEventApi } from "../api/getEvent.js"; import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; import { createTool } from "../utils/createTool.js"; import { GetEvent } from "../interfaces/event.js"; const getEventSchema = z.object({ keyword: z.string().describe("The keyword to search for in the Wisembly API") }); const getEvent = (server: McpServer): void => { createTool( server, "get_wisembly_event", "Fetch event data from the Wisembly API for any keyword", getEventSchema, async ({ keyword }: GetEvent) => await getEventApi({ keyword }) ); }; export { getEvent }

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/juliengrelet/mcp-wisembly'

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