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