MCPMarketDocs
MCP Servers

Environment variables

Set secrets and configuration on your deployed MCP servers.

Environment variables are how you provide API keys, database connection strings, and other configuration to your deployed MCP servers. Each deployment shows the variables it needs on its detail page. Required ones must be set for the server to run; optional ones unlock additional features.

Set an environment variable

Open the deployment

Open the deployment detail page and scroll to the Environment Variables section.

Add your variables

For each required or optional variable, enter the variable name (e.g., SLACK_API_KEY) and the secret or configuration value.

Save

Click Save or press Enter. The value is encrypted and stored securely. Once saved, the value is hidden for security.

Your variable is saved on the deployment and takes effect on the next restart.

Edit or remove a variable

To change an environment variable, click the Edit icon next to it, enter the new value, and click Save.

To remove a variable, click the Delete icon (trash can) and confirm.

Values take effect on the server's next restart.

On this page