Skip to main content
Glama

GitHub MCP Server

index.ts553 B
import { Server } from "@modelcontextprotocol/sdk/server/index.js"; import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js"; import { setupHandlers } from "./handlers.js"; const server = new Server( { name: "github-mcp", version: "1.0.0" }, { capabilities: { prompts: {}, // enable prompts tools: {} // enable tools } } ); setupHandlers(server); const transport = new StdioServerTransport(); await server.connect(transport); console.info("connected...")

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/alsonwangkhem/github-mcp-2'

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