Skip to main content
Glama

DSP Booking MCP Server

by hrz8
http.ts710 B
import http from 'node:http'; import type { TransportMap } from './types.js'; import { MCP_SERVER_VERSION, MCP_SERVER_NAME } from '../utils/config.js'; import { createExpressApp } from '../app/index.js'; function listener(port: number) { return () => { console.info(`${MCP_SERVER_NAME} MCP Server (v${MCP_SERVER_VERSION}) running on HTTP port ${port}`); console.info(`Health check available at: http://localhost:${port}/health`); console.info(`MCP endpoint available at: http://localhost:${port}/mcp`); }; } export async function startHttpServer(port: number, transports: TransportMap) { const app = createExpressApp(transports); http.createServer(app).listen(port, listener(port)); }

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/hrz8/mcp-openapi'

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