How to SSE Connection Pasing and Getting env values for every specific users context #318
Unanswered
canerunutkan
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Pre-submission Checklist
Question Category
Your Question
How to Pass env values to Server from Cursor IDE and Access env for every connection's specific Env values on context
Cursor mcp.json
those are not working:
var token= Environment.GetEnvironmentVariable("env:JIRA_TOKEN");
var token= Environment.GetEnvironmentVariable("JIRA_TOKEN");
Also Environment.GetEnvironmentVariables() lists all values and token is not exist in the list.
Project is working fine, I get Echo response on Cursor.
But I need every different connections Token values to perform actions by user tokens.
Example usage:
user 1 says update task compelted: then we must see that user1 name on the jira who is make update
user 2 says update task compelted: then we must see that user2 name on the jira who is make update
So I need every connections env values on tools by context. Is there any way ?
program.cs
Controller
handler
Beta Was this translation helpful? Give feedback.
All reactions