Is there a way to configure global mcp servers? #678

Closed
opened 2026-02-16 17:27:51 -05:00 by yindo · 1 comment
Owner

Originally created by @wesbragagt on GitHub (Jul 12, 2025).

Hey, I love the project so far. The ux is by far much better than any other agentic CLI I've tried. One question I have is if there is a way to configure global mcp servers?

With Claude Code I can run claude mcp add -s user <whatever-mcp>. If not, I would be happy to contribute to support that functionality.

Originally created by @wesbragagt on GitHub (Jul 12, 2025). Hey, I love the project so far. The ux is by far much better than any other agentic CLI I've tried. One question I have is if there is a way to configure global mcp servers? With Claude Code I can run `claude mcp add -s user <whatever-mcp>`. If not, I would be happy to contribute to support that functionality.
yindo closed this issue 2026-02-16 17:27:51 -05:00
Author
Owner

@thdxr commented on GitHub (Jul 12, 2025):

thanks!

you can configure it in global config in ~/.config/opencode/opencode.json

i'm working on some cli commands for auth but not for inserting stuff into the config, feels like a rabbithole

@thdxr commented on GitHub (Jul 12, 2025): thanks! you can configure it in global config in `~/.config/opencode/opencode.json` i'm working on some cli commands for auth but not for inserting stuff into the config, feels like a rabbithole
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#678