MCP Server Hub
by KbnCodes
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | Listen port (Railway injects this). | 8080 |
| AUDIT_LOG | No | Log one structured JSON line per MCP request (ip, server, method, tool, status). | false |
| AUTH_TOKEN | Yes | Bearer token for /mcp/* and /api/*. Auto-generated by the Railway template. | |
| PUBLIC_URL | No | Canonical scheme://host used in auth challenges and RFC 9728 metadata. | |
| MEMORY_FILE | No | File path (on a volume) to persist the memory server, e.g. /data/memory.json. | |
| DATABASE_URL | No | Postgres connection string; activates the postgres server (read-only). | |
| GITHUB_TOKEN | No | GitHub PAT; activates the github server. | |
| ALLOW_NO_AUTH | No | Explicit opt-in to run without authentication (the hub refuses to start otherwise when AUTH_TOKEN is unset). | false |
| MAX_BODY_BYTES | No | Max JSON request body size in bytes. | 1000000 |
| RATE_LIMIT_RPM | No | Requests per minute per IP on /mcp/* and /api/*; 429 beyond. | 120 |
| ENABLED_SERVERS | No | Comma-separated server ids (utils,fetch,memory,github,postgres) or 'all'. | all |
| FETCH_MAX_BYTES | No | Max bytes fetched per request by the fetch server. | 1000000 |
| FETCH_ALLOW_HOSTS | No | Comma-separated hostname allowlist for the fetch server. | |
| STRICT_HEADER_VALIDATION | No | Reject Mcp-Method header/body mismatches (2026-07-28 behavior) instead of warning. | false |
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/KbnCodes/mcp-server-hub'
If you have feedback or need assistance with the MCP directory API, please join our Discord server