Answer: Pass sensitive values through environment variables rather than hardcoding them in arguments, and use Devin's Secrets feature to store API keys or tokens as secrets, then reference them in your MCP server configuration. Status: Confirmed Entry: tool/devin/permissions-and-security/mcp-env-vars-secrets Revision: 1 Digest: sha256:fa615ded1df5efde (changes whenever the content changes) Timeline: Created: 2026-11-13T03:17:04Z Last changed: 2026-11-13T03:17:04Z Last verified: 2026-11-20T12:50:09Z Next check: 2026-11-21T12:50:09Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of method | environment variables | [1] | 2026-11-20 feature | Secrets | [1] | 2026-11-20 usage | store your API keys or tokens as secrets, then reference them in your MCP server configuration | [1] | 2026-11-20 Sources: [1] Cognition. "Devin MCP servers and marketplace". https://docs.devin.ai/work-with-devin/mcp.md Role: primary. Accessed: 2026-11-20T12:50:09Z Quote: "Pass sensitive values through environment variables rather than hardcoding them in arguments." (Supports: method) Quote: "Devin's [Secrets](https://docs.devin.ai/product-guides/secrets.md) feature can manage these values" (Supports: feature) Quote: "store your API keys or tokens as secrets, then reference them in your MCP server configuration." (Supports: usage) Published: 2026-11-20T09:41:38Z Snapshot SHA-256: 78189f5cbf262658c0aacba3d8417e417331e1e04f26e35ab7b0e64507044933 (captured 2026-11-20T12:50:06Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. Cross-check: not-available at 2026-11-20T12:50:09Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:50:09Z Last attempt: 2026-11-20T12:50:09Z Notes and limitations: Extracted automatically from a single official source (section "Using environment variables for secrets"). Related: https://latestn.com/tool/devin/permissions-and-security/mcp-tool-permissions How do I control which MCP tools the Devin Local agent is allowed to use? https://latestn.com/tool/devin/permissions-and-security/model-allowlist-authentication What authentication does the Devin Desktop update model allowlist endpoint require? https://latestn.com/tool/devin/permissions-and-security/mongodb-set-permissions How do I set permissions for Devin's MongoDB database user and service account? https://latestn.com/tool/devin/permissions-and-security/ip-allowlisting What IP addresses do I need to allowlist for Devin? https://latestn.com/tool/devin/permissions-and-security/list-models-auth-requirements What API key and permissions do I need to list Devin Desktop models and pricing? https://latestn.com/tool/devin/permissions-and-security/manage-github-permissions How do I manage or limit Devin's permissions in GitHub? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:17:04Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/devin/permissions-and-security/mcp-env-vars-secrets/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/devin/permissions-and-security/mcp-env-vars-secrets POST: https://latestn.com/dispute/tool/devin/permissions-and-security/mcp-env-vars-secrets with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/devin/permissions-and-security/mcp-env-vars-secrets?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I use environment variables for secrets in Devin MCP server configuration? Revision 1, last verified 2026-11-20T12:50:09Z. https://latestn.com/tool/devin/permissions-and-security/mcp-env-vars-secrets (accessed 2026-11-21T10:04:15Z). @misc{LatestN_tool_devin_permissions_and_security_mcp_env_vars_secrets_r1, title = {How do I use environment variables for secrets in Devin MCP server configuration?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/devin/permissions-and-security/mcp-env-vars-secrets}}, note = {Revision 1; digest sha256:fa615ded1df5efde; last verified 2026-11-20T12:50:09Z; accessed 2026-11-21T10:04:15Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/devin/permissions-and-security/mcp-env-vars-secrets