fix: match plugin-scoped Very Good CLI MCP tool names - #18
Merged
Merged
Conversation
omartinma
approved these changes
Sep 29, 2026
Rename the MCP server to very-good-cli, grant the marketplace tool names in ffca-feature allowed-tools, and add a PreToolUse hook that checks the CLI version and auto-approves its tool calls. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ryzizub
force-pushed
the
feat/mcp-plugin-tool-names
branch
from
September 30, 2026 08:58
b9cfe55 to
dd36bf0
Compare
erickzanardo
approved these changes
Oct 1, 2026
Open
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.
Marketplace installs name plugin MCP tools
mcp__plugin_<plugin>_<server>__<tool>(docs), so themcp__very_good_cli__*grants inffca-featurenever matched.very_good_cli→very-good-cli, matching vgv-ai-flutter-pluginffca-featureallowed-toolsnow usesmcp__plugin_vgv-ffca-plugin_very-good-cli__{create,packages_get}hooks/check_vgv_cli.sh(PreToolUse,mcp__.*very-good-cli__.*), ported from the sibling plugin. Auto-approves when Very Good CLI >= 1.3.0, denies with an install/upgrade hint otherwise. Needed because anallowed-toolsgrant only lasts for the invoking turn. Tests inhooks/check_vgv_cli_test.sh, run in a new CI jobThe Dart MCP server is intentionally not added. No FFCA skill calls it, and vgv-ai-flutter-plugin already ships it.
Reviewer note: anyone with
very_good_cliinenabledMcpjsonServerslocally needs to rename it tovery-good-cli.🤖 Generated with Claude Code