mirror of
https://github.com/nvim-lua/kickstart.nvim.git
synced 2025-06-24 14:18:36 +02:00
configure some AI agents
This commit is contained in:
parent
9f8d2f1019
commit
b903bc371f
6 changed files with 90 additions and 21 deletions
25
lua/custom/plugins/mcphub.lua
Normal file
25
lua/custom/plugins/mcphub.lua
Normal file
|
@ -0,0 +1,25 @@
|
|||
return {
|
||||
'ravitemer/mcphub.nvim',
|
||||
dependencies = {
|
||||
'nvim-lua/plenary.nvim', -- Required for Job and HTTP requests
|
||||
},
|
||||
-- uncomment the following line to load hub lazily
|
||||
--cmd = "MCPHub", -- lazy load
|
||||
build = 'npm install -g mcp-hub@latest', -- Installs required mcp-hub npm module
|
||||
-- uncomment this if you don't want mcp-hub to be available globally or can't use -g
|
||||
-- build = "bundled_build.lua", -- Use this and set use_bundled_binary = true in opts (see Advanced configuration)
|
||||
config = function()
|
||||
require('mcphub').setup {
|
||||
extensions = {
|
||||
codecompanion = {
|
||||
-- Show the mcp tool result in the chat buffer
|
||||
show_result_in_chat = true,
|
||||
-- Make chat #variables from MCP server resources
|
||||
make_vars = true,
|
||||
-- Create slash commands for prompts
|
||||
make_slash_commands = true,
|
||||
},
|
||||
},
|
||||
}
|
||||
end,
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue