We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e4b70e commit 804ab08Copy full SHA for 804ab08
1 file changed
packages/mcp-server/src/code-tool.ts
@@ -160,7 +160,7 @@ const remoteStainlessHandler = async ({
160
headers: {
161
...(reqContext.stainlessApiKey && { Authorization: reqContext.stainlessApiKey }),
162
'Content-Type': 'application/json',
163
- client_envs: JSON.stringify({
+ 'x-stainless-mcp-client-envs': JSON.stringify({
164
GRID_CLIENT_ID: requireValue(
165
readEnv('GRID_CLIENT_ID') ?? client.username,
166
'set GRID_CLIENT_ID environment variable or provide username client option',
0 commit comments