Skip to main content
Glama

Superglue MCP

Official
by superglue-ai
registry.ts611 B
import { FastifyInstance } from 'fastify'; import { ApiModule } from './types.js'; const modules: ApiModule[] = []; export function registerApiModule(module: ApiModule): void { modules.push(module); } // This adds a v1 prefix to all routes export async function registerAllRoutes(fastify: FastifyInstance): Promise<void> { for (const module of modules) { for (const route of module.routes) { const fullPath = `/v1${route.path}`; fastify.route({ method: route.method, url: fullPath, handler: route.handler, schema: route.schema }); } } }

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/superglue-ai/superglue'

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