mcp add cli fails to actually add an mcp #4568

Closed
opened 2026-02-16 17:44:37 -05:00 by yindo · 2 comments
Owner

Originally created by @rgasper on GitHub (Jan 9, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

installed opencode using brew just now

looks great! super easy to configure with AWS bedrock! thanks!

however

opencode mcp add

ran it's prompts, but then nothing happened at all - no error, but no mcps added either.

Plugins

None

OpenCode version

1.1.10

Steps to reproduce

$ opencode mcp add

┌  Add MCP server
│
◇  Enter MCP server name
│  kagi2
│
◇  Select MCP server type
│  Local
│
◇  Enter command to run
│  uvx -p 3.13 kagimcp
│
●  Local MCP server "kagi2" configured with command: uvx -p 3.13 kagimcp 
│
└  MCP server added successfully

$ opencode mcp list

┌  MCP Servers
│
●  ✓ context7 connected
│      https://mcp.context7.com/mcp
│
●  ✓ kagimcp connected
│      uvx -p 3.13 kagimcp
│
└  2 server(s)

where'd kagi2 go?

I added the other two by editing the opencode.json manually.

Screenshot and/or share link

No response

Operating System

Mac os Sonoma 14.8

Terminal

Kitty

Originally created by @rgasper on GitHub (Jan 9, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description installed opencode using brew just now looks great! super easy to configure with AWS bedrock! thanks! however `opencode mcp add` ran it's prompts, but then nothing happened at all - no error, but no mcps added either. ### Plugins None ### OpenCode version 1.1.10 ### Steps to reproduce ``` $ opencode mcp add ┌ Add MCP server │ ◇ Enter MCP server name │ kagi2 │ ◇ Select MCP server type │ Local │ ◇ Enter command to run │ uvx -p 3.13 kagimcp │ ● Local MCP server "kagi2" configured with command: uvx -p 3.13 kagimcp │ └ MCP server added successfully $ opencode mcp list ┌ MCP Servers │ ● ✓ context7 connected │ https://mcp.context7.com/mcp │ ● ✓ kagimcp connected │ uvx -p 3.13 kagimcp │ └ 2 server(s) ``` where'd `kagi2` go? I added the other two by editing the `opencode.json` manually. ### Screenshot and/or share link _No response_ ### Operating System Mac os Sonoma 14.8 ### Terminal Kitty
yindo added the bug label 2026-02-16 17:44:37 -05:00
yindo closed this issue 2026-02-16 17:44:37 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 9, 2026):

This issue might be related to configuration handling. Please check:

  • #6984: Config autoupdate only respected at global path - may indicate broader configuration persistence issues with non-global config files

Also related to MCP configuration:

  • #4054: MCP Servers are not available if config is per project - MCP servers may not be persisting correctly in non-global config locations

If your issue occurs when using a project-level config or with specific configuration paths, those issues may provide context.

@github-actions[bot] commented on GitHub (Jan 9, 2026): This issue might be related to configuration handling. Please check: - #6984: Config autoupdate only respected at global path - may indicate broader configuration persistence issues with non-global config files Also related to MCP configuration: - #4054: MCP Servers are not available if config is per project - MCP servers may not be persisting correctly in non-global config locations If your issue occurs when using a project-level config or with specific configuration paths, those issues may provide context.
Author
Owner

@rgasper commented on GitHub (Jan 9, 2026):

I was configuring at the project level. thanks bot

@rgasper commented on GitHub (Jan 9, 2026): I was configuring at the project level. thanks bot
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4568