Skip to main content
Glama
stdio.ts421 B
import type { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js"; import { trackInit } from "../analytics"; export async function runStdio(server: McpServer): Promise<void> { const transport = new StdioServerTransport(); await server.connect(transport); trackInit(); console.error("PubNub MCP server running on stdio"); }

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/pubnub/pubnub-mcp-server'

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