From 457f75b73960e7a787f7f008dc221ae82b593c8f Mon Sep 17 00:00:00 2001 From: Roomote Date: Fri, 27 Nov 2026 05:05:58 +0000 Subject: [PATCH 1/2] Document MCP OAuth sign-in behavior: connected-before-lists updates and bounded sign-in retries --- docs/features/mcp/using-mcp-in-roo.mdx | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/features/mcp/using-mcp-in-roo.mdx b/docs/features/mcp/using-mcp-in-roo.mdx index b3b6cc72..082a320a 100644 --- a/docs/features/mcp/using-mcp-in-roo.mdx +++ b/docs/features/mcp/using-mcp-in-roo.mdx @@ -238,6 +238,16 @@ Streamable HTTP configuration example: } ``` + #### OAuth Sign-In for Remote Servers + + A streamable HTTP server can require OAuth sign-in. Zoo Code shows a notification with an **Authenticate** button, opens your browser for sign-in, and then reconnects the server with the new token. + + How sign-in behaves: + + * The authorization URL always points at a working local callback port. Sign-in completes without an extension reload. + * The MCP panel shows the server as **Connected** as soon as the connection succeeds. The tool and resource lists load after that, so a slow server does not keep the panel in the connecting state. + * If the server rejects a saved token, Zoo Code reconnects with a delay, up to three times. Each attempt waits 1, 2, or 4 seconds. If every attempt fails, the server shows a clear error and stops retrying. Reconnect the server to try again. + #### SSE Transport (Legacy) Used for older remote servers accessed over HTTP/HTTPS. **For new remote server implementations, [Streamable HTTP Transport](#streamable-http-transport) is recommended.** @@ -421,6 +431,8 @@ Common issues and solutions: * **Permission Errors:** Ensure proper API keys and credentials are configured in your `mcp_settings.json` (for global settings) or `.roo/mcp.json` (for project settings). * **Tool Not Available:** Confirm the server is properly implementing the tool and it's not disabled in settings * **Slow Performance:** Try adjusting the network timeout value for the specific MCP server +* **Server Stuck in Connecting:** Restart the server from the MCP panel. If the server requires OAuth, finish the sign-in notification. The panel shows **Connected** before the tool lists finish loading, so a yellow entry means the connection itself has not succeeded yet. +* **Repeated OAuth Sign-In Failures:** If the server rejects the saved token, Zoo Code retries up to three times with a delay and then shows an error on the server. Reconnect the server to start a new sign-in. See [OAuth Sign-In for Remote Servers](#oauth-sign-in-for-remote-servers). --- From d1108845f3a717fbf964f65ecd9f37bc60bed5fa Mon Sep 17 00:00:00 2001 From: edelauna <54631123+edelauna@users.noreply.github.com> Date: Sat, 5 Dec 2026 17:32:17 -0500 Subject: [PATCH 2/2] Document the project MCP settings workspace boundary --- docs/features/mcp/using-mcp-in-roo.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/features/mcp/using-mcp-in-roo.mdx b/docs/features/mcp/using-mcp-in-roo.mdx index 082a320a..95dd5a67 100644 --- a/docs/features/mcp/using-mcp-in-roo.mdx +++ b/docs/features/mcp/using-mcp-in-roo.mdx @@ -428,6 +428,7 @@ By investing effort in crafting detailed descriptions and potentially augmenting Common issues and solutions: * **Server Not Responding:** Check if the server process is running and verify network connectivity +* **Project Settings Path Rejected:** Zoo Code rejects project settings writes when `.roo/mcp.json` resolves outside the workspace. Move the target inside the workspace. * **Permission Errors:** Ensure proper API keys and credentials are configured in your `mcp_settings.json` (for global settings) or `.roo/mcp.json` (for project settings). * **Tool Not Available:** Confirm the server is properly implementing the tool and it's not disabled in settings * **Slow Performance:** Try adjusting the network timeout value for the specific MCP server @@ -557,3 +558,4 @@ This configuration: - Points to the MCP server JavaScript file Using version managers ensures that your MCP servers run with the correct runtime version, regardless of the system's default version, providing consistency across different environments and preventing version conflicts. +