Skip to content

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

Open
qirh wants to merge 1 commit into
mainfrom
saleh/attribution-integration-header
Open

Add X-Pplx-Integration attribution header to API requests#140
qirh wants to merge 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 commented Aug 25, 2026

Copy link
Copy Markdown
Contributor Author

@claude review jerry mode

1 similar comment
@qirh

qirh commented Aug 25, 2026

Copy link
Copy Markdown
Contributor Author

@claude review jerry mode

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