Skip to content

Commit a8a9371

Browse files
committed
Fix Context7: use --api-key arg instead of env var
Per official docs, API key is passed via --api-key CLI argument, not env var. https://claude.ai/code/session_013AxurW8hPAfnUNvik354Xx
1 parent d5d5f40 commit a8a9371

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

servers/com.upstash-context7.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,7 @@
1212
"transport": {
1313
"type": "stdio",
1414
"command": "npx",
15-
"args": ["-y", "@upstash/context7-mcp"],
16-
"env": {
17-
"CONTEXT7_API_KEY": "${input:CONTEXT7_API_KEY}"
18-
},
15+
"args": ["-y", "@upstash/context7-mcp", "--api-key", "${input:CONTEXT7_API_KEY}"],
1916
"metadata": {
2017
"inputs": [
2118
{

0 commit comments

Comments
 (0)