---
title: "Connect ConBridge to OpenCode"
description: "Connect OpenCode to the ConBridge remote MCP server, finish OAuth sign-in and review the tools you grant."
canonical: "https://conbridge.app/integrations/opencode"
updated: "2026-11-27"
author: "ConBridge"
---

# Connect ConBridge to OpenCode

Add ConBridge to OpenCode with opencode mcp add and sign in with opencode mcp auth.

- Updated: 2026-11-27

## What you need

- Server address: https://mcp.conbridge.app/mcp
- Transport: Streamable HTTP
- Authorization: OAuth 2.1 with PKCE; the app registers itself, so no client id is created by hand
- Where: OpenCode

## Quick install

Add ConBridge to OpenCode:

```sh
opencode mcp add conbridge --url https://mcp.conbridge.app/mcp
```

Sign in from OpenCode:

```sh
opencode mcp auth conbridge
```

## Add ConBridge to OpenCode

1. Run this add command in your terminal:

```sh
opencode mcp add conbridge --url https://mcp.conbridge.app/mcp
```

2. Run `opencode mcp auth conbridge`. Review the ConBridge consent screen before approving scopes.

[Vendor setup document](https://opencode.ai/docs/mcp-servers/) (checked 2026-11-27).

### Authenticate the named OpenCode server

After adding the remote address, run `opencode mcp auth conbridge`. The name in this command identifies the server entry you just created. OpenCode's remote-server OAuth flow discovers the authorization server, uses PKCE for sign-in and refreshes tokens. Keep OAuth enabled for this entry; setting `oauth` to `false` would turn off the documented sign-in flow. Complete consent in the browser before asking OpenCode to use ConBridge tools.

## Sign in

You also need a ConBridge account; sign-in and two-factor authentication work as in the Console. Finish the OAuth flow described above, then review the available ConBridge tools in OpenCode.

## What OpenCode can do with read and write tools

Ask OpenCode to read your findings and fix plans, select exactly one computer, server or site and use the tools you granted on it.
The [tool reference](/docs/mcp/tools) marks each tool as read or write. ConBridge never changes a system by itself. The Console shows the approval rule for each target.

## Revoke access

Revoke OpenCode in the Console under **AI Apps**, or switch single tools off for it there. Remove the local server entry or connector as well to stop new sign-in requests.

## Troubleshooting

- If OpenCode cannot connect, check the server URL and the setup location above. Preserve existing server entries when editing configuration.
- If authorization is incomplete, repeat the sign-in steps for your OpenCode surface and finish the browser consent screen.
- If the selected target is offline, the request fails. ConBridge never sends it to another computer, server or site.

## Limits

- Plan requirements are not stated in the vendor document.
- The sample configuration contains no access key; ConBridge never asks you to paste one.
- Whether an action waits for your approval or runs at once follows the rule you set for that target in the Console.

## Questions

### How do I remove it?

Remove the conbridge server from OpenCode and revoke the app in the Console under AI Apps.

### What happens if the target is offline?

The request fails. ConBridge never sends it to another computer, server or site.

### Does ConBridge include an AI model?

No. You bring the AI app; ConBridge provides the tools and the approval rules.
