Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GH_HOSTNoTarget a GitHub Enterprise hostname instead of github.com.unset (github.com)
GH_TOKENNogh CLI's own token env vars. Leave unset to use whatever gh auth login already configured.unset
GITHUB_TOKENNogh CLI's own token env vars. Leave unset to use whatever gh auth login already configured.unset
GHCLI_MCP_CLI_PATHNoPath to the gh binary.gh resolved via PATH
GHCLI_MCP_ALLOW_WRITENo"true" to permit state-changing commands at all (still needs confirm=true per call).false
GHCLI_MCP_ALLOWED_REPOSNoComma-separated allowlist of owner/repo values, e.g. "me/proj,me/other". Only enforced when a call passes an explicit -R/--repo flag.unset (unrestricted)

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/FerhatDundar/ghcli-mcp-connector'

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