Connect MCP clients
Every client uses the same endpoint. Auth is OAuth 2.1 with PKCE; you never paste an API key into a chat app. Badges say whether we have used each client with Reachthings ourselves; your own agent's state is under Agents in the dashboard.
On this page
Prompt for Codex or Claude Code
Copy and paste this into your coding agent.
한국어
Order of operations: add the agent in Agents → Add an agent (pick the client, choose devices), then set up and sign in from the client. Signing in first also works; the sign-in then shows up under Agents for you to name or link.
AI apps
Agent tools
Badges: Works = we signed in from this client and read devices with the version named. Works · chat not tested yet = sign-in and device access worked with the version named, but we haven't yet used it inside a chat session. Expected to work = the sign-in server accepts this client, but we haven't completed a sign-in from it. Not tested yet = the steps follow the client's own documentation; we haven't run them against Reachthings.
Claude (claude.ai · Claude Desktop) Works
In claude.ai open Settings → Connectors → Add custom connector and paste this URL. Leave Client ID and Secret empty.
https://connect.reachthings.com/mcp
- Sign in. Claude opens the Reachthings sign-in page. Sign in with the same account you use for this console and allow the requested permissions (read and control devices).
- Check it worked. The agent card here switches to Connected. In a chat, ask "Show my devices": the reply lists the devices you shared.
- In Agents, confirm the agent shows Ready and share the devices it may use.
If it fails
If sign-in fails, remove the connector in Claude and add it again. If Claude connects but sees no devices, open the agent here and share devices with it.
Works. Sign-in, consent, device read and control confirmed end to end. Tested with claude.ai web connector, 2026-10-18. Identifies itself to the sign-in server as: Pre-registered client (CIMD).
ChatGPT connector Works
In ChatGPT (web) open Plugins → + → Add custom MCP server. Enter a name, paste this URL as the server URL under Connection, choose OAuth for authentication, confirm the risk notice and select Create as a plugin. Open ChatGPT Plugins ↗
https://connect.reachthings.com/mcp
- Sign in. ChatGPT opens the Reachthings sign-in page. Sign in with this account and allow access.
- Check it worked. The agent card here switches to Connected. Turn the plugin on in a chat and ask "Show my devices".
- In Agents, confirm the agent shows Ready and share the devices it may use.
If it fails
If the plugin can't be created or sign-in fails, the sign-in server may not accept ChatGPT's client yet. Custom MCP servers are web-only and depend on your ChatGPT plan and workspace policy. Remove and re-create the plugin after that is fixed.
Works. Confirmed in a real ChatGPT chat on 2026-11-13: a custom MCP server plugin with OAuth signed in to Reachthings and listed and read the shared devices. Sending control commands from ChatGPT has not been tested yet. Custom MCP servers are available on ChatGPT web only and depend on your plan and workspace policy. Tested with ChatGPT web, custom MCP server plugin with OAuth, 2026-11-13 (sign-in, token exchange, device list and state read inside a chat; control not tested). Identifies itself to the sign-in server as: Pre-registered client (CIMD).
Claude Code (CLI) Expected to work
Run this in your terminal (adds the server for the current project; add --scope user to make it available everywhere).
claude mcp add --transport http reachthings https://connect.reachthings.com/mcp
- Sign in. Start claude, type /mcp, pick reachthings and choose Authenticate. Your browser opens the Reachthings sign-in page; sign in with this account.
- Check it worked. claude mcp list shows reachthings as Connected only after sign-in. Then ask "Show my devices" in a session: the reply lists the devices you shared.
- In Agents, confirm the agent shows Ready and share the devices it may use.
If it fails
If the browser never opens, copy the URL Claude Code prints. If /mcp says Failed, run claude mcp remove reachthings, add it again and retry. Still stuck? Check the agent here: it must say Connected and have devices shared.
Running Claude Code on another machine (server, SSH)?
- Claude Code listens for the OAuth callback on the machine it runs on. Over SSH, forward that port: ssh -N -L <port>:127.0.0.1:<port> user@host, using the port from the callback URL it prints.
- Open the printed authorize URL in your local browser; the redirect reaches Claude Code through the tunnel.
Expected to work. Sign-in server pre-checks passed (loopback callback with a variable port, resource parameter; re-checked 2026-11-10). We haven't yet signed in or called a tool from Claude Code ourselves. Identifies itself to the sign-in server as: Pre-registered client (CIMD).
Hermes Agent Works · chat not tested yet
Use Hermes Agent v0.21.5 or newer (hermes --version). Run this in a terminal on the machine where Hermes runs, as the same user and profile your Hermes sessions or gateway use (hermes -p <profile> mcp add … if you use profiles). It registers reachthings in that Hermes's config.yaml, opens the sign-in page, waits up to 5 minutes for you, enables the server and makes the first connection. Running it again is safe: it reuses a finished sign-in without a browser and changes only the reachthings entry.
hermes mcp add reachthings --url https://connect.reachthings.com/mcp --auth oauth --connect-timeout 300
- Sign in. The sign-in page opens in your browser (if it doesn't, open the URL Hermes prints). Sign in with the account you use for this console and allow the permissions. Back in the terminal, press Enter at "Enable all tools". If reachthings already existed, answer y to "Overwrite" first: that keeps your other MCP servers and your saved sign-in.
- Check it worked. Hermes prints "Connected! Found 15 tool(s)" and "Saved 'reachthings' … (15/15 tools enabled)", and this page switches to "Connected · choose devices" (or "Devices shared · not read yet" if you already chose devices) by itself. Then, in a Hermes session (/reload-mcp or /new in a running one; a gateway re-reads config.yaml within about a minute), ask "List my devices": this page turns Ready once the server answers that request with at least one of the devices you shared. hermes mcp test reachthings checks the connection any time.
- In Agents, confirm the agent shows Ready and share the devices it may use.
If it fails
Match what you see. "Saved 'reachthings' to config (disabled)" or "timed out": the sign-in didn't finish within 5 minutes; run the same command again (y to Overwrite) and finish the sign-in, or run hermes mcp login reachthings and then hermes config set mcp_servers.reachthings.enabled true. hermes mcp list shows reachthings "✗ disabled": hermes config set mcp_servers.reachthings.enabled true, then hermes mcp test reachthings (no file editing needed). Hermes says Connected but this page still waits: the command ran in a different Hermes than the one you expect (another user, profile or HERMES_HOME: compare hermes mcp list from the terminal your sessions or gateway use) or the browser signed in to a different Reachthings account than this console; sign out of Reachthings in the browser and run the command again. "invalid_request" on the sign-in page: the sign-in server doesn't know Hermes; that is on Reachthings, not you. "Connection failed" or a DNS error: this machine can't reach https://connect.reachthings.com/mcp; check the network or proxy, then run the command again. "unrecognized arguments: --connect-timeout" or "Registration failed": Hermes v0.18.0 or older; upgrade (hermes update) and run the command again. If you must stay on the old version, add oauth: { client_id: "cMawKu5poJpBXmoTvZ2zy6oM6FDgUZTY", redirect_port: 27890 } under mcp_servers.reachthings in config.yaml, run hermes mcp login reachthings and allow within 40 seconds. Tokens live in HERMES_HOME/mcp-tokens/; hermes mcp reauth reachthings replaces them.
Running Hermes Agent on another machine (server, SSH)?
- Hermes receives the sign-in callback on http://127.0.0.1:27890/callback on the machine it runs on, so a browser on another computer can't complete it directly. Use the paste-back step Hermes offers; no SSH tunnel is needed.
- On the Hermes machine (same user and profile as your sessions or gateway) run the same command: hermes mcp add reachthings --url https://connect.reachthings.com/mcp --auth oauth --connect-timeout 300. It prints the sign-in URL and waits up to 5 minutes.
- Open that URL in the browser on your computer, sign in with this Reachthings account and allow. The browser then lands on an address starting with http://127.0.0.1:27890/callback?code=… and shows a connection error. That is expected.
- Copy the whole address from the browser's address bar and paste it at the Hermes prompt ("Or paste the redirect URL here"), then press Enter. Hermes finishes the sign-in, and you press Enter at "Enable all tools".
- Alternative if you prefer a tunnel: on your computer run ssh -N -L 27890:127.0.0.1:27890 user@host first; then the printed URL completes in your browser without pasting. Don't change the port or bind 0.0.0.0: the sign-in server checks the exact loopback redirect.
- If Hermes runs as a gateway, it picks up config.yaml within about a minute; no restart needed. The paste-back step is described by Hermes but has not been exercised by Reachthings yet.
Running more than one process on this connection, such as a Hermes gateway and a G2 adapter sharing the same token store? Refresh tokens one process at a time: When multiple processes share one connection.
Works · chat not tested yet. Verified 2026-11-10 with Hermes Agent v0.21.5 (2026.9.24) on macOS in an isolated test install (own HERMES_HOME), not in a customer's live Hermes: on a brand-new HERMES_HOME the one-command path hermes mcp add … --connect-timeout 300 opened the browser, took the sign-in with Hermes's published client identity (callback 127.0.0.1:27890), enabled the server and reached this server in the same run (tools/list, 15 tools); when the 5-minute window passed without consent it left either nothing or a disabled entry, and running the same command again finished the sign-in and enabled it; running it again while connected reuses the sign-in without a browser and changes only the reachthings entry; hermes config set mcp_servers.reachthings.enabled true/false switches the entry without editing the file; hermes mcp test works even while the entry is disabled; the access token was refreshed after expiry. With one appliance shared as See status, list_devices and get_device_state called directly over MCP with the token Hermes stored returned that appliance and its state (2026-11-10 23:09 KST; the console then showed Ready). Still untested: the same calls made by Hermes itself inside a chat session (no model credentials in the test install), the remote paste-back step, and access after revocation (no separate test account). Hermes v0.18.0 and older are not recommended: no CIMD, no --connect-timeout on add, and hermes mcp login gives up about 40 s after printing the URL. Tested with Hermes Agent v0.21.5 (2026.9.24), macOS, isolated test install, 2026-11-10 (new install, late-consent recovery, re-run, enable/disable, token refresh, tools/list, device list and state read with the stored token). Identifies itself to the sign-in server as: Pre-registered client (CIMD).
Cursor (Desktop) Not tested yet
Add this to .cursor/mcp.json in your project (that project only) or ~/.cursor/mcp.json (every project). Merge it into an existing mcpServers block instead of replacing the file.
{
"mcpServers": {
"reachthings": {
"url": "https://connect.reachthings.com/mcp",
"auth": { "CLIENT_ID": "0Q40Yc1VYzsaRKhE3ZQJR78R9VCdreM7" }
}
}
}
- Sign in. Open Cursor Settings → Tools & MCP (or MCP). reachthings appears with a Needs login / Login button; click it and sign in with this Reachthings account in the browser that opens.
- Check it worked. The server shows a green dot and its tool list in Cursor settings. In Agent mode ask "List my devices" and approve the list_devices tool call: the reply lists the devices you shared.
- In Agents, confirm the agent shows Ready and share the devices it may use.
If it fails
Red dot or "Needs login" again: click Login once more, then check the agent here says Connected. If Cursor keeps failing right after the browser step, remove the entry, restart Cursor and add it again. Cursor re-registers after some reconnects, which shows up here as a new sign-in you can link to this agent.
Not tested yet. Not yet tested with Reachthings. Cursor has no published client identity (CIMD): it registers itself at sign-in (dynamic client registration), or uses the client ID you put in mcp.json under auth.CLIENT_ID. Its callback is http://localhost:8787/callback. Applies to Cursor Desktop only, not Cursor CLI or Cloud Agents. Identifies itself to the sign-in server as: Pre-registered client ID.
Codex CLI Not tested yet
Run this in your terminal (writes [mcp_servers.reachthings] into ~/.codex/config.toml), or add the TOML below yourself. No client ID is needed: Codex signs in with its own published client identity.
codex mcp add reachthings --url https://connect.reachthings.com/mcp # or add to ~/.codex/config.toml [mcp_servers.reachthings] url = "https://connect.reachthings.com/mcp"
- Sign in. Run codex mcp login reachthings. Your browser opens the Reachthings sign-in page (add --no-browser on a machine without one, open the printed URL yourself and paste the redirect URL back). Sign in with this account.
- Check it worked. codex mcp list only confirms the entry exists. For the real check, start codex, run /mcp (reachthings must show as connected, not "needs OAuth"), then ask "List my devices".
- In Agents, confirm the agent shows Ready and share the devices it may use.
If it fails
If /mcp still says it needs OAuth, run codex mcp login reachthings again. "invalid_request" or an unknown-client error on the sign-in page means the sign-in server doesn't know Codex yet: that is on Reachthings, not you. Codex prints the exact callback URL it uses; it must be a loopback address (http://127.0.0.1/callback with a port Codex picks).
Running Codex CLI on another machine (server, SSH)?
- Codex listens for the callback on 127.0.0.1 on the host it runs on. Run codex mcp login reachthings --no-browser there, open the printed URL on your computer, and forward the callback port over SSH (ssh -N -L <port>:127.0.0.1:<port> user@host) so the redirect reaches Codex.
Not tested yet. Not yet tested with Reachthings. Codex identifies itself with its published client metadata document (CIMD) when the sign-in server advertises CIMD and issuer-bound responses, which Reachthings' sign-in server does; Reachthings imports that document. A pre-registered client ID (--oauth-client-id) is the fallback. The ChatGPT desktop app and the Codex IDE extension share ~/.codex/config.toml, but only the CLI path is described here. Identifies itself to the sign-in server as: Pre-registered client (CIMD).
VS Code (Copilot agent mode) Not tested yet
Run this in your terminal, or add the server from the Command Palette (MCP: Add Server → HTTP).
code --add-mcp '{"name":"reachthings","type":"http","url":"https://connect.reachthings.com/mcp"}'
- Sign in. Start the server from the MCP view (Extensions → MCP Servers) and sign in when VS Code prompts for Reachthings.
- Check it worked. The server shows Running with a tool count. In Copilot agent mode ask "List my devices".
- In Agents, confirm the agent shows Ready and share the devices it may use. VS Code gets its own client ID at sign-in, so the sign-in first appears as “not linked”: open it there and link it to the agent you added.
If it fails
Open the server's output log from the MCP view. An authentication error after the browser step usually means the sign-in server rejected the client registration.
Not tested yet. Not yet tested with Reachthings. VS Code registers or identifies itself at sign-in; without a registered client ID the sign-in server refuses. Identifies itself to the sign-in server as: Registers itself at sign-in (DCR).
Gemini CLI Not tested yet
Run this in your terminal.
gemini mcp add --transport http reachthings https://connect.reachthings.com/mcp
- Sign in. Start gemini and run /mcp auth reachthings. Sign in with this Reachthings account in the browser that opens.
- Check it worked. /mcp lists reachthings as connected with its tools. Then ask "List my devices".
- In Agents, confirm the agent shows Ready and share the devices it may use. Gemini CLI gets its own client ID at sign-in, so the sign-in first appears as “not linked”: open it there and link it to the agent you added.
If it fails
Run /mcp auth reachthings again. A registration error means the sign-in server has no client for Gemini CLI yet.
Not tested yet. Not yet tested with Reachthings. Gemini CLI uses dynamic client registration at sign-in; without a registered client ID the sign-in server refuses. Identifies itself to the sign-in server as: Registers itself at sign-in (DCR).
Your own agent
Reachthings' sign-in server identifies apps by a client ID metadata document (CIMD): the client_id is the HTTPS URL of a JSON document you publish, usable once Reachthings has registered it (not self-serve yet). While you develop on your own computer, use Reachthings' shared starter client as is. The token's sub decides whose devices are visible and the client decides which agent's sharing applies, so the same tools work for a script, a scheduler or a multi-user product.
A runnable TypeScript starter (with mock devices), a Python example, and the sign-in, sharing and empty-list steps are in Quickstart: Build into my own agent.
Agents that run on their own (routines, schedulers, scripts) use the same endpoint and the same tools. For recurring work, prefer create_schedule: the server runs it on time even when your process is not up.





