Commit Graph

50 Commits

Author SHA1 Message Date
msvechla 8f62d4a5e3
fix(mcp): register OAuth callback before opening browser (#9646) 2026-01-20 10:18:49 -06:00
Aiden Cline 33290c54cd Revert "feat(mcp): add OAuth redirect URI configuration for MCP servers (#7379)"
This reverts commit 40b275d7e6.
2026-01-16 22:17:33 -06:00
GitHub Action 0233dd1b39 chore: generate 2026-01-16 05:37:24 +00:00
Christopher Tso 40b275d7e6
feat(mcp): add OAuth redirect URI configuration for MCP servers (#7379) 2026-01-15 23:36:48 -06:00
Dan Lapid b572c68100
fix(mcp): show auth URL when browser cannot open in remote sessions (#7884) 2026-01-15 20:21:39 -05:00
Dax dd1f981d23
fix: honor per-server MCP timeouts (#8706) 2026-01-15 11:31:31 -05:00
Daniel Sauer 80e1173ef7
fix(mcp): close existing client before reassignment to prevent leaks (#8253) 2026-01-13 12:38:34 -06:00
Aiden Cline e5abe1e78b tweak: bump default to 30 seconds (lots of people complained about 5...) 2026-01-04 13:26:43 -06:00
Paolo Ricciuti 21dc3c24d9
feat: mcp resources (#6542) 2026-01-04 09:12:54 -06:00
Rhys Sullivan 586e7347bd
fix(mcp): add timeout to client.connect() calls (#6760) 2026-01-03 11:54:24 -06:00
Jake Nelson 5c5e636030
feat: add per-project MCP config overrides (#5406)
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-01-03 01:15:37 -06:00
Paolo Ricciuti 5249f04ea0
fix: display MCP tag for prompts in autocomplete but not in prompt (#6531) 2025-12-31 09:34:36 -06:00
Paolo Ricciuti 57a2b5f444
feat: mcp prompts as slash commands (alternative) (#5767)
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2025-12-31 00:51:25 -06:00
Dax Raad ed4ce67cdc core: add configurable timeout for MCP tool calls to prevent hanging requests 2025-12-30 23:06:07 -05:00
Daniel Polito 6e8cd3174c
Include current working directory in local MCP transport (#6303) 2025-12-28 13:09:24 -06:00
Abdelkader Boudih f4d61be8bd
feat(mcp): handle tools/list_changed notifications (#5913)
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2025-12-23 19:36:37 -06:00
Matt Silverlock 1a2b656c4d
improve `mcp` CLI + ability to debug MCP oauth (#5980) 2025-12-22 22:27:38 -06:00
Abdelkader Boudih 2f48c8c05f
fix: use official MCP SDK for better tool schema handling (#5463) 2025-12-21 11:31:07 -06:00
Rohan Mukherjee 7427b887f9
MCP improvements (#5699) 2025-12-17 20:49:45 -06:00
Paolo Ricciuti 57c3cf1f8b
fix: send `mcpName` as state if authUrl doesn't have `state` (#5681) 2025-12-17 10:26:23 -06:00
André Cruz 87a03e1e30
fix(mcp): send custom headers regardless of OAuth settings (#5273)
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2025-12-09 09:52:39 -06:00
Daniel Polito 203f3312ee
feat: ability to toggle MCP Servers in TUI (#4509) 2025-12-08 11:31:22 -06:00
André Cruz 509e43d6f8
feat(mcp): add OAuth authentication support for remote MCP servers (#5014) 2025-12-07 15:47:27 -05:00
Adam acf1dd8500
wip(share): more styling 2025-11-24 15:10:40 -06:00
althafdemiandra 468927e06a
chore: bump ai-sdk to v5.0.97 (#4518)
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2025-11-19 18:44:33 -06:00
Aiden Cline 090d27df11 chore: rm debug logs 2025-11-07 14:00:18 -06:00
Aiden Cline 73cd8a334c
rework acp to compensate for changes in Zed IDE (#4050) 2025-11-07 13:57:12 -06:00
Aiden Cline 1e0596bc46
ACP: update package, fix slash command bug (#3906) 2025-11-05 00:50:48 -06:00
Dmytro Tiapukhin e5a651eef7
fix: better mcp sanitization (#3842)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2025-11-03 15:19:49 -06:00
Aiden Cline 55d07a139c
fix: mcp error (#3847) 2025-11-03 15:04:53 -06:00
Dax 96bdeb3c7b
OpenTUI is here (#2685) 2025-10-31 15:07:36 -04:00
Haris Gušić c1ada302f9
fix: Opencode hangs after exit (#3481)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2025-10-30 23:57:58 -05:00
Matt Gillard 3ae75d7031
add optional timeout field to mcp config to allow users to use responding servers (#3558)
Co-authored-by: Matt Gillard <matt-github@gillard.biz>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
2025-10-30 01:25:24 -05:00
kcrommett 5cc37c4ea0
mcp: fix status() to not overwrite connected with failed (#3514) 2025-10-28 16:16:03 -05:00
Aiden Cline 982954cc1b
feat (acp): mcp server support, file diffs, some default slash commands (/init, /compact), show todos properly (#3490)
The mcp server support does not mean acp didn't allow u to use mcp servers previously, it means that now you can connect new servers via ACP instead of relying on the opencode defined ones
2025-10-28 00:08:30 -05:00
Aiden Cline 1a6fd018f6 Revert "fix: Explicitly exit CLI to prevent hanging subprocesses (#3083)"
This reverts commit a9624c0fff.
2025-10-27 01:30:13 -05:00
Haris Gušić a9624c0fff
fix: Explicitly exit CLI to prevent hanging subprocesses (#3083)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2025-10-27 00:03:10 -05:00
Jérôme Benoit 0eb899a950
chore: cleanup versioned zod imports (#3460)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
2025-10-26 14:50:41 -05:00
Dax Raad a440e09cfe core: improve MCP reliability and add status monitoring
- Added 5-second timeout to MCP client verification to prevent hanging connections
- New GET /mcp endpoint to monitor server connection status
- Automatically removes unresponsive MCP clients during initialization
2025-10-07 04:04:19 -04:00
Dax c1b4e1f19d
Upgrade to Zod v4 (#2605)
Co-authored-by: GitHub Action <action@github.com>
2025-09-15 03:12:07 -04:00
Dax f993541e0b
Refactor to support multiple instances inside single opencode process (#2360)
This release has a bunch of minor breaking changes if you are using opencode plugins or sdk

1. storage events have been removed (we might bring this back but had some issues)
2. concept of `app` is gone - there is a new concept called `project` and endpoints to list projects and get the current project
3. plugin receives `directory` which is cwd and `worktree` which is where the root of the project is if it's a git repo
4. the session.chat function has been renamed to session.prompt in sdk. it no longer requires model to be passed in (model is now an object)
5. every endpoint takes an optional `directory` parameter to operate as though opencode is running in that directory
2025-09-01 17:15:49 -04:00
Jakub Kopecký a928a35c96
fix: mcp client name (#2289) 2025-08-28 12:48:29 -05:00
spoons-and-mirrors b223a29603
Fix: Sanitize MCP Tool Names for Consistency in User Expectations (#1769) 2025-08-11 01:59:50 -04:00
rmoriz 83f4e8e156
Clarify remote mcp error (#1729)
Co-authored-by: opencode <noreply@opencode.ai>
2025-08-08 20:04:26 -04:00
Aiden Cline 022c979d28
tweak: sanitize mcp server names (#831) 2025-08-01 09:11:40 -05:00
Dax Raad e8eaa77bf1 better mcp support - should fix hanging when streamable http server is added 2025-07-25 19:19:47 -04:00
Aiden Cline a1fdeded3e
tweak: allow mcp servers to include headers (#1096) 2025-07-17 09:11:48 -05:00
Timo Clasen f0962e2d9c
Add Option to Disable MCP Servers (#513) 2025-06-28 21:05:31 -04:00
Dax Raad 100d6212be more graceful mcp failures 2025-06-22 21:10:05 -04:00
Dax Raad 37c34fd39c mcp support 2025-06-03 15:57:48 -04:00