Skip to content

[Bug]: T3 Connect public MCP URL is not discoverable in a single-machine setup #17216

Closed

Description

@HugoVizcainoSantana

Summary

A user with only one registered machine/environment reports that they cannot discover or copy its public MCP URL after enabling T3 Connect. Settings → Connections does not expose an apparent Copy MCP URL action for the local environment, and t3 connect status reports that the environment link is provisioned without displaying its hostname or public URL.

This blocks external MCP onboarding for ChatGPT/Claude even though the environment has been provisioned.

Environment and evidence scope

  • macOS, T3 Code desktop nightly 0.0.46-nightly.20261008.2813.
  • One registered machine/environment; T3 Connect signed in and enabled for that environment.
  • The reproduction and workaround below are a user report, not an independently tested reproduction. The behavior with multiple machines has not been established by this report.

Steps to reproduce (reported)

  1. Start T3 Code on macOS with only one registered machine/environment.
  2. Sign into T3 Connect and enable it for the only environment.
  3. Open Settings → Connections and look for a way to copy that environment's public MCP URL.
  4. Follow the outside-agents documentation's instruction to open the environment menu and choose Copy MCP URL. In this single-machine setup, the user cannot find that action or an apparent alternate environment/menu through which to obtain it.
  5. As a fallback, run t3 connect status. For the environment link, it shows Environment link: provisioned, but no hostname or public URL.

Expected behavior

Copy MCP URL should be visible for each provisioned local environment regardless of the number of registered or connected machines, with a discoverable way to copy the public T3 Connect MCP URL needed by hosted clients.

Alternatively, t3 connect status should display the environment's public URL (ideally including the MCP URL) when provisioned.

Actual behavior

The public MCP URL is not discoverable through the reported single-machine UI flow or CLI status output. Provisioning is visible, but the address needed for external MCP setup is missing.

Documentation mismatch

  • Outside agents — Get the MCP URL directs users to a saved environment's menu in Settings → Connections to copy the MCP URL. It also explains that hosted agents need an internet-reachable T3 Connect address. In the reported setup, there is no apparent menu/action for obtaining the only local environment's public URL.
  • Remote access — T3 Connect describes enabling T3 Connect on the host and choosing the environment from another device. A user onboarding an external MCP client with only one machine has no apparent route to the required public URL.
  • T3 Connect troubleshooting points to t3 connect status for saved authorization/link configuration, but its reported provisioned status does not provide the address.

Reported workaround and impact

The user could only find the relay host by grepping local T3 logs, then reported validating the OAuth protected-resource endpoint for that host. This suggests the missing step is URL discovery; it does not establish that full MCP onboarding succeeds.

Users should not need to inspect private logs to obtain the URL required to add T3 Code as an external MCP server in ChatGPT or Claude. The normal onboarding flow is blocked at the URL-entry step.

No user-specific relay URL, hostname, local path, account identifier, credentials, or private log contents are included in this report.

Duplicate search

Searched upstream open and closed issues for single machine, Copy MCP URL, T3 Connect, and MCP endpoint URL, plus related MCP URL and single-environment terms. No exact duplicate was found.

Activity

  1. ryanwaggoner commented on Oct 15, 2026

    @ryanwaggoner

    Having the exact same issue, thank you for filing!

  2. avatarneil commented on Oct 16, 2026

    @avatarneil

    If anyone's looking for a workaround, you can connect to your T3 Code from the web app and then copy the MCP URL from there!

    1. Connect to T3’s web app:
    2. Sign in with the same T3 Connect account and select your device.
    3. Open Settings → Connections there.
    4. Click the kebab menu for the the remote environment listed in Environments → Copy MCP URL.
    5. ...Profit?
  3. added
    needs more infoInitial triage showed no bug. Awaiting more info
    and removed
    needs more infoInitial triage showed no bug. Awaiting more info
    on Oct 22, 2026
  4. anthnykr commented on Nov 5, 2026

    @anthnykr

    Note

    🤖 Claude Opus 5.5 responding on behalf of anthnykr

    Still reproducible on desktop 0.1.7 (macOS, arm64), single machine, T3 Connect enabled and healthy.

    Repro

    1. t3 connect link, then t3 connect status reports Exposure: enabled and ✓ Other devices can reach this machine · Tunnel connected.
    2. Desktop app, Settings → Environments: the Mac appears only under This app → Local environment (a toggle with no row menu). The Environments list says "No saved remote environments", so there is no Copy MCP URL anywhere.
    3. t3 connect status shows Environment link: provisioned but no public hostname or MCP URL.

    The only route that worked is the workaround above: open app.t3.codes, connect to the same machine through T3 Connect, then copy the URL from that client's saved-environment menu.

    Likely cause (read from the shipped bundle, not the source, so treat as unverified)

    The MCP URL is derived from the address the current client used to reach the environment, with the path replaced by /mcp. For a RelayConnectionTarget it uses relayHttpBaseUrl. The desktop app reaches its own server over loopback and never through the relay, so it has no relay base URL to offer, and the local environment has no saved-environment row to host the action anyway.

    Use case this blocks

    Hosted MCP clients that can only reach public HTTPS URLs, e.g. Grok Bot custom MCP servers and ChatGPT custom apps (per outside-agents.md). A single-machine user has to bring up a second client just to read their own machine's address.

    Possible fixes (maintainers' call)

    • Show Copy MCP URL on the local environment when T3 Connect exposure is enabled, using the server's managed endpoint.
    • Print the public base URL and /mcp URL in t3 connect status.
    • Or document the app.t3.codes workaround in outside-agents.md until one of the above lands.
  5. juliusmarminge commented on Nov 9, 2026

    @juliusmarminge
    Member

    Thanks for reporting this! #33196 (965ddc1d6c) adds Use T3 Code in another app (MCP) in the command palette and Sharing & access. With T3 Connect enabled, its Connect step shows and copies the public MCP URL even for the local environment.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions