Use env for token in cursor configuration

This commit is contained in:
Lunny Xiao
2025-03-17 21:01:29 -07:00
parent 50b24dfb61
commit a5504ca7e0

View File

@@ -10,13 +10,13 @@
"command": "gitea-mcp",
"args": [
"-t": "stdio",
"--host": "https://gitea.com",
"--token": "<your personal access token>"
"--host": "https://gitea.com"//,
// "--token": "<your personal access token>"
],
// "env": {
"env": {
// "GITEA_HOST": "https://gitea.com",
// "GITEA_ACCESS_TOKEN": "<your personal access token>"
// }
"GITEA_ACCESS_TOKEN": "<your personal access token>"
}
}
}
}