MCP Hub v5.13.0: Granular Tool Access #1833
ravitemer
started this conversation in
Show and tell
Replies: 1 comment
-
|
That's a huge improvement! I was actually avoiding using the @mcp tool because of the limitations that you described. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What’s going on with my ‘boys’ and, in some cases, ‘gals?’ 😂
This update introduces a significant improvement to the MCPHub-CodeCompanion integration, providing much more flexibility and control over your MCP tools.
Demo: Fixing an issue using Github MCP Server
fix-issue.mp4
Configs used in the above Video Demo
Github MCP Server Config
{ "github": { "url": "https://api.githubcopilot.com/mcp/", "headers": { "Authorization": "Bearer ${GITHUB_PERSONAL_ACCESS_TOKEN}" } } }Blink.cmp config
Adding files to chat using `.` with `nvim-tree`
Previous Limitations with
@mcpThe existing
@mcptool worked, but it had some drawbacks:✨ New: Granular Tool Access
This update introduces granular tool access, which creates proper CodeCompanion function tools for each MCP server and tool, enabling more powerful and precise workflows.
🎯 Server Groups
Access all tools from a specific server:
🔧 Individual Tools
Target specific functionality with namespaced tools:
🛠️ Custom Tool Combinations
Create specialized workflows by mixing tools from different servers in your CodeCompanion config:
🎛️ Fine-Grained Auto-Approval
One of the standout features is per-tool auto-approval control. Configure which tools run automatically versus requiring confirmation directly from the Hub UI by pressing
aon a tool or an entire server. This is perfect for allowing safe operations (read_file,search_code) while protecting potentially destructive ones (delete_items,execute_command).🚀 Benefits
Some older OpenAI models have character limits for function descriptions. If you encounter issues, consider using latest models or falling back to the general
@mcpgroup for specific cases.🚀 Get Started
No breaking changes! The traditional
@mcptool continues to work exactly as before. These new features are purely additive.mcphub.nvimmcphubextension. The default options enable all new features.@github) and individual tools (@github__create_issue) with@completion in the CodeCompanion chat.:MCPHub) to configure auto-approval for your most trusted tools.⚡ Better Built-in Neovim Tools:
edit_file&write_fileThe built-in
neovimserver is now more powerful with two new tools:write_file: A tool to write content to a file, showing an interactive diff by default.edit_file: An advanced, interactive tool for making precise file modifications usingSEARCH/REPLACEblocks.The
edit_filetool is highly customizable through yourmcphubsetup. For a smoother, uninterrupted workflow, you can auto-approve these tools in the Hub UI. When auto-approved, they will apply changes directly without showing the interactive diff.Beta Was this translation helpful? Give feedback.
All reactions