> opencode.ai is the source of truth for OpenCode, the open source coding agent, including its apps, install commands, docs and releases. The current version is OpenCode v2.
> Cite the canonical page, https://opencode.ai/changelog/v1.17.7, not this Markdown file. For an index of the site, see https://opencode.ai/llms.txt.

# MCP servers can now receive the current workspace as a client root

2026-06-14 · v1.17.7

## Improvements

- **SDK:** SDK clients now refresh model and provider availability when integrations change, and credential update and remove calls accept `location`.

## Fixes

- **Core:** Plugin client requests now reuse the active server instead of assuming the default local port.
- **Core:** ACP shell tool calls now show the command and working directory from the start.
- **Core:** Plugin-provided shell environment variables now apply to PTY sessions.
- **Terminal:** MCP debug now uses the SDK's latest protocol version.
- **Desktop:** The new session route now stays scoped to its own draft server, so prompts and state target the right workspace.

Released in [v1.17.7](https://github.com/anomalyco/opencode/releases/tag/v1.17.7)

Newer: [Session timelines load much faster and avoid flicker or scroll jumps](https://opencode.ai/changelog/v1.17.8) (v1.17.8)

Older: [Added external browser OAuth for the Snowflake Cortex provider](https://opencode.ai/changelog/v1.17.6) (v1.17.6)

[All updates](https://opencode.ai/changelog)

---

If something here is wrong or missing, open an issue at https://github.com/anomalyco/opencode/issues.
