Skip to content

Add X-Pplx-Integration attribution header to API requests - #140

Merged
qirh merged 1 commit into
mainfrom
saleh/attribution-integration-header
Aug 25, 2026
Merged

Add X-Pplx-Integration attribution header to API requests#140
qirh merged 1 commit into
mainfrom
saleh/attribution-integration-header

Conversation

@qirh

@qirh qirh commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Summary

Perplexity now records the opt-in X-Pplx-Integration header at API ingress. This adds X-Pplx-Integration: perplexity-mcp/<version> to the MCP server's shared outbound request headers, alongside its existing user agent and source headers.

All MCP tools use the shared request path, and API behavior is otherwise unchanged.

Verification

  • The request-boundary test asserts the complete outbound header set, including the versioned integration value.
  • The MCP server test suite passes all 89 tests, and the package builds successfully.
  • Preview and main comparison: n/a because this is a published MCP client header change with no deployable preview surface.

@qirh
qirh requested a review from rbuchmayer-pplx August 25, 2026 17:06
@qirh
qirh merged commit 77ba746 into main Aug 25, 2026
2 checks passed
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.

2 participants