Skip to main content
Glama
stdio.ts388 B
import { Server } from '@modelcontextprotocol/sdk/server/index.js'; import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js'; /** * Runs the MCP server using stdio transport (for CLI/pipe communication) */ export async function runStdioServer(server: Server): Promise<void> { const transport = new StdioServerTransport(); await server.connect(transport); }

Latest Blog Posts

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/dlasky/mcp-memory-vec'

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