Skip to content

Conversation

@LiamHz
Copy link

@LiamHz LiamHz commented Jan 22, 2026

Summary

Adds the new highlightsMaxCharacters parameter to the web_search_advanced_exa tool and marks the legacy highlightsNumSentences and highlightsPerUrl parameters as deprecated. This aligns the MCP server with the updated Exa API highlights configuration.

Changes:

  • Added maxCharacters?: number to the highlights interface in types.ts
  • Added highlightsMaxCharacters parameter to the webSearchAdvanced tool schema
  • Updated descriptions for highlightsNumSentences and highlightsPerUrl to indicate deprecation
  • Wired up the new parameter in the request construction

Review & Testing Checklist for Human

  • Verify maxCharacters field name matches the Exa API spec exactly
  • Test the web_search_advanced_exa tool with highlightsMaxCharacters parameter to confirm it's passed correctly to the API
  • Verify old parameters (highlightsNumSentences, highlightsPerUrl) still work for backward compatibility

Notes

This is part of a coordinated update across multiple repos (docs, exa-py, exa-js, exa-mcp-server) to add the new maxCharacters highlights parameter.

Link to Devin run: https://app.devin.ai/sessions/f82de373837142da8261ab1462c223eb
Requested by: @LiamHz

@devin-ai-integration
Copy link
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
Copy link

vercel bot commented Jan 22, 2026

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

Project Deployment Review Updated (UTC)
exa-mcp-server Ready Ready Preview, Comment Jan 22, 2026 8:39am

Copy link
Collaborator

@theishangoswami theishangoswami left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems good

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.

3 participants