Replies: 4 comments 4 replies
-
Take a bow @ravitemer. This looks amazing. Also, you've added process flowcharts so you immediately get a star 😉. Thanks for making CodeCompanion a first class extension. Do you have some example MCP servers that I could setup and use to test this out? Tools are going to be a big focus of my work for the next month. I've got a big PR which will add queuing and much more robust process flows to the tooling implementation. And then I plan to move to function calling/tool use that is supported by most LLMs. |
Beta Was this translation helpful? Give feedback.
-
❤️ Thanks a lot @olimorris. I use codecompanion regularly and am in love with it. Thanks for the amazing work. I got this idea while creating tools for my workflow which are already available as mcp servers. Managing mcp servers using lua seemed difficult. So I went with creating a server on top of mcp servers config file so that any kind of chat client can just make CRUD requests to get access to all of them. This is my first ever plugin, hope you like it and love your feedback. Below is a minimal config with NOTE: Looking forward to the PR. Thanks a lot for my first star 😃 . Relevant links: {
"mcpServers": {
"fetch": {
"command": "uvx",
"disabled": false,
"args": [
"mcp-server-fetch"
]
},
"everything": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-everything"
]
},
"git": {
"command": "uvx",
"disabled" : true,
"args": [
"mcp-server-git",
"--repository",
"/path/to/any-local-git-repo"
]
},
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/path/to/anyfolder"
]
},
"puppeteer": {
"command": "docker",
"disabled" : true,
"args": [
"run",
"-i",
"--rm",
"--init",
"-e",
"DOCKER_CONTAINER=true",
"mcp/puppeteer"
]
}
}
} |
Beta Was this translation helpful? Give feedback.
-
Great work @ravitemer ! |
Beta Was this translation helpful? Give feedback.
-
This is super cool! I'm very new to MCP can you give a little background on why MCP servers are better than interacting with something like the cmd runner? I'm guessing because they support more diverse use cases? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
🚀 CodeCompanion + MCP Servers
Hey folks! I wanted to share a Neovim plugin I've been working on called mcphub.nvim. It's designed to make working with Model Context Protocol (MCP) servers super smooth in Neovim.
Here's a quick demo of how it looks in action:
Using Codecompanion Chat plugin
chatdemo.mp4
The main idea was to make it really easy to manage and use MCP servers right from Neovim. You just need one command
:MCPHub
to get started, and it gives you this nice UI where you can test out all your tools and resources.CodeCompanion.nvim integration! 🤖
I've also added support for CodeCompanion.nvim, which means you can use all your MCP tools right in your chat interface.
To use it with CodeCompanion, just add the MCP tool to your config like this:
Setting it up is pretty straightforward
If you're using lazy.nvim, you can install it like this:
Some cool features you might like:
:MCPHub
)@olimorris @GitMurf
Would love for you all to try it out and let me know what you think! Check for more info at: https://github.com/ravitemer/mcphub.nvim
Beta Was this translation helpful? Give feedback.
All reactions