fix: make server instructions intent-based instead of naming tools - #372
Merged
Conversation
Coverage Report for CI Build 32520995041Coverage remained the same at 96.52%Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsNo coverage regressions found. Coverage Stats
💛 - Coveralls |
The server-level MCP `instructions` string named literal tool names, two of which are wrong on hosted Supabase: - `get_logs` is hidden from `tools/list` on platforms that implement `queryLogs` (#333), so hosted clients were told to use a tool absent from their own tool list. - `get_publishable_api_key` has never existed; the registered tool is `get_publishable_keys`. Describe the capability instead of the tool. The guidance now stays correct across hosted, self-hosted and CLI platforms, and survives future tool renames. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CGspmz4goqhVVtfr5iPKZG
claude
Bot
force-pushed
the
fix/intent-based-server-instructions
branch
from
August 21, 2026 19:55
2f60565 to
4f9369e
Compare
mattrossman
approved these changes
Aug 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Greg Richardson
The server instructions named
get_logs(hidden fromtools/liston hosted since #333) andget_publishable_api_key(should have beenget_publishable_keys); they now describe capabilities instead of tool names, so they stay correct across platforms. Tool descriptions are out of scope.