# Model Context protocol with env var?

**URL:** <https://forum.cursor.com/t/model-context-protocol-with-env-var/46620>\
**Category:** Feature Requests\
**Created:** [January 31, 2025, 4:08pm UTC](https://forum.cursor.com/t/model-context-protocol-with-env-var/46620 "2025-01-31T16:08:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![catcontact](https://avatars.discourse-cdn.com/v4/letter/c/eb8c5e/32.png) [@catcontact](https://forum.cursor.com/u/catcontact)\
**Post date:** [January 31, 2025, 4:08pm UTC](https://forum.cursor.com/t/model-context-protocol-with-env-var/46620/1 "2025-01-31T16:08:51Z")

</div>

things like github tokens really need env var to set up. could we add it?

---

<div class="post-metadata">

**Author:** ![danperks](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/danperks/32/19087_2.png) [@danperks](https://forum.cursor.com/u/danperks)\
**Post date:** [February 3, 2025, 6:36pm UTC](https://forum.cursor.com/t/model-context-protocol-with-env-var/46620/2 "2025-02-03T18:36:01Z")

</div>

Thanks for the suggestion, we’re working on MCP improvements currently, so will add this to our backlog to see if it’s something we can support.

---

<div class="post-metadata">

**Author:** ![catcontact](https://avatars.discourse-cdn.com/v4/letter/c/eb8c5e/32.png) [@catcontact](https://forum.cursor.com/u/catcontact)\
**Post date:** [February 4, 2025, 6:19pm UTC](https://forum.cursor.com/t/model-context-protocol-with-env-var/46620/3 "2025-02-04T18:19:15Z")

</div>

@danperks thanks! in addition to this, we also love something like auto execution of MCP like [MCP support documentation - #18 by carmandale](https://forum.cursor.com/t/mcp-support-documentation/46482/18)

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [June 18, 2026, 10:26am UTC](https://forum.cursor.com/t/model-context-protocol-with-env-var/46620/4 "2026-06-18T10:26:48Z")

</div>


