MCP Server Wisembly
First step
This MCP Server is designed to interact with the Wisembly API. It provides a set of tools to fetch event data from the Wisembly API.
Setup
Clone the repository
Install the dependencies using
Build the project
Tools
get_wisembly_event: Fetch event data from the Wisembly API for any keyword (on PRP only for the moment)
Environment Variables
API_TOKEN: Your Wisembly API token. This is required for several futurs endpoints (POST, GET, DELETE, etc…).
Error Handling
The server defines several custom error classes to handle different types of errors:
WisemblyApiError: Base error class for all Wisembly API errorsWisemblyNotFoundError: Thrown when an event is not foundWisemblyUnauthorizedError: Thrown when unauthorized access to the Wisembly API is detectedWisemblyServerError: Thrown when a server error occurs in the Wisembly API
Response Formatting
The server uses a custom response formatter to format the data returned from the Wisembly API. The formatter includes fields such as event ID, name, description, status, start date, end date, location, organizer, participants, and URL.