Skip to content

fix(mcp): name only the engines Ansvisor tracks in the server instructions - #2287

Merged
gkhngyk merged 1 commit into
ansvisor:mainfrom
cihan-gyk:fix/mcp-instructions-engines
Nov 10, 2026
Merged

gkhngyk merged 1 commit into
ansvisor:mainfrom
cihan-gyk:fix/mcp-instructions-engines

Conversation

@cihan-gyk

Copy link
Copy Markdown
Collaborator

Summary

The MCP server's instructions text is the first thing every MCP client reads (Claude, ChatGPT, Claude Code and others). It still said Ansvisor tracks Perplexity and Copilot. Ansvisor no longer tracks either one. The text also left out Claude and Bing AI Mode.

It now lists the same engines as the sign-up page: ChatGPT, Claude, Gemini, Google AI Overviews, Google AI Mode and Bing AI Mode.

This matters before the directory submissions (#2141). Reviewers and the assistants themselves read this text, and an engine we don't track could lead an assistant to promise data that doesn't exist.

The get_ai_traffic tool description still names Perplexity and Copilot. That is deliberate: AI-referral traffic from those sites is still measured, so that text is correct.

Related issue

Part of #2141 (MCP directory listing prep).

Type of change

  • feat — New feature
  • fix — Bug fix
  • chore — Maintenance / dependencies
  • docs — Documentation only
  • refactor — Code change that neither fixes a bug nor adds a feature
  • test — Adding or updating tests

Checklist

  • Branch follows the naming convention (feature/, fix/, chore/, docs/) — see CONTRIBUTING.md
  • Commits follow Conventional Commits
  • yarn lint passes (run from web/): eslint on the changed files, 0 errors
  • yarn typecheck passes (run from web/)
  • yarn format:check passes (run from web/): prettier on the changed files
  • Changes are focused — one concern per PR
  • Help article updated under help/ (or no user-visible change): no in-app change; the text is read by AI clients only

How to test

  • cd web && yarn test src/lib/mcp: 48 files, 564 tests pass. A new test checks that the instructions list the tracked engines and don't name Perplexity, Copilot or Grok.
  • Connect any MCP client to /api/mcp. The server's instructions should list the six engines above.

Generated by Claude Code

…tions

The text every MCP client reads first still listed Perplexity and Copilot,
which are no longer tracked, and left out Claude and Bing AI Mode. It now
names the same engines as the sign-up page.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01SvzkMf5TZg7yqwaSeMFba9

@gkhngyk gkhngyk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM.

@gkhngyk gkhngyk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM.

@gkhngyk
gkhngyk merged commit e3aee72 into ansvisor:main Nov 10, 2026
13 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.

3 participants