v1.17.4

daijro/camoufoxv1.17.4Jun 12, 2026by opencode-agent[bot]

AI Summary

This update introduces significant improvements to Model Context Protocol (MCP) server capabilities, including new authentication flows, v2 API endpoints, and various bug fixes to enhance stability and performance.

Key Highlights

  • Added `cwd` support for local MCP servers
  • Connector-based authentication flows
  • Added v2 API endpoints for sessions and location
  • Fixed snapshot creation performance

New Features

  • Added `cwd` support for local MCP servers
  • Connector-based authentication flows
  • Added v2 API endpoints to create and fetch sessions, list session questions, and resolve location
  • File reads now return raw content with the correct content type
  • MCP server log notifications in opencode logs

Full Release Notes

## Core

### Improvements

- Added `cwd` support for local MCP servers so they can start from a workspace-relative directory. (@Grantmartin2002)
- Added connector-based authentication flows and support for stored provider credentials.
- Added v2 API endpoints to create and fetch sessions, list session questions, and resolve the active location.
- File reads now return raw content with the correct content type for API and SDK clients.
- MCP server log notifications are now surfaced in opencode logs.

### Bugfixes

- Fixed Gemini tool schemas that used multi-type fields so compatible tools keep working. (@Killusions)
- Content-filtered model responses now surface as visible errors instead of failing silently. (@kkdawkins)
- Fixed MCP auth and debug requests dropping configured headers.
- Snapshot creation now reuses source Git objects to avoid long re-hashing delays on huge repos. (@dmtrKovalenko)
- Fixed MCP catalog request timeouts not applying when listing prompts, resources, or tools.

**Thank you to 5 community contributors:**
- @dmtrKovalenko:
  - fix(snapshot): reuse source git objects to avoid re-hashing huge repos (#31798)
- @tobwen:
  - fix(tui): preserve exit epilogue during scoped shutdown (#31805)
- @kkdawkins:
  - fix(opencode): surface content-filter finish reason as visible error (#31745)
- @Killusions:
  - fix(gemini): prevent gemini incompatibility with some tools (#31877)
- @Grantmartin2002:
  - feat(opencode): support cwd on local MCP servers (#30676)