File tree Expand file tree Collapse file tree 3 files changed +40
-4
lines changed
Expand file tree Collapse file tree 3 files changed +40
-4
lines changed Original file line number Diff line number Diff line change @@ -125,10 +125,10 @@ M.setup = function()
125125 model = ' claude-sonnet-4' ,
126126 proxy = nil , -- [protocol://]host[:port] Use this proxy
127127 allow_insecure = false , -- Allow insecure server connections
128- timeout = 30000 , -- Timeout in milliseconds
128+ -- timeout = 30000, -- Timeout in milliseconds
129129 extra_request_body = {
130- temperature = 0 ,
131- max_tokens = 40000 ,
130+ -- temperature = 0,
131+ max_tokens = 128000 ,
132132 },
133133 },
134134 openrouter = {
@@ -140,6 +140,27 @@ M.setup = function()
140140 disable_tools = false ,
141141 },
142142 },
143+ acp_providers = {
144+ [' claude-code' ] = {
145+ -- pnpm install -g @anthropic-ai/claude-code
146+ -- pnpm install -g acp-claude-code
147+ command = ' npx' ,
148+ args = { ' acp-claude-code' },
149+ env = {
150+ NODE_NO_WARNINGS = ' 1' ,
151+ ANTHROPIC_API_KEY = os.getenv (' ANTHROPIC_API_KEY' ),
152+ },
153+ },
154+ -- npm install -g @google/gemini-cli
155+ [' gemini-cli' ] = {
156+ command = ' gemini' ,
157+ args = { ' --experimental-acp' },
158+ env = {
159+ NODE_NO_WARNINGS = ' 1' ,
160+ GEMINI_API_KEY = os.getenv (' GEMINI_API_KEY' ),
161+ },
162+ },
163+ },
143164 behaviour = {
144165 auto_set_keymaps = false ,
145166 },
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ M.keys = {
88 mode = ' n' ,
99 },
1010 {
11- ' <leader>cm ' ,
11+ ' <leader>cM ' ,
1212 ' <cmd>MCPHub<CR>' ,
1313 desc = ' MCPHub' ,
1414 },
Original file line number Diff line number Diff line change 4242 "command" : " pnpm" ,
4343 "disabled" : true
4444 },
45+ "excalidraw" : {
46+ "args" : [
47+ " /Users/apinant/Dev/my_repos/mcp_excalidraw/dist/index.js"
48+ ],
49+ "command" : " node" ,
50+ "disabled" : true
51+ },
4552 "github" : {
4653 "disabled" : true ,
4754 "headers" : {
4855 "Authorization" : " Bearer ${GITHUB_API_KEY}"
4956 },
5057 "url" : " https://api.githubcopilot.com/mcp/"
5158 },
59+ "kubernetes" : {
60+ "args" : [
61+ " -y" ,
62+ " kubernetes-mcp-server@latest"
63+ ],
64+ "command" : " npx" ,
65+ "disabled" : true
66+ },
5267 "memory" : {
5368 "args" : [
5469 " -y" ,
You can’t perform that action at this time.
0 commit comments