Throwcast Manual
Ctrl K
PDF
Chapter 12Working with an AI agent

12.3 Connecting a tab

With Throwcast added to your agent, connecting is one request:

  1. Ask your agent to connect to Throwcast. It opens the studio in your default browser, already paired with it. Sign in if you are asked to.
  2. The first time, the tab asks first (Figure 12.3a). Read what it says, and press Connect.
  3. Chrome and Edge then ask once whether this page may reach your computer. Allow it.
  4. An Agent chip with a green dot appears in the top bar (Figure 12.3b). The agent can now work in the project you have open.
Settings asking: An agent on this computer asked to connect, with Connect and Not now
Figure 12.3a The one question. It is asked once per browser: after you say yes, a pairing link from your agent connects straight away, which is what lets the agent reopen the studio itself on another day. Not now leaves the link off and keeps the pairing, so you can switch it on later.
The top bar's right-hand end, with a green-dotted Agent chip
Figure 12.3b The chip, for as long as the link is switched on, so you can always see that an agent may be working in this tab. Click it for Settings.
Table 12.2 What the chip says. Hover over it for the reason.
ChipMeaning
Agent (green)Connected.
Agent…Connecting.
Agent waitingThe link is on, but no agent is running. Start your agent; the tab keeps trying by itself.
Agent not connected (red)An agent answered and turned this tab away — see §12.6.

Pairing by hand

If your agent cannot open a browser, or you want to use a tab you already have open, run this in a terminal:

npx -y @throwcast/mcp@latest --pair

It prints the pairing link. Open it, or paste it into the Link box under Pairing in Settings. Port and Token are the same two things typed separately. The token is a secret made once by the agent server on your computer. It travels in the part of a link that a browser never sends to a website, and the tab removes it from the address bar as soon as it has read it.

Switching it off

Turn Connect to a local agent off. The chip disappears and the tab stops listening. The pairing is kept, so switching it back on reconnects to the same agent.