Skip to content

fix: match plugin-scoped Very Good CLI MCP tool names - #18

Merged
ryzizub merged 1 commit into
mainfrom
feat/mcp-plugin-tool-names
Oct 1, 2026
Merged

ryzizub merged 1 commit into
mainfrom
feat/mcp-plugin-tool-names

Conversation

@ryzizub

@ryzizub ryzizub commented Sep 29, 2026

Copy link
Copy Markdown
Contributor

Marketplace installs name plugin MCP tools mcp__plugin_<plugin>_<server>__<tool> (docs), so the mcp__very_good_cli__* grants in ffca-feature never matched.

  • Rename the server very_good_cli → very-good-cli, matching vgv-ai-flutter-plugin
  • ffca-feature allowed-tools now uses mcp__plugin_vgv-ffca-plugin_very-good-cli__{create,packages_get}
  • Add 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 an allowed-tools grant only lasts for the invoking turn. Tests in hooks/check_vgv_cli_test.sh, run in a new CI job
  • README: new "MCP Integration" section and hooks table

The 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_cli in enabledMcpjsonServers locally needs to rename it to very-good-cli.

🤖 Generated with Claude Code

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
ryzizub force-pushed the feat/mcp-plugin-tool-names branch from b9cfe55 to dd36bf0 Compare September 30, 2026 08:58
@ryzizub
ryzizub requested a review from a team as a code owner September 30, 2026 08:58
@ryzizub
ryzizub merged commit 0f5d29e into main Oct 1, 2026
7 checks passed
@ryzizub
ryzizub deleted the feat/mcp-plugin-tool-names branch October 1, 2026 13:28
@vgvbot vgvbot mentioned this pull request Sep 29, 2026
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