Skip to content

Commit 89abceb

Browse files
facundofariasclaude
andcommitted
feat: Add User-Agent header to identify MCP server API requests
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 021bdf7 commit 89abceb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/api-client.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ export class DeployHQClient {
169169
'Authorization': this.authHeader,
170170
'Accept': 'application/json',
171171
'Content-Type': 'application/json',
172+
'User-Agent': 'DeployHQ-MCP-Server/1.0.0',
172173
...(options.headers as Record<string, string> || {}),
173174
},
174175
body: options.body,
@@ -312,6 +313,7 @@ export class DeployHQClient {
312313
headers: {
313314
'Authorization': this.authHeader,
314315
'Accept': 'text/plain',
316+
'User-Agent': 'DeployHQ-MCP-Server/1.0.0',
315317
},
316318
signal: controller.signal,
317319
} as NodeFetchRequestInit);

0 commit comments

Comments
 (0)