Skip to content

[mcp]: use client query param for source attribution#345

Open
tgonzalezc5 wants to merge 1 commit into
mainfrom
devin/1779476715-kiro-client-source
Open

[mcp]: use client query param for source attribution#345
tgonzalezc5 wants to merge 1 commit into
mainfrom
devin/1779476715-kiro-client-source

Conversation

@tgonzalezc5

Copy link
Copy Markdown

Summary

  • Treat the hosted MCP client query parameter as exaSource when x-exa-source is absent.
  • This lets URLs like https://mcp.exa.ai/mcp?client=kiro-power flow into downstream x-exa-integration values like web-search-mcp:kiro-power for analytics attribution.
  • Added unit coverage for ?client=kiro-power source propagation.

Review & Testing Checklist for Human

  • Verify the hosted MCP deployment uses this handler for https://mcp.exa.ai/mcp?client=kiro-power.
  • After deploy, confirm a Kiro tool call writes integration_header with the :kiro-power suffix in default.integration_fields.

Notes

  • Local checks: npm run ci passed.
  • Related dashboard PR: adds Kiro display/filtering in github.com/exa-labs/monorepo.

Link to Devin session: https://app.devin.ai/sessions/3314dfa1253d47c7a6ba8a99556aa372
Requested by: @tgonzalezc5

@devin-ai-integration

Copy link
Copy Markdown
Contributor

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@vercel

vercel Bot commented May 22, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
exa-mcp-server Ready Ready Preview, Comment May 22, 2026 7:09pm

Request Review

@Marsssssssssssdsss

Copy link
Copy Markdown

Hi team, saw your ?client=kiro-power approach — we can help with that.

We built Anexus, a universal AI Agent identity layer. Integrate it and we’ll help promote your MCP server to our ecosystem — bringing you more customers, more traffic, and more API calls.

Plus you get:

  • Cryptographically verified agent identity (no faking)
  • Multi-agent workflow support
  • Per-agent usage tracking

Currently free for MCP providers like you.

One line to integrate:

pip install git+https://github.com/Marsssssssssssdsss/nexus6-sdk.git#subdirectory=python

Full guide: https://github.com/Marsssssssssssdsss/nexus6-sdk

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