Skip to main content
Glama
github-mcp
by marciob

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoListen address. Use 0.0.0.0 in Docker.127.0.0.1
PORTNoListen port.7814
REPOSNoRepositories that the tools can touch, such as alice/*,acme/api. Default * (all repositories the token can reach).*
DATA_DIRNoDirectory for OAuth clients and tokens.~/.github-mcp
READ_ONLYNoSet to 1 to expose only the read tools.off
AUTH_SCOPENoVercel/serverless only: scope of this server.github
PUBLIC_URLYesPublic https address of the MCP endpoint, with a random path, such as https://host.example/3f9a….
ADMIN_TOKENNoPlain form of ADMIN_TOKEN_FILE.
AUTH_SERVERNoVercel/serverless only: issuer URL of the external OAuth server.
GITHUB_TOKENNoPlain form of GITHUB_TOKEN_FILE. Required unless GITHUB_TOKEN_FILE is set; a file is safer because a process list or log can show a variable.
GITHUB_API_URLNoGitHub API URL; for GitHub Enterprise Server.https://api.github.com
APPROVAL_SECRETNoPlain form of APPROVAL_SECRET_FILE.
ADMIN_TOKEN_FILENoFile containing a fixed bearer token for curl or clients that take a header; 32 characters or more.
GITHUB_TOKEN_FILENoFile with the GitHub token, mode 600. Required unless GITHUB_TOKEN is set.
PROTECTED_BRANCHESNoBranches with no force reset and no delete, such as main,release/*.
TOKEN_DATABASE_URLNoVercel/serverless only: Neon connection string of the token table.
APPROVAL_SECRET_FILENoFile containing the secret that the approval page asks for. Defaults to DATA_DIR/approval.secret.
ALLOWED_REDIRECT_HOSTSNoOAuth redirect hosts. * allows any https host.Gemini, claude.ai, localhost

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

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