🎉 v4.0.0 #48
Pinned
ravitemer
announced in
Announcements
Replies: 0 comments
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.
-
We're excited to announce MCPHub v4.0.0 (PR #40), focusing on making the plugin more accessible and powerful with zero configuration support and Lua native MCP servers! There are no Breaking Changes.
✨ Zero Configuration Support
MCPHub now works out of the box with minimal setup:
Installation Improvements:
Bundled Installation (No global npm access needed):
See our Installation Guide for more options.
🎨 UI Window Customization
Example with

width = 0.7
andheight = 0.8
:📊 Lualine Integration
When connecting show warning state:
When idle shows total number of connected servers:
When a tool or resources is being called, shows spinner:
See Lualine Integration Guide for more details.
📝 Server Prompt Preview
With
gd
or<cr>
on breadcrumb in the Hub view, can preview the Active Servers prompt that is being sent to the llm. This gives you a better idea of how the servers are represented in text:🎉 Lua Native MCP Servers
Why Use Native MCP Servers?
The Challenge
Many Neovim chat plugins like Avante and CodeCompanion already provide ways to add custom tools:
This leads to several limitations:
res:text():image():send()
schema.description
MCPHub Solution
MCPHub solves these problems by providing a standardized protocol (MCP) and a central hub for tools and resources:
Option 1: Static Definition
Option 2: Dynamic Registration
Preview:


See Native Servers Guide and Example Servers for more details.
🔧 Built-in Neovim Server
The built-in Neovim server has some common utility tools and resources that are already available with common chat plugins. You can always enable or disable a particular tool just like regular MCP servers. Neovim server is built to show what's possible with native servers.
Interactive File Operations
The current write-to-file tools among chat plugins doesn't open the file in the editor and doesn't show what's being written. If we made some changes to the file we need to send these changes in our next conversation. The new
write_file
tool in nativeneovim
is designed to address these. Once the LLM callswrite_file
onneovim
server , the file is opened in the editor area with a diff view. The tool will only resolve once the user either accepts (by saving the file with :w orga
to accept the changes) or rejects (by closing the buffer orgr
to reject the changes. Any changes made by the user or the formatter will be sent as a diff to the LLM so the user doesn't need to manually explain changes. This is something similar to how the vscode diff editor works. Please provide any suggestions you have. Depending on the user needs we can send the whole file content after any formatting or with any diagnostics. I am thinking of writing a similaredit_file
tool that works similar to this.write_file_demo.mp4
🔌 Extension Improvements
Tool Approvals
Better tool approval requests
config.extensions.avante.auto_approve_mcp_tool_calls = true
auto approve mcp tool foravante
gta
in chat orvim.g.codecompaion_auto_tool_mode=true
forcodecompanion
CodeCompanion Integration
Configure chat variables and tool results:
Currently supports codecompanion. Avante support will also be added soon.
Whenever the servers are updated, the variables will also be updated in realtime

E.g LSP current file diagnostics

Check our CodeCompanion Guide for setup.
Avante Integration
Configure auto-approve behavior:
See Avante Integration Guide for more.
🎯 Other Improvements
Enhanced UI features:
Auto-generate Native MCP Servers using LLMs
Configure tool results display in chat plugins
New write_file tool with interactive diff view
📚 Resources
🤝 Support MCPHub
If you find MCPHub useful, please consider:
Join our Discord community for discussions and support!
Beta Was this translation helpful? Give feedback.
All reactions