A broken tool connection and an expired sign-in are different problems. A November 28 change merged into OpenCode’s source makes that distinction earlier: malformed Model Context Protocol (MCP) server configurations now fail before the connection or sign-in process begins.
The original OpenCode pull request, opened November 28 at 04:33 UTC and merged at 04:44 UTC, documents changes to how the coding agent handles local commands and remote server addresses. The change is in source code; a packaged release containing it has not been verified.
Figure: Original conceptual diagram based on OpenCode PR 66931. Valid configurations proceed to connection or sign-in; invalid settings fail the affected server before authentication. Not a benchmark or a packaged-release claim.
What changes when a connector is configured incorrectly?
MCP lets an AI application connect to tools such as document search or a service’s API. Previously, some malformed settings were only discovered later in the connection or authorization flow. A remote server with a bad OAuth redirect address could appear connected until an attempted sign-in failed. The new code parses the settings when a server entry is created and reports a configuration failure for that server.
| Configuration problem | Earlier behavior reported by OpenCode | Merged change |
|---|---|---|
| Empty local command | Low-level runtime error | Clear failed status identifying the empty command |
| Malformed remote URL | Could register an OAuth integration before failing | Failed status; no OAuth integration registered |
| Malformed OAuth redirect URL | Could fail at sign-in | Failed status before sign-in |
The public configuration schema is unchanged. The project says the broken entry does not prevent the rest of the configuration from loading. The change does not guarantee that a correctly configured server is reachable or that its credentials are valid.
A useful pattern for an independent AI developer
Imagine a document assistant with a local search tool and an optional remote connector. Before asking a customer to reconnect their account, the application can check whether the connector has a usable command or URL. A configuration error belongs in a settings screen; a genuine authorization failure belongs in the sign-in flow. Keeping these states separate also helps support teams understand why a tool is unavailable.
For a test, supply an invalid URL to the optional connector and a valid configuration to the local search tool. Check that the former reports a configuration error, the latter can still be initialized, and no sign-in is offered for the malformed entry. Then test an otherwise valid remote server with expired credentials separately. This is a suggested acceptance test, not a test performed by INGOAMPT.
Availability and limits
The pull request reports passing MCP tests and type checks after the change, including tests for invalid commands and URLs. It does not establish an end-to-end customer deployment, better model quality, speed improvements or compatibility with every MCP server. Check the release notes for the version you install before relying on the new behavior.
Original source: OpenCode PR 66931, November 28, 2026. Read more INGOAMPT AI News for independent developers.
