---
id: 01a23104-0caa-7668-b690-4b7c69896745
seq: 32
form: page
type: runbook
title: Set up any agentic tool with the cloudbox/bashy MCP server (general steps; dots, Duet, Spark, Muse specifics)
description: 'WHEN an agent (CLI, IDE, chat UI or always-on assistant) needs to connect itself or its person''s tool to cloudbox/bashy: which door (remote gateway https://ai.dhnt.io/mcp, local bashy mcp serve, shapeware site /mcp), discovery, adding the server, the person''s consent steps, the hosts verification call, per-assistant status for dots/Duet/Spark/Muse, and live-browser automation gotchas (verified 2026-12-01)'
tags:
    - vendor-gateway
    - mcp
    - oauth
    - browser-live
    - connect
status: candidate
evidence: 'Live recon with the owner 2026-12-01 in Chrome live mode: ChatGPT and dots and Claude hosts call PASS; Gemini DCR refused (allowlist fix pending release); Meta has no custom connectors. Recorded on umbrella Sprint 767 thread.'
source:
    tool: claude
created: "2026-12-01T09:51:18Z"
updated: "2026-12-01T09:56:25Z"
---

> **No AI agent, subscription or key yet?** Start with kb page `get-a-free-ai-agent-with-bashy-no-account-no-key`:
> install bashy, then `bashy opencode --model big-pickle` (free, no sign-in).

# Set up any agentic tool with the cloudbox/bashy MCP server

This page is for any agent (CLI, IDE, chat UI or always-on assistant) whose person wants it to use cloudbox/bashy. That covers their hosts, tasks, shared rooms and apps, and software shaping. The setup is the same for every tool: one MCP server URL and one OAuth sign-in. Only where the setting lives differs.

## 1. Pick the door

| Door | When | Endpoint |
|---|---|---|
| **Remote gateway (cloudbox)** | Hosted UIs (ChatGPT, Claude, Gemini, Meta AI), always-on assistants, or any agent not running on the person's own machine | `https://ai.dhnt.io/mcp`: Streamable HTTP, OAuth 2.1 with PKCE, dynamic client registration (DCR); Client ID Metadata Documents (CIMD) later |
| **Local bashy** | A CLI or IDE agent on a machine where bashy is installed | `bashy mcp serve` over stdio. Register the **absolute path** of the bashy binary, because a new session's PATH may not include it |
| **Shapeware site** | A site built on bashy's shapeware template | That site's own `/mcp` (owner-set), announced in its "For agents" block |

## 2. Discover before asking
- A dhnt page (`https://dhnt.io`, `https://ai.dhnt.io`, any shapeware site) opens with a visible "For agents" block and links to `skill.md`. Read it first: it names the endpoint and the auth.
- Gateway metadata (standard OAuth discovery) is served at:
  - `https://ai.dhnt.io/.well-known/oauth-protected-resource`
  - `https://ai.dhnt.io/.well-known/oauth-authorization-server`
  
  An unauthenticated POST to `/mcp` answers 401 with the challenge, which is expected.

## 3. Add the server
- **A CLI agent that can edit its own MCP config:** add a remote (HTTP or Streamable HTTP) server named `dhnt` with the URL above, using the tool's own command. For example, Claude Code: `claude mcp add --transport http dhnt https://ai.dhnt.io/mcp`. Other CLIs (codex, gemini, opencode, muse): use the add command or config entry their `--help` documents for a remote HTTP server; do not guess flags. Ask the person once before changing their config.
- **A hosted chat UI:** the agent cannot add a connector to itself. Either:
  - tell the person the exact clicks (per-vendor section below); or
  - with the bashy live browser extension installed (Chrome Web Store item `lfbmlehkecabhobacnppikmhgmpnfclm`, which Edge installs from the Chrome store too), drive the person's own logged-in browser with `bashy browser --mode live`, fill in the form, and stop at the consent screens.
- **Respect the vendor's terms.** Drive a settings page only where the catalog (`bashy connect --gateway CLIENT`, data in `connect_recipes.yaml`) records `automation.ui: allowed`. For `guide-only` (Claude: the consumer terms bar automated access) or `unknown` (Gemini, until checked), give the guided sheet and let the person click. The catalog's `free_tier` says whether a free account can add a custom connector at all (Claude Free: one; ChatGPT Free: none).

## 4. The person makes the trust decisions
An agent may open settings, fill in the name and URL, and run a read-only test. The person must do these themselves:
- the vendor's "custom/unreviewed server" acknowledgement;
- the dhnt sign-in and approval;
- onboarding that sets data-use choices;
- any "Always allow" tool permission.

Never type or store their credentials.

## 5. Verify
Ask the connected assistant: "Use the dhnt / bashy connector: list my bashy hosts (call its hosts tool, read-only) and report exactly what it returned." A pass looks like `{"route":"pull","state":"done","text":"[...hosts...]"}`.

If the tool is "not available", the connector is installed but not signed in; finish the OAuth step. Consequential tools (approve, delegate, shape approve or undo) always return to the person for a digest-bound approval; that is by design.

## 6. Always-on vendor assistants (state as of 2026-12-01)
In general, an always-on vendor assistant uses the connectors of the account it lives in: connect once in the vendor's settings, and both chat and the assistant get it. Check this per vendor with the step-5 test **from inside the assistant itself**.

| Assistant | Where the connector is added | Status |
|---|---|---|
| **dots** (OpenAI) | ChatGPT: Settings > Plugins > Browse directory > Add > **Add custom MCP server** (name, URL; auth OAuth) > person acknowledges > Create as a plugin > **plugin page > Connect** (OAuth) | Works. The dot inherits the account plugin with no extra step. Before Connect, chat reports no plugins |
| **Duet** (Anthropic) | claude.ai: Plugins > Add > **Add custom connector** (name, URL) > Continue > page 2: "Sign in now" and "Register automatically" are auto-detected > Add > OAuth | The connector works in Claude chat (a per-tool permission on first use). Duet is a waitlisted research preview; when access opens, check that Duet sees the account connector |
| **Spark** (Google) | Gemini: `gemini.google.com/apps` > Connectors > **+ Custom** > "Connect to an MCP server" > URL > Next > OAuth. Personal Google account | Gemini's OAuth callback is **per Google account** (`https://oauth-redirect.googleusercontent.com/r/user_bound_custom-mcp-<user>-<host>`). The gateway must allow that prefix. Until the gateway release with that allowlist ships, Gemini shows "The Google redirect URL was rejected by the server". Do not work around it with a hand-made client ID; wait for the release. Then check Spark with the step-5 test |
| **Muse** (Meta) | Meta AI: Settings > Apps lists only Meta's own connectors | No custom connector by URL. Third parties join Meta's AI Connectors early-access program (applied 2026-12-01). Until accepted, Muse cannot use the gateway |

Statuses change: re-check with the step-5 test and update this page through `bashy kb update`.

## 7. Live-browser gotchas (when automating the setup)
- Radix dropdown triggers (ChatGPT "Add", Meta's avatar menu) ignore synthetic clicks. Focus the trigger and use `keyboard-press Enter`, which is trusted. Inside the menu use ArrowDown and Enter. Tab from a nearby input reaches the trigger.
- `navigate` with no tab id may open a new tab: check `tabs` (the `*` marks the active one). A screenshot can catch the previous page, so re-check before concluding where an OAuth window went.
- A "Copy" button clicked over CDP does not reach the system clipboard.
- For forms with custom radio or combobox widgets, or browser-autofilled values the person must check, open `bashy browser copysheet` beside the page and let the person finish.
