Skip to content
ConduitConduit

Bring your own MCP server

The vendor catalog covers integrations with one shared connection model per vendor — a single hosted endpoint, or a Conduit-run container. Some vendors don’t fit that shape: each customer runs their own instance, at their own URL, with its own authorization server. A self-hosted PBX, a per-tenant SaaS admin console, an internal tool a customer built — Conduit calls this a Bring Your Own (BYO) MCP server, and it works with any MCP endpoint that speaks standard OAuth discovery, catalog or not.

This guide walks through registering one, using a per-tenant phone-system MCP server as the worked example, since that shape — every customer at their own hostname, each with its own authorization server — is the clearest case for why BYO exists: there is no single endpoint a catalog entry could point at until someone adds the vendor.

You need:

  • A Conduit role that can manage connections — owner or admin on your organization.
  • The MCP server’s endpoint URL, reachable over the public internet (Conduit’s SSRF guard rejects private/internal addresses — the endpoint has to be a real, publicly routable server, same as any catalog vendor).
  • If the server uses OAuth (the common case), nothing else — Conduit discovers the authorization server automatically. If it uses a static bearer token instead, have that ready.

Step 1 — Get the MCP server URL from the vendor

Section titled “Step 1 — Get the MCP server URL from the vendor”

Every vendor’s own console differs; the shape is always “find the MCP entry point, copy its URL” — typically an Integrations or MCP page in the product’s admin area that shows an endpoint like https://your-instance.example.com/mcp. Use it exactly as displayed.

The server has to be publicly reachable over HTTPS (a requirement of the vendor’s own MCP feature, not a Conduit-specific one), and you need an account on it willing to authorize the connection — the tools Conduit can use are limited to whatever that account’s role already permits, the same as if that user were working in the product directly.

  1. In Conduit, open Connections → BYO MCP servers (/connect/byo). The sidebar item is there whenever BYO is enabled for the deployment.
  2. Fill in:
    • Name — something identifying, especially if you’ll connect more than one (an MSP managing several clients’ instances might register Acme PBX, Beta LLC PBX, one per tenant; each is a fully separate connection).
    • Endpoint URL — the URL from Step 1.
    • Authorization header — leave blank for OAuth (most modern MCP servers). Only fill this in for a server that authenticates with a static bearer token instead of OAuth. Conduit saves the value exactly as you type it and never adds Bearer for you, so type the full value the vendor expects, usually Bearer <token>.
  3. Click Add MCP server.
  • With an Authorization header, Conduit tries to list the server’s tools right away (it gives up after 6 seconds). The server is saved either way. If the tools couldn’t be listed, you’ll see: “Server saved, but we couldn’t load its tools. Check the server URL and Authorization header.”
  • Without a header (OAuth), nothing is checked yet. It can’t succeed until you sign in in Step 3.
  • If the header has no scheme (a bare token like abc123), the value is still saved as typed and you’ll see: “This Authorization header has no scheme, such as Bearer, so it was saved exactly as entered. If the server expects Bearer <token>, remove this server and add it again with the scheme included.” While you type, the form also hints: “No scheme found. Most servers expect Bearer <token>. We’ll save it exactly as you typed it.”

If you set an Authorization header in Step 2, the card shows Connected (header auth) and you can skip OAuth: Conduit sends the header on every request. The card doesn’t offer Connect via OAuth for a header-auth server, because OAuth discovery doesn’t apply to it. To switch a server from a header to OAuth, remove it and add it again with the Authorization header left blank.

For an OAuth server:

  1. Click Connect via OAuth on the server’s card.

  2. Conduit discovers the server’s authorization server automatically — the same discovery mechanism Claude Code’s own built-in remote-MCP support uses — registers itself with that server (dynamic client registration, so there is no client ID or secret to enter) and opens the vendor’s consent page in your browser. Discovery looks for the server’s sign-in details in these places, in order:

    1. The resource_metadata link in the server’s 401 response (same host only, https, under /.well-known/oauth-protected-resource, and only as a Bearer challenge parameter).
    2. /.well-known/oauth-protected-resource/<path> on the server’s host (RFC 9728).
    3. /.well-known/oauth-protected-resource on the server’s host.
    4. If none exist, the server’s own host is treated as the authorization server.

    The authorization server’s metadata is then read from its RFC 8414 oauth-authorization-server or OpenID Connect openid-configuration location, and its issuer must match the server it was found for. Conduit also sends an RFC 8707 resource on sign-in, token and refresh requests: the resource from the protected-resource metadata when it is a valid https URL on the same origin and the endpoint’s path or a parent path, otherwise the full MCP endpoint URL. A refresh uses the endpoint URL when the stored refresh details have no resource. These details are read once, when you start connecting, and the sign-in callback uses them as-is rather than looking them up again.

    The callback URL is per flow. Each time you click Connect, the gateway registers a fresh redirect URL of the form https://<gateway host>/connect/byo/oauth/callback/<flowId> (an unguessable id used for that one sign-in only) through dynamic client registration, and the sign-in must return to exactly that URL. You never enter it by hand. Servers that don’t support dynamic client registration are not supported. If an authorization server requires redirect URLs to be pre-registered, it would need to allow the /connect/byo/oauth/callback/<flowId> pattern. A sign-in that was already in progress when this changed ends with a “start the connection again” message; click Connect via OAuth once more.

  3. Sign in and approve the request — the same “review the requested access and select Allow” screen you’d see connecting Claude Desktop or Claude Code to that server directly.

  4. Conduit persists the tokens and returns you to BYO MCP servers, where the server’s card now shows OAuth connected. Conduit refreshes the token on its own from here on; you only need to reconnect if the vendor revokes the grant. Refreshes always go to the token endpoint you signed in with — Conduit stores it when you connect and doesn’t look it up again. Connections made before this change learn it on their first refresh, and only if the server publishes protected-resource metadata; otherwise that connection needs to be reconnected once.

Step 4 — Review tools and permission tiers

Section titled “Step 4 — Review tools and permission tiers”

Click Tools & tiers on the server’s card to see every tool Conduit discovered, each with an automatically-assigned tier:

  • read — tools Conduit’s classifier recognized as observation-only, from the tool’s name (list_*, get_*, search_*, and similar).
  • write — anything else. The classifier is deliberately conservative: an unrecognized verb is never assumed to be safe, so it defaults to write rather than read.
  • admin — tools touching credentials, secrets, or org/tenant/permission-level settings.

You can pin any tool to a different tier from this list; a pin overrides the auto-classification until you clear it.

The tier decides who in your organization can call the tool. BYO servers don’t use the catalog’s per-vendor access grants — access follows the caller’s organization role:

Organization role Can call BYO tools classified…
owner, admin read, write, and admin
member (and billing) read only

A tool a member can’t call is also hidden from their AI client’s tool list, so what they see is what they can use. To let members reach a specific write tool, pin it to read; to keep a tool away from everyone but owners and admins, pin it to write or admin.

Most vendors publish their own read-only versus write-or-delete grouping (a phone system, for example: listing users, calls and queues versus dropping calls or changing routing). Their usual guidance is to keep the write/delete tools gated unless you’ve reviewed the workflow — in Conduit terms, leave those at write or admin rather than downgrading them, which keeps them owner/admin-only.

Nothing to configure on the client side. Any MCP client already pointed at Conduit’s unified endpoint (see Connecting an AI client) picks the server’s tools up on its next tool refresh — restart or reconnect the client if it caches the list.

BYO tools are namespaced like catalog tools, byo-<server id>__<tool name>, and each tool’s description starts with the Name you gave the server, so an assistant can tell one client’s PBX from another’s:

byo-V1StGXR8_Z5jdHi6B-myT__GetUsers [Acme PBX] Returns the PBX's users…

Ask a read-only question first — for a phone system, something like “how many extensions does the Acme PBX have?” — and check the call appears in your audit log under the server’s tool name.

  1. On the server’s card, confirm the badge reads OAuth connected, or Connected (header auth) for a server that uses a saved Authorization header. Connected (header auth) means a header is saved, not that the server accepted it. The tool list in the next step is the real test.
  2. Click Tools & tiers and confirm a non-empty tool list loads, with tiers assigned per Step 4 above. A populated list means Conduit reached the server, authenticated, and ran tools/list against it.
  3. From a connected AI client, ask a read-only question the server can answer. A real answer means the call was routed through Conduit end-to-end; it’s recorded in your audit log.

An empty list or a load error means the connection isn’t healthy yet — see Troubleshooting below.

Symptom Likely cause
“Add MCP server” fails immediately The endpoint URL isn’t publicly reachable, or resolves to a private/internal address (Conduit’s SSRF guard rejects it before saving).
“Connect via OAuth” fails before the vendor’s consent page loads The MCP servers page names the reason. discovery means Conduit found no OAuth sign-in details in any of the locations listed in Step 3, or the metadata it found has no issuer or an issuer that does not match the authorization server. If the vendor gave you a token or API key, use the Authorization header field instead. registration means dynamic client registration failed. endpoint_rejected means the URL is not a public https address. Conduit still refuses metadata that omits issuer — that check is unchanged.
Consent page loads, but the callback comes back as an error The page names the reason. missing_iss means the authorization server says it sends the RFC 9207 iss parameter but omitted it after consent; Conduit refuses the connection instead of skipping that check. Servers that don’t advertise iss support aren’t rejected for leaving it out. issuer_mismatch means iss did not match the discovered issuer. token_exchange means the code exchange was rejected. Reconnecting does not fix an authorization server that advertises iss but never sends it.
Tools list is empty after connecting The authenticated account has no permitted tools on the vendor side (check that account’s role and rights in the product), or the server’s tools/list call failed — check that the server is still reachable.
A tool shows under Tools & tiers but not in your AI client Your organization role doesn’t reach the tool’s tier (members see read tools only — see Step 4). An owner or admin can pin the tool to read, or call it themselves.
Calls fail asking you to reconnect the server The OAuth session expired and Conduit couldn’t refresh it — the vendor revoked the grant, or the server was connected before Conduit kept refresh credentials. Click Reconnect on the server’s card.
Calls fail with BYO server "<name>": … The server answered, but not usefully — the message names the failing step (an HTTP status, a refused redirect, a non-JSON body). Check the server’s own logs; Conduit forwards exactly what it got back.

Can I connect more than one instance of the same vendor?

Section titled “Can I connect more than one instance of the same vendor?”

Yes — each BYO registration is independent, distinguished by the Name you give it. This is the normal shape for an MSP: one named connection per client’s PBX, SaaS instance, or internal tool, each with its own endpoint, its own OAuth grant, and its own tool-tier pins.

Does a BYO MCP server show up in the vendor catalog?

Section titled “Does a BYO MCP server show up in the vendor catalog?”

No. BYO servers are personal-to-your-org registrations at /connect/byo, separate from the catalog at /org/catalog. They don’t appear in /docs/reference/supported-vendors/ for the same reason no other org’s BYO servers do — they aren’t a shared, generally-available integration.

What if the vendor’s MCP server doesn’t support OAuth?

Section titled “What if the vendor’s MCP server doesn’t support OAuth?”

Use the Authorization header field when registering the server (Step 2) instead of leaving it blank — paste a static bearer token or API key as the vendor’s docs specify. Conduit sends it as-is on every call; there’s no automatic refresh, so you’ll need to update it manually if the vendor rotates it.

  • Vendor connections — the catalog and its BYOC (bring-your-own-client) OAuth vendors — a different feature from BYO MCP servers.
  • Connecting an AI client — point any MCP client at the unified endpoint to reach every connected catalog vendor and BYO server.
  • Security — how Conduit encrypts and resolves stored credentials, including BYO OAuth tokens.