Skip to main content
Glama

MCP TypeScript Template

ITransport.ts403 B
/** * @fileoverview Defines the interface for a communication transport. * @module src/mcp-server/transports/ITransport */ import type { ServerType } from '@hono/node-server'; import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'; export type TransportServer = ServerType | McpServer; export interface ITransport { start(): Promise<TransportServer>; stop(): Promise<void>; }

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/mintedmaterial/mcp-ts-template'

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