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 | |
This server cannot be deployed