Self-hosted MCP server for Claude
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | Port for the server (default 4500) | |
| MCP_PASS | Yes | Password for OAuth login (min 20 characters) | |
| MCP_USER | Yes | Username for OAuth login | |
| GITHUB_OWNER | No | GitHub owner/username for github_api | |
| GITHUB_TOKEN | No | GitHub Personal Access Token for github_api tool | |
| HOSTS_CONFIG | No | Path to hosts.json (default ./hosts.json) | |
| MCP_BASE_URL | Yes | Base URL of the MCP server (e.g., https://your-domain.com) | |
| EXEC_BUFFER_MB | No | Execution buffer in MB (default 10) | |
| MCP_ALLOWED_IPS | No | Comma-separated static IPs/CIDRs | |
| MCP_AUTO_ENROLL | No | Enable auto-enroll (true/false, default true) | |
| MCP_SERVER_NAME | No | Name of the MCP server (default my-mcp-server) | |
| MCP_TRUST_PROXY | No | Trust proxy setting (loopback, false, or comma-separated IPs) | |
| OAUTH_STATE_FILE | No | Path to OAuth state file (default ./oauth-state.json) | |
| TOKEN_TTL_SECONDS | No | Token TTL in seconds (default 2592000) | |
| CLIENT_TTL_SECONDS | No | Client TTL in seconds (default 7776000) | |
| EXEC_TIMEOUT_SECONDS | No | Per-command timeout in seconds (default 120) | |
| AUTH_CODE_TTL_SECONDS | No | Auth code TTL in seconds (default 600) | |
| MCP_ENROLL_TTL_SECONDS | No | Auto-enroll TTL in seconds (default 2592000) |
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
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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