MCP Proxy Server
by ptbsare
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | Port for the proxy server's HTTP-based endpoints | 3663 |
| LOGGING | No | Controls the minimum log level output. Possible values: error, warn, info, debug. | info |
| ALLOWED_KEYS | No | Comma-separated list of API keys to secure the proxy's HTTP-based endpoints (/sse, /mcp). Clients must provide a key via X-Api-Key header or ?key= query parameter. | |
| TOOLS_FOLDER | No | Base directory for Stdio server installations initiated via the Admin UI. Defaults to a 'tools' subdirectory within the proxy server's working directory if not set. | |
| ADMIN_PASSWORD | No | Password for Admin UI login. | password |
| ADMIN_USERNAME | No | Username for Admin UI login. | admin |
| ALLOWED_TOKENS | No | Comma-separated list of Bearer Tokens to secure the proxy's HTTP-based endpoints (/sse, /mcp). Clients must provide a token via Authorization: Bearer header. | |
| SESSION_SECRET | No | Secret used to sign session cookies. If not set, a default less secure secret is used. | |
| ENABLE_ADMIN_UI | No | Set to 'true' to enable the Web Admin UI (only applicable in SSE mode). | false |
| RETRY_SSE_TOOL_CALL | No | Controls whether to enable retries for SSE tool calls. Set to 'true' to enable, 'false' to disable. | true |
| RETRY_HTTP_TOOL_CALL | No | Controls whether to retry on HTTP tool call connection errors. Set to 'true' to enable, 'false' to disable. | true |
| RETRY_STDIO_TOOL_CALL | No | Controls whether to retry on Stdio tool call connection errors (attempts to restart the process). Set to 'true' to enable, 'false' to disable. | true |
| SERVER_TOOLNAME_SEPERATOR | No | Separator used to combine server name and tool name when generating unique keys. Must be at least 2 characters and contain only letters, numbers, hyphens, and underscores. | __ |
| SSE_TOOL_CALL_MAX_RETRIES | No | Maximum number of retry attempts for SSE tool calls (after the initial failure). | 2 |
| HTTP_TOOL_CALL_MAX_RETRIES | No | Maximum number of retry attempts for HTTP tool calls (after the initial failure). | 2 |
| STDIO_TOOL_CALL_MAX_RETRIES | No | Maximum number of retry attempts for Stdio tool calls (after the initial failure). | 2 |
| RETRY_SSE_TOOL_CALL_ON_DISCONNECT | No | Controls whether to enable automatic reconnect and retry for SSE tool calls when the underlying connection is lost. Set to 'true' to enable, 'false' to disable. | true |
| SSE_TOOL_CALL_RETRY_DELAY_BASE_MS | No | Base delay in milliseconds for SSE tool call retries, used in exponential backoff. | 300 |
| HTTP_TOOL_CALL_RETRY_DELAY_BASE_MS | No | Base delay in milliseconds for HTTP tool call retries, used in exponential backoff. | 300 |
| STDIO_TOOL_CALL_RETRY_DELAY_BASE_MS | No | Base delay in milliseconds for Stdio tool call retries, used in exponential backoff. | 300 |
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
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/ptbsare/mcp-proxy-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server