Tool Providers and Connected Accounts

Some agents work in other systems for the user, for example in a code repository, a ticket system or a CRM. Many of these systems offer an MCP server. A tool provider is such an MCP server where every user signs in with their own account. The user connects the account once on their Profile page. The other system then sees the real user, so its own rights apply: an agent can see and change only what that user could.

This page describes how an administrator registers a tool provider (Admin → Tool Providers, permission Server Manage) and how users connect their accounts.


1. Before you start

Two things must be set up once. Without them, the page shows a warning and nothing can be saved.

What Why and where

Encryption key

The platform stores each user’s sign-in at the provider encrypted. The key is a file delivered as a secret: see Docker Compose installation or Kubernetes installation. Keep a copy of the key. Without it, every user has to connect their accounts again.

App address

The address users open this application at, for example kf.example.com. The provider sends the user back to it after they signed in. Set it under Admin → Public Endpoints, see Public Endpoints.

The page then shows the redirect address, for example kf.example.com/oauth/connected-accounts/callback. Register exactly this address at the provider.

2. Registering a provider

  1. Open Admin → Tool Providers and click Add Tool Provider.

  2. Enter a Name (users see "Connect Name") and the MCP Server Address.

  3. Click Discover. The platform asks the MCP server where its users sign in and fills in the sign-in server and its addresses. Some servers do not publish this; then enter the addresses by hand, as the provider documents them.

  4. Register this application at the provider (see the examples below) and enter the Client ID and Client Secret it shows you. If Discover reported that the provider offers DYNAMIC registration, you can choose it instead and leave Client ID and Client Secret empty: the platform registers itself.

  5. Enter the Scopes users are asked to allow. Ask only for what agents need: fewer scopes mean less an agent can do with a user’s account.

  6. Save.

Field What it does

Name

Shown to users, as in "Connect Tickets".

MCP Server Address

The provider’s MCP server. Every sign-in is bound to this exact address and is never sent anywhere else. Changing it later disconnects every user.

Sign-in Server (Issuer), Authorization Endpoint, Token Endpoint

Where users sign in and where the platform gets their access. Filled in by Discover. Changing the issuer later disconnects every user.

Revocation Endpoint

Optional. Used to cancel a user’s sign-in at the provider when they disconnect or the provider is deleted.

Registration

PRE_REGISTERED: you registered this application at the provider. DYNAMIC: the platform registered itself.

Client ID, Client Secret

This application’s registration at the provider. The secret is stored encrypted and never shown again; leave the field empty to keep it.

Scopes

What users are asked to allow, separated by spaces.

Forget Unused Connections After (Days)

A user’s connection that agents have not used for this long is removed. Shorter means fewer idle sign-ins are stored; the user simply connects again when needed. Empty means never. Default 90.

Enabled

A disabled provider hands out no sign-ins. Users' connections are kept.

Deleting a provider removes every user’s connection to it. A provider that a pipeline still uses cannot be deleted: the message names the pipelines. In the Pipeline Designer, remove their Remote MCP Server modules that sign in through it, or choose another provider in them, first. This also counts modules that are not connected to an agent yet. The REST API refuses the same way (409, code IN_USE).

Example

A ticket system offers its MCP server at mcp.example.com/mcp. Its users sign in at login.example.com.

  1. Enter Tickets as Name and mcp.example.com/mcp as MCP Server Address, then click Discover. The sign-in server login.example.com and its addresses are filled in.

  2. In the ticket system’s administration, register a new application (often called an OAuth app or client app). Enter the redirect address shown on the page as its callback or redirect URL.

  3. Copy the Client ID and Client Secret the ticket system shows into the form.

  4. Enter the scopes the ticket system documents for its MCP server, for example tickets:read. Add the scope for refresh tokens if it has one (often offline_access or refresh_token): without it, users have to connect again each time their sign-in expires.

  5. Save. Users now see Connect Tickets on their Profile page.

Some systems have a separate sign-in server per customer account (tenant). Register one tool provider for each.

3. Connecting an account (users)

Every user finds the enabled providers on their Profile page, under Connected Accounts:

  • Connect opens the provider’s sign-in. After the user signed in and allowed access, they come back to the Profile page, which says whether it worked.

  • Disconnect removes the connection and cancels the sign-in at the provider where possible.

  • A connection the provider no longer accepts shows "The connection stopped working — connect again".

  • After someone connects, the platform asks the provider’s MCP server for its own icon and shows it on the cards instead of the first letter. Many servers show their icon only to a signed-in user, and some have none; then the letter stays. The icon is stored in the platform, so pages never load images from the provider’s site. When the MCP Server Address changes, the icon is removed until the next connect.

If your company signs users in to the provider through the same login (single sign-on, for example with a certificate in the browser), connecting is usually one click: no password is asked.

A user’s connections are also removed when the user is disabled and after they reset their password by e-mail.

A pipeline uses the connected accounts through the Remote MCP Server module with the sign-in USER_ACCOUNT. When a user opens the agent chat with such a pipeline and has not connected the account yet, the chat says so above the messages, with a link to the Profile page. Scheduled runs cannot use personal accounts yet.

4. Through the REST API

The same is available under /api/v1/tool-providers (read with Server View, change with Server Manage), including POST /api/v1/tool-providers/discover. The client secret is write-only: a response says only hasClientSecret.