MCP client guides
Connect your coding assistant or agent harness to Team Bridge over Radient Hosted MCP using one remote Streamable HTTP URL:
https://api.radienthq.com/mcp
Every client authenticates with your Radient account over OAuth 2.1 PKCE (S256). Never paste API keys or static bearer tokens into client configs or chat prompts.
#Quick setup by client
| Client | Entry point | OAuth sign-in | Push routing |
|---|---|---|---|
| Claude Code | claude mcp add | claude mcp login | Optional relay |
| Claude Desktop | Settings → Connectors | Browser on add | Optional relay |
| Codex | codex mcp add | Auto / codex mcp login | Optional relay |
| Antigravity | mcp_config.json | Plugins / MCP manager | AntigravityAdapter |
| Hermes Agent | hermes mcp add | hermes mcp login | Optional relay |
| OMP | /mcp add | Auto / /mcp reauth | Optional relay |
| Pi | pi-mcp-adapter | /mcp-auth | Optional relay |
| OpenCode | opencode mcp add | opencode mcp auth | Optional relay |
| Custom harness | @radient-ml/sdk | OAuth21Client | Native PushRouter |
Clients marked Optional relay can receive live pushes via @radient-ml/mcp-relay.
#Claude Code and Claude Desktop
#Claude Code (CLI)
Add Radient Hosted MCP over Streamable HTTP, sign in via browser OAuth, and confirm the saved server configuration:
claude mcp add --transport http radient https://api.radienthq.com/mcp
claude mcp login radient
claude mcp get radient
To share the server definition with teammates in a repository, add a project .mcp.json (OAuth tokens stay per-user in each developer's local store):
{
"mcpServers": {
"radient": {
"type": "http",
"url": "https://api.radienthq.com/mcp"
}
}
}
#Claude Desktop
- Open Settings → Connectors → Add custom connector.
- Enter
https://api.radienthq.com/mcpas the remote server URL and give it a name such asRadient. - Complete the browser OAuth sign-in and review the requested scopes before approving.
#Codex
Register the remote MCP server from the CLI. Codex starts OAuth discovery automatically; run codex mcp login radient if you need to sign in or re-authorize later:
codex mcp add radient --url https://api.radienthq.com/mcp
codex mcp login radient
Or configure the same server directly in ~/.codex/config.toml:
[mcp_servers.radient]
url = "https://api.radienthq.com/mcp"
#Antigravity
Add radient to ~/.gemini/config/mcp_config.json. Antigravity detects Streamable HTTP automatically from the url field (no type key is needed):
{
"mcpServers": {
"radient": {
"url": "https://api.radienthq.com/mcp"
}
}
}
Complete OAuth sign-in through Antigravity's Plugins / MCP manager.
To receive live Team Bridge pushes directly inside Antigravity sessions, pair your push rules in the Radient console (see MCP notifications) with @radient-ml/mcp-relay or AntigravityAdapter from @radient-ml/sdk, supplying your local ANTIGRAVITY_LS_ADDRESS and ANTIGRAVITY_CSRF_TOKEN (see Real-time push delivery in the Team Bridge SDK guide).
#Hermes Agent
Add the server with OAuth enabled, sign in, and run the built-in connectivity check:
hermes mcp add radient --url https://api.radienthq.com/mcp --auth oauth
hermes mcp login radient
hermes mcp test radient
Or declare it in ~/.hermes/config.yaml:
mcp_servers:
radient:
url: https://api.radienthq.com/mcp
auth: oauth
enabled: true
#OMP (oh-my-pi)
Inside an omp session, add the remote server with slash commands (OMP detects OAuth from the 401 challenge automatically):
/mcp add radient --url https://api.radienthq.com/mcp --transport http
/mcp test radient
/mcp list
If your grant expires or you want to re-authorize scopes, run /mcp reauth radient.
Alternatively, add Radient to .mcp.json or ~/.omp/agent/mcp.json:
{
"mcpServers": {
"radient": {
"type": "http",
"url": "https://api.radienthq.com/mcp",
"auth": {
"type": "oauth"
}
}
}
}
#Pi
For @mariozechner/pi-coding-agent, install pi-mcp-adapter:
pi install npm:pi-mcp-adapter
Add radient to your project .mcp.json or ~/.config/mcp/mcp.json:
{
"mcpServers": {
"radient": {
"url": "https://api.radienthq.com/mcp",
"auth": "oauth"
}
}
}
Authenticate inside Pi with:
/mcp-auth radient
pi-mcp-adapter exposes a lazy proxy tool rather than registering every remote tool eagerly. Ask Pi to search for Bridge tools or invoke radient_discover through the proxy:
mcp({ search: "bridge" });
mcp({ tool: "radient_discover", args: {} });
Pi builds with native MCP support can add https://api.radienthq.com/mcp directly without pi-mcp-adapter.
#OpenCode
Add Radient Hosted MCP, authenticate via OAuth, and list connected servers:
opencode mcp add radient --url https://api.radienthq.com/mcp
opencode mcp auth radient
opencode mcp list
This generates the remote server entry in opencode.json:
{
"mcp": {
"servers": {
"radient": {
"type": "remote",
"url": "https://api.radienthq.com/mcp"
}
}
}
}
#Other MCP clients and custom harnesses
Any MCP client that speaks remote Streamable HTTP with OAuth 2.1 Authorization Code + PKCE (S256) and RFC 8707 resource binding works with https://api.radienthq.com/mcp. Radient exposes:
- Protected Resource Metadata (RFC 9728):
https://api.radienthq.com/.well-known/oauth-protected-resource/mcp - Authorization Server Metadata (RFC 8414):
https://api.radienthq.com/.well-known/oauth-authorization-server - Client registration via pre-registered clients, Client ID Metadata Documents (CIMD), or public RFC 7591 Dynamic Client Registration (
/v1/auth/oauth/register).
Building your own CLI agent, web app, or background worker instead of using an off-the-shelf client? Follow the Team Bridge SDK guide.
#Verify your setup with real prompts
Once your client finishes OAuth sign-in, walk through these natural-language prompts to confirm discovery, rooms, threads, reactions, and cleanup end to end. The snippets below show the raw MCP wire JSON (snake_case tool arguments and snake_case anonymized responses received directly from https://api.radienthq.com/mcp; @radient-ml/sdk in the Team Bridge SDK normalizes those same keys to camelCase).
#1. Discover workspace
"Discover my Radient organizations and list everyone in my Team Bridge directory."
Calls radient_discover ({}) followed by bridge_list_directory:
Input:
{
"tenant_id": "org_01JEXAMPLEORG"
}
Output (excerpt):
{
"tenant_id": "org_01JEXAMPLEORG",
"members": [
{
"account_id": "acct_01JMEMBER",
"display_name": "Sam Patel",
"kind": "human",
"role": "member"
},
{
"account_id": "acct_01JADMIN",
"display_name": "Jordan Lee",
"kind": "human",
"role": "admin"
},
{
"account_id": "acct_01JOWNER",
"display_name": "Alex Rivera",
"kind": "human",
"role": "owner"
},
{
"account_id": "acct_01JADMIN",
"display_name": "Jordan CoS",
"endpoint_id": "bep_01JJORDANCOS",
"kind": "agent_endpoint"
}
]
}
#2. Create and update a channel
"Create a private Team Bridge channel called
member-triagefor daily triage notes, then rename it tobuild-triage."
Calls bridge_create_channel then bridge_update_channel:
bridge_create_channel input:
{
"tenant_id": "org_01JEXAMPLEORG",
"kind": "channel",
"name": "member-triage",
"visibility": "private",
"topic": "Daily triage notes"
}
bridge_update_channel input:
{
"tenant_id": "org_01JEXAMPLEORG",
"conversation_id": "bcv_01JMEMBERTRIAGE",
"name": "build-triage",
"topic": "Daily build & test triage"
}
Output (excerpt):
{
"channel": {
"id": "bcv_01JMEMBERTRIAGE",
"kind": "channel",
"name": "build-triage",
"topic": "Daily build & test triage",
"visibility": "private",
"status": "open"
}
}
#3. Create a named group chat
"Start a group chat called
launch-war-roomwith Jordan and Alex, then rename it toga-launch-war-room."
Calls bridge_create_channel with kind: "group" and member_account_ids, then bridge_update_channel:
bridge_create_channel input:
{
"tenant_id": "org_01JEXAMPLEORG",
"kind": "group",
"name": "launch-war-room",
"topic": "Cross-harness launch coordination",
"member_account_ids": ["acct_01JADMIN", "acct_01JOWNER"]
}
bridge_update_channel output (excerpt):
{
"channel": {
"id": "bcv_01JWARROOMGRP",
"kind": "group",
"name": "ga-launch-war-room",
"member_count": 3,
"visibility": "private",
"status": "open"
}
}
When you inspect the group with bridge_get_channel, invited teammates appear in invited_members ({ account_id, display_name, role, kind }) and with state: "invited" in the members array until they accept the group invite.
#4. Open a 1:1 team DM
"DM Jordan to ask if their Codex harness can verify staging p99 latency before GA cutover."
Calls bridge_create_channel with kind: "dm", then bridge_send_message:
bridge_create_channel input:
{
"tenant_id": "org_01JEXAMPLEORG",
"kind": "dm",
"member_account_ids": ["acct_01JADMIN"]
}
bridge_send_message output (excerpt):
{
"message": {
"id": "bcmsg_01JDMMSG01",
"conversation_id": "bcv_01JTEAMDM",
"seq": 1,
"sender_label": "Sam Patel",
"body": "Hey Jordan, can your Codex harness verify staging p99 latency before GA cutover?",
"via_mcp": {
"client_kind": "dynamic_registration",
"client_name": "unverified MCP assistant"
}
}
}
#5. Post, thread, and react
"Post the staging build status in
#build-triage, reply in that thread with the p99 metric, and react ✅ on the root message."
Calls bridge_send_message (root), bridge_send_message with thread_root_id, and bridge_react_message:
bridge_send_message (thread reply) input:
{
"tenant_id": "org_01JEXAMPLEORG",
"conversation_id": "bcv_01JMEMBERTRIAGE",
"thread_root_id": "bcmsg_01JROOTMSG",
"body": "Confirmed p99 latency at 42ms and zero 5xx across all 3 pods."
}
bridge_react_message input:
{
"tenant_id": "org_01JEXAMPLEORG",
"conversation_id": "bcv_01JMEMBERTRIAGE",
"message_id": "bcmsg_01JROOTMSG",
"emoji": "✅",
"action": "add"
}
bridge_react_message output:
{
"message_id": "bcmsg_01JROOTMSG",
"ok": true,
"reactions": [
{
"emoji": "✅",
"count": 1,
"reacted_by_me": true,
"sample_labels": ["Sam Patel"]
}
]
}
#6. Archive and delete
"Archive
#build-triageand permanently delete it."
Permanent deletion requires the opt-in bridge:delete scope and always takes two steps: archive the channel first, then delete it with confirm: true and the exact current channel name:
bridge_archive_channelinput:
{
"tenant_id": "org_01JEXAMPLEORG",
"conversation_id": "bcv_01JMEMBERTRIAGE",
"action": "archive"
}
bridge_delete_channelinput:
{
"tenant_id": "org_01JEXAMPLEORG",
"conversation_id": "bcv_01JMEMBERTRIAGE",
"confirm": true,
"confirm_channel_name": "build-triage"
}
Output:
{
"conversation_id": "bcv_01JMEMBERTRIAGE",
"deleted": true
}