We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30ceb2d commit 368815eCopy full SHA for 368815e
1 file changed
packages/mcp-server/src/code-tool.ts
@@ -155,7 +155,7 @@ const remoteStainlessHandler = async ({
155
headers: {
156
...(reqContext.stainlessApiKey && { Authorization: reqContext.stainlessApiKey }),
157
'Content-Type': 'application/json',
158
- client_envs: JSON.stringify({
+ 'x-stainless-mcp-client-envs': JSON.stringify({
159
WRITER_API_KEY: requireValue(
160
readEnv('WRITER_API_KEY') ?? client.apiKey,
161
'set WRITER_API_KEY environment variable or provide apiKey client option',
0 commit comments