Skip to content

Desktop: OAuth sign-in for a remote MCP server never opens the browser #1776

Backlog

Description

@lobotomoe

What happened

I added a remote MCP server that uses OAuth to ~/.agents/mcp.json and pressed Turn on in Integrations. Desktop shows "https://vcr.am/mcp requires you to sign in. A browser window should have opened; approve access there." No browser window opens, so there is no way to finish signing in.

The first half of the flow does run. I run the server, and I can see Desktop registering a client on it (client_name "Freebuff Desktop", redirect http://127.0.0.1:33418/mcp/oauth/callback). After that, no request ever reaches the authorize endpoint. Another Desktop user hit the same thing on Dec 1: the server got the registration and then nothing.

From the bundled orchestrator.js, it looks like the authorize URL goes to bus.publish({ type: "mcp_authorize", serverId, url }). I couldn't find anything in the app that listens for that event and opens the URL, so the link stays in memory.

The same server works in Desktop through the mcp-remote bridge (npx -y mcp-remote https://vcr.am/mcp as a stdio entry): the browser opens, and after sign-in all the tools show up. It also works in the Freebuff CLI the same way.

Steps to reproduce

  1. Put this in ~/.agents/mcp.json:
    { "mcpServers": { "vcr-direct": { "type": "http", "url": "https://vcr.am/mcp" } } }
  2. Open Integrations and press Turn on for vcr-direct.
  3. The message above appears and no browser opens.

Where does this happen?

Desktop app

Operating system

macOS

Version

0.0.208 (also 0.0.206)

Model

No response

Logs or screenshots

orchestrator-stderr.log has nothing about it. Screenshot of the message below.

clipboard-2026-12-02-014138-6FBB3F29

Activity

  1. added
    area:desktop
    bot:triaged
    type:bug
    on Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:desktopbot:triagedtype:bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions