Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HOST | No | Bind address for the app | 127.0.0.1 |
| PORT | No | Port the server listens on | 4444 |
| APP_NAME | No | Gateway / OpenAPI title | MCP Gateway |
| MCP_AUTH | No | Bearer token used by mcpgateway.wrapper for authentication | |
| DATABASE_URL | No | SQLAlchemy connection URL (e.g., sqlite:///./mcp.db or postgresql+psycopg://user:password@localhost:5432/mcp) | sqlite:///./mcp.db |
| JWT_SECRET_KEY | No | Secret key used to sign JWT tokens for API access | my-test-key |
| MCP_SERVER_URL | No | The URL of the virtual server to connect to (used by mcpgateway.wrapper) | |
| BASIC_AUTH_USER | No | Username for Admin UI login and HTTP Basic authentication | admin |
| BASIC_AUTH_PASSWORD | No | Password for Admin UI login and HTTP Basic authentication | changeme |
| PLATFORM_ADMIN_EMAIL | No | Email for bootstrap platform admin user (auto-created with admin privileges) | admin@example.com |
| MCPGATEWAY_UI_ENABLED | No | Enable the interactive Admin dashboard | false |
| MCP_TOOL_CALL_TIMEOUT | No | Tool call timeout in seconds for the wrapper | 120 |
| AUTH_ENCRYPTION_SECRET | No | Passphrase used to derive AES key for encrypting tool auth headers | my-test-salt |
| PLATFORM_ADMIN_PASSWORD | No | Password for bootstrap platform admin user | changeme |
| PLATFORM_ADMIN_FULL_NAME | No | Full name for bootstrap platform admin user | Platform Administrator |
| MCPGATEWAY_ADMIN_API_ENABLED | No | Enable API endpoints for admin operations | false |
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 | |