Skip to main content
Glama

MCP Hello World

by MillCityAI
cors.ts•339 B
import type { FastifyInstance } from 'fastify'; import cors from '@fastify/cors'; export async function setupCors(fastify: FastifyInstance) { await fastify.register(cors, { origin: '*', methods: ['GET', 'POST', 'OPTIONS'], allowedHeaders: ['Content-Type', 'Authorization', 'X-Requested-With'], credentials: false }); }

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/MillCityAI/mcp-hello-world'

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