MCP Azure Storage Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | Server listen port | 3000 |
| MCP_API_KEY | No | API key for client authentication | |
| CORS_ENABLED | No | Enable CORS headers for browser-based clients (MCP Inspector, web chat). Set false in production if only non-browser clients connect. | true |
| MAX_SESSIONS | No | Maximum concurrent stateful MCP sessions (returns 503 when full) | 100 |
| SAS_PROTOCOL | No | Controls the spr (signed protocol) in generated SAS tokens. "https" (default) — HTTPS-only, recommended for production. "https,http" — allow both; required for Azurite / local emulator which serves over plain HTTP. Case-insensitive; "http,https" is also accepted. | https |
| TLS_KEY_FILE | No | Path to a PEM-encoded TLS private key file. Must be set together with TLS_CERT_FILE. | |
| TLS_CERT_FILE | No | Path to a PEM-encoded TLS certificate file. When set together with TLS_KEY_FILE, the server starts HTTPS directly instead of plain HTTP. Supports certificate hot-reload (SIGHUP or file-watch). | |
| DISABLED_TOOLS | No | Comma-separated list of tool names to disable at runtime. Disabled tools are omitted from tools/list and return a structured "forbidden" error (code "forbidden", data.reason: "disabled_tool") when invoked via tools/call. Values are case-insensitive and whitespace is trimmed. Unknown names trigger a startup warning but do not prevent the server from starting. Example: DISABLED_TOOLS=blob-delete,fileshare-delete-share,table-delete,queue-delete. | |
| TLS_MIN_VERSION | No | Minimum TLS protocol version. Accepts TLSv1.2 or TLSv1.3. | TLSv1.3 |
| MAX_UPLOAD_BYTES | No | Hard byte limit for streaming multipart uploads via /upload. Default: 5 GiB. Files exceeding this are rejected with HTTP 413 (code: "too_large"). | 5368709120 |
| SAS_EXPIRY_HOURS | No | Default SAS token expiry (hours) | 24 |
| TRUST_PROXY_HOPS | No | Number of trusted reverse proxy hops for X-Forwarded-For resolution. Default is 0 when TLS is served directly (no proxy in front), 1 when behind a reverse proxy. Set 2 if behind both a CDN and Container Apps. | |
| RATE_LIMIT_MCP_MAX | No | Max requests per window for /mcp (JSON-RPC) per identity | 3000 |
| MAX_JSON_BODY_BYTES | No | Hard byte limit for JSON request bodies on /mcp. Default: 50 MiB. Controls express.json({ limit }). Oversized JSON bodies return HTTP 413. | 52428800 |
| OTEL_TELEMETRY_LEVEL | No | Telemetry preset: off, basic (10% sampling, WARN+ logs, 60s metrics), detailed (100%, INFO+, 15 | basic |
| RATE_LIMIT_UPLOAD_MAX | No | Max requests per window for /upload (multipart) per identity | 600 |
| SAS_MAX_EXPIRY_MINUTES | No | Maximum allowed SAS token lifetime in minutes (ceiling). Requests for expiryMinutes (or expiryHours converted to minutes) exceeding this value receive a structured "invalid" error with field: "expiryMinutes" or field: "expiryHours". Default: 1440 (24 hours). Set lower (e.g. 60) for tighter security. | 1440 |
| RATE_LIMIT_MAX_REQUESTS | No | Legacy max requests per window. Used for both endpoints when specific *_MAX vars are unset | 300 |
| SAS_DEFAULT_PERMISSIONS | No | Default SAS permissions | rl |
| AZURE_STORAGE_ACCOUNT_KEY | No | Azure Storage account key | |
| RATE_LIMIT_WINDOW_MINUTES | No | Legacy rate limit window (minutes). Used when RATE_LIMIT_WINDOW_SECONDS is unset | 15 |
| RATE_LIMIT_WINDOW_SECONDS | No | Rate limit window in seconds (overrides RATE_LIMIT_WINDOW_MINUTES when set) | 900 |
| SSE_KEEPALIVE_INTERVAL_MS | No | Interval (ms) between SSE keepalive heartbeats. Prevents Azure reverse proxy from killing idle SSE connections (~240s timeout). | 30000 |
| AZURE_STORAGE_ACCOUNT_NAME | No | Azure Storage account name | |
| AZURE_USE_MANAGED_IDENTITY | No | Use Azure Managed Identity instead of shared key authentication. | false |
| OTEL_EXPORTER_OTLP_ENDPOINT | No | OTLP endpoint URL (e.g. http://localhost:4318). OTel is completely disabled when unset -- zero overhead. | |
| SESSION_RETRY_AFTER_SECONDS | No | Retry hint (seconds) returned in 503 session-capacity errors | 30 |
| MAX_QUEUE_VISIBILITY_SECONDS | No | Maximum allowed visibility timeout (lease duration) for queue-update-message and queue-renew-lease. Default: 3600 (1 hour). Azure Queue Storage supports up to 7 days, but this server-side cap prevents accidentally setting very long leases. | 3600 |
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
Maintenance
ActivityActive
ResponsivenessNo recent community issues