Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

use environment variables #276

Open
Open
Labels
enhancementNew feature or request
@FrancoisBlavoet

Description

@FrancoisBlavoet

Describe the feature or problem you’d like to solve

you can define the github MCP like this:

{"mcpServers": {"github-mcp": {"command":"npx","args": ["-y","@modelcontextprotocol/server-github"            ],"env": {"GITHUB_PERSONAL_ACCESS_TOKEN":"<MySecretTokenHere>"            }        }    }}

a recent cursor update has added the possibility to define an mcp.json scoped to a project, which is great.
However, I want to commit this mcp file to the project’s repo … but I don’t want to commit my secret token.

Proposed solution

Could we add the option to actually refer to an env variable here?
Alternatively, if I could at least enter a file path there like "GITHUB_TOKEN_PATH": "~./.github_token", that would work too

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp