We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/firehydrant/firehydrant-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
registration.ts•770 B
/*
* This file is only ever generated once on the first generation and then is free to be modified.
* Any hooks you wish to add should be registered in the initHooks function. Feel free to define them
* in this file or in separate files in the hooks folder.
*/
import { HtmlToTipTapHook } from "./custom/html-to-tiptap-request-hook.js";
import { Hooks } from "./types.js";
export function initHooks(hooks: Hooks) {
// Add hooks by calling hooks.register{ClientInit/BeforeCreateRequest/BeforeRequest/AfterSuccess/AfterError}Hook
// with an instance of a hook that implements that specific Hook interface
// Hooks are registered per SDK instance, and are valid for the lifetime of the SDK instance
hooks.registerBeforeRequestHook(new HtmlToTipTapHook());
}