Skip to main content
Glama
LeszczynskiKarol

Self-hosted MCP server for Claude

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoPort for the server (default 4500)
MCP_PASSYesPassword for OAuth login (min 20 characters)
MCP_USERYesUsername for OAuth login
GITHUB_OWNERNoGitHub owner/username for github_api
GITHUB_TOKENNoGitHub Personal Access Token for github_api tool
HOSTS_CONFIGNoPath to hosts.json (default ./hosts.json)
MCP_BASE_URLYesBase URL of the MCP server (e.g., https://your-domain.com)
EXEC_BUFFER_MBNoExecution buffer in MB (default 10)
MCP_ALLOWED_IPSNoComma-separated static IPs/CIDRs
MCP_AUTO_ENROLLNoEnable auto-enroll (true/false, default true)
MCP_SERVER_NAMENoName of the MCP server (default my-mcp-server)
MCP_TRUST_PROXYNoTrust proxy setting (loopback, false, or comma-separated IPs)
OAUTH_STATE_FILENoPath to OAuth state file (default ./oauth-state.json)
TOKEN_TTL_SECONDSNoToken TTL in seconds (default 2592000)
CLIENT_TTL_SECONDSNoClient TTL in seconds (default 7776000)
EXEC_TIMEOUT_SECONDSNoPer-command timeout in seconds (default 120)
AUTH_CODE_TTL_SECONDSNoAuth code TTL in seconds (default 600)
MCP_ENROLL_TTL_SECONDSNoAuto-enroll TTL in seconds (default 2592000)

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

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