Skip to main content
Glama
juliengrelet

Wisembly MCP Server

by juliengrelet
getSessions.ts678 B
import { z } from "zod"; import { getSessions as getSessionsApi } from "../api/getSessions.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 getSessions = (server: McpServer): void => { createTool( server, "get_wisembly_sessions", "Fetch sessions data from the Wisembly API by event id", getEventSchema, async ({ keyword }: GetEvent) => await getSessionsApi({ keyword }) ); }; export { getSessions }

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