feat(web): copy an environment's MCP URL for outside agents (#16337)

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
This commit is contained in:
Julius MarmingeandClaude Opus 5.5 authored and GitHub committed 2026-10-06 14:09:36 -07:00
1 parent 2c8be5893e
commit fbe5df2d4b
4 files changed
+120

No files matched your search

+28
View File
@@ -220,6 +220,34 @@ only reports what it would change.
The browser always runs in Chrome's sandbox. Where you cannot change the host,
set `T3CODE_SERVER_BROWSER_SANDBOX=0` for the environment to run without it.
## Connect an outside agent
An agent T3 Code did not start, such as Claude Code in your own terminal, can
drive threads on an environment through its MCP server. In **Settings →
Connections**, open a saved environment's menu and choose **Copy MCP URL**, then
add it to the agent. For example:
```sh
claude mcp add --transport http t3 https://<environment-address>/mcp
```
The first time the agent connects, it opens a sign-in page on the environment.
Enter a pairing code from **Settings → Connections** on a device that can manage
access, or from `t3 auth pairing create` on the host, and choose what the agent
may do. A browser already signed in to that environment as an administrator can
approve without a code.
- **Read only** lets the agent read projects and threads in every project, and
see which providers and models are available. It cannot change anything.
- **Supervised** through **Full access** also let it start, message and stop
threads in every project, but it cannot start or steer a thread with more
permissions than the mode you chose.
Use an HTTPS address: T3 Connect, Tailscale Serve, or `localhost` on the host
itself. Agents refuse to sign in through a plain `http://` LAN or tailnet
address. The agent appears under **Settings → Connections** like any other
client; revoke it there. Sign-ins last 30 days.
## Manage or revoke access
On the host, **Settings → Connections** lets authorized administrators create