Create a Connection

A connection is one API you're exposing to AI clients. Creating one runs a five-step wizard — and the same five steps apply whatever identity model you choose. Only Step 3 differs.

Before starting, check Prerequisites.

The five steps

StepWhat it doesDiffers by model?
1 · Identity modelChoose how your users are recognised—
2 · Domain verificationProve you control your domainNo
3 · Identity setupConfigure that identity modelYes
4 · ProvisionLockMCP sets up the connectionSlightly
5 · ActivateGo liveNo

Find it at Dashboard → Connections. Create a connection, then open it to reach the wizard.

Step 1 — Identity model

Pick how your users prove who they are.

Choosing an identity model in the connection wizard

ModelSetup required
Identity BrokeringNone
Token ExchangeTwo URLs
Tenant DelegatedEndpoints + login page

The wizard pre-selects a suggestion based on your connection's auth type. Override it if the suggestion isn't what you want — see Choosing an Identity Model.

Step 2 — Domain verification

Prove you control the domain your API lives on. This gates Step 4 — provisioning won't run until it passes, for every identity model.

Two methods:

MethodHow
DNS TXT recordAdd the record the wizard shows to your domain's DNS. Propagation takes minutes to hours. Check with dig TXT yourdomain.com.
Well-known fileServe the token the wizard gives you at the path it shows. It must return the raw value with a 200 — not a redirect, not an HTML page.

If verification won't pass, the two usual causes are DNS propagation delay, and DNS providers that auto-append your domain — entering the full record name again produces a doubled name that won't match.

Step 3 — Identity setup

The only step that differs. What you do here depends entirely on Step 1:

ModelWhat Step 3 asks for
Identity BrokeringNothing. The step confirms users sign in through LockMCP. → details
Token ExchangeYour JWKS URI and Issuer URI, then Save. → details
Tenant DelegatedLogin, Exchange and Validate URLs, the HMAC key, and role mapping. Use Test endpoints before continuing. → details

Step 4 — Provision

Click Provision. LockMCP sets up everything the connection needs.

For Identity Brokering and Token Exchange, this creates the connection's identity resources — its clients, its roles, and the claims that let LockMCP authorise tool calls. Token Exchange additionally registers your identity provider.

For Tenant Delegated, this instead runs a seven-check certification suite against your endpoints — actually exercising the login, exchange and validate sequence. All seven must pass.

Provisioning is idempotent, so re-running it after fixing a problem is safe.

If it fails

The error names what's missing:

MessageFix
Verify the connection's domain before provisioningStep 2 hasn't passed.
Configure the JWKS URI and Issuer URI before provisioningToken Exchange Step 3 is incomplete — fill both fields and Save.
Configure the login/exchange/validate URLs and generate an HMAC key firstTenant Delegated Step 3 is incomplete.
A checkName: message listCertification failures. See Tenant Delegated Troubleshooting.

For Token Exchange, the identity-provider registration step is non-fatal — provisioning can report success even if your IdP couldn't be registered. A green Step 4 doesn't by itself prove sign-in will work. See Token Exchange Troubleshooting.

Step 5 — Activate

Flips the connection live. Until you do this the data plane won't serve tools, even with provisioning complete.

After the wizard

The connection is live but has no tools yet. To finish:

  1. Upload your OpenAPI spec → API Specs. LockMCP generates a draft tool per operation. See Writing OpenAPI Specs.
  2. Refine the tools → Tool Studio. Names and descriptions are what the AI reads to decide when to use a tool. See Tool Studio.
  3. Publish them → Tool Catalog. Drafts are never served. See Tool Catalog.
  4. Grant role access → decide which roles may call which tools. See Assigning Tool Access.
  5. Invite your team → Members & Access. See Inviting Members.
  6. Connect an AI client → Connect. See Connecting AI Clients.

Step 4 catches people out: a published tool with no role granted access is invisible to everyone but admins. If you're testing as the workspace admin everything looks fine — then your team reports no tools. Check role access before assuming something's broken.

Connection status

The status badge tracks progress:

StatusMeaning
IntakeCreated, wizard not started
Pending verificationAwaiting domain verification
ProvisioningProvisioning under way
ProvisionedReady to activate
ActiveLive and serving tools
DisabledTurned off; stops serving immediately

Only Active connections serve tools.

Multiple connections

A workspace can hold as many as you need, each with its own identity model, credentials, tools and MCP endpoint. Common reasons to add another:

  • Separate APIs (billing vs. support)
  • Different audiences — an internal Identity Brokering connection alongside a customer-facing Tenant Delegated one
  • Staging separated from production

Each runs the same five steps independently.

Where to go next