Skip to main content
Glama

Sumanshu Arora

script.shβ€’414 B
#!/bin/sh # Check MCP_Transport env variable, default to stdio MCP_TRANSPORT="${MCP_TRANSPORT:-stdio}" MCP_PORT="${MCP_PORT:-7071}" if [ "$MCP_TRANSPORT" = "stdio" ]; then echo "Starting MCP server with stdio transport" >&2 /server/github-mcp-server stdio else echo "Starting MCP server with HTTP transport on port $MCP_PORT" >&2 /server/github-mcp-server serve --http --port "$MCP_PORT" "$@" fi

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/Data-Everything/mcp-server-templates'

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