Skip to content

feat: send User-Agent header on API requests#21

Merged
VinciGit00 merged 2 commits into
mainfrom
feat/user-agent-header
Jul 16, 2026
Merged

feat: send User-Agent header on API requests#21
VinciGit00 merged 2 commits into
mainfrom
feat/user-agent-header

Conversation

@VinciGit00

Copy link
Copy Markdown
Member

What

Adds a User-Agent: scrapegraph-mcp/<version> header to ScapeGraphClient.headers, sent alongside the existing SGAI-APIKEY / X-SDK-Version headers on every API request.

Why

Lets the ScrapeGraphAI API attribute traffic originating from the MCP server (telemetry / debugging / routing), matching the equivalent change in the hosted MCP (sgai-stack apps/mcp).

🤖 Generated with Claude Code

VinciGit00 and others added 2 commits July 16, 2026 15:00
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@VinciGit00
VinciGit00 merged commit 1e13c09 into main Jul 16, 2026
2 checks passed
@VinciGit00
VinciGit00 deleted the feat/user-agent-header branch July 16, 2026 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant