For the complete documentation index, see llms.txt. This page is also available as Markdown.

How to connect an AI client to Frends MCP

Allowing AI access to your Frends Tenant.

In order to let an AI client such as Claude or Copilot work on your Frends Tenant, you create a Platform Application, issue a token for it, and point the client at your Tenant's /mcp endpoint.

Frends MCP is available from Frends version 6.3.2 onwards.

Requirements

Frends MCP must be enabled on your Tenant. Not having it enabled disables the /mcp endpoint which is required to use Frends MCP. You can identify whether it is enabled by accessing the /mcp endpoint, if it gives status code 404 Page not found, it is not enabled. Accessing it with browser should give status code 405 Method not allowed if it is enabled. You need to be authenticated to the Frends Tenant in order to be able to check this.

You also need the PersonalApplication.View right. When Frends MCP is enabled, that right puts API / MCP Applications menu item in your user menu. If the entry is not there, it can mean the right is missing or that the feature is not enabled on the Tenant.

You can only grant the token the scopes your own Frends permissions allow, so a token that covers Process deployment can only be issued by a user who holds the deployment right themselves.

You also need an AI client that supports remote MCP servers over HTTPS with a bearer token. Most current clients do, either directly or through a small connector configuration.

Enabling Frends MCP

Configuring Frends MCP to be available for your Tenant is done on the server running the Frends UI.

For standard deployment of Frends, you need to contact Frends Support to enable Frends MCP for your Tenant.

For on-premise deployment of Frends, you can set the following settings in your Frends Control Panel configuration. These require UI service restart to apply.

First, you need to set EnablePlatformMcp flag to true.

Secondly, you need to tell the UI service the Tenant's URL through UiAddress field. Unless this is set, the Frends MCP won't be enabled.

Finally, you need to set a value for PlatformJwtAllowedIps field. This restricts the MCP connections to only specific IP addresses or address spaces, providing security against unwanted usage of your Frends Tenant. Alternatively you need to explicitly allow connections from all IP addresses through this field, if that is wanted.

With these fields set, restarting the UI service will enable Frends MCP to be used through /mcp endpoint as well as configuring the applications and tokens in Frends Control Panel.

How to create a Platform Application and a token

Open API / MCP Applications from your user menu in the Frends Control Panel, then create a new application. This is your own personal application: it belongs to you, and the Control Panel offers you only the scopes your own permissions allow. An administrator can instead create an application for the whole Tenant, which is managed centrally and can carry any scope.

Form for creating a new MCP application.

Give the application a name that says which client will use it, for example "Claude Code, integration development", because the name is what you will look for later when you revoke it.

Select the scopes the application needs. Grant the smallest set that still lets the client do its job. A client that only explores and reports needs process:view, process_instance:view, task:view and environment_variable:view. A client that authors and deploys also needs process:edit and process:deploy. The full list is in Frends MCP permissions.

With the application saved, create a token for it. You choose an expiry date as you create it, from tomorrow up to two years out, so pick one that matches how long the client will be in use. The token is shown once, when it is created, so copy it straight into your client's configuration or a secret store. If you lose it, revoke it and create a new one.

Creating a token for the MCP application.

Configuring AI clients

Once you have your access token, you can proceed to configure your AI agents to use the Frends MCP server. The setup involves registering the Frends MCP endpoint within your preferred AI tools, allowing them to communicate securely with your Tenant.

You can also install the Frends Plugin for Claude and Codex to set up connection to the Frends MCP server, which additionally provides Skills for your AI to make better use of the available Tools. The plugin is available from GitHub at Frends Plugin for Claude and Codex CLI as well as from the marketplaces.

Claude Code (terminal)

For developers using the Claude Code terminal interface, adding the MCP server is most efficiently done through a direct command. You can use the terminal to register the new transport by executing the claude mcp add command with the appropriate parameters. This configuration requires specifying the transport type as http and providing the server URL, which for the standard Frends environment is https://<your-tenant>.frendsapp.com/mcp. You must include your access token in the authorization header by using the syntax --header "Authorization: Bearer YOURTOKENHERE".

After executing the command, you should verify the installation by opening claude and entering /mcp to ensure the new server is listed and active. If the server is disabled, you can toggle its status within the terminal interface to begin using the Frends integration features.

Alternatively, you can follow the instructions at Frends Plugin for Claude and Codex CLI GitHub page to prompt the Claude Code to install the connector and skills for you.

Claude Desktop

Claude Desktop connects to the Frends MCP server as a custom connector. You don't need to edit a configuration file or install Node.js, and Claude Desktop stores the token securely.

  1. Open Claude Desktop, go to Settings → Connectors and click Add custom connector.

  2. Enter a name, for example Frends – <tenant>, and the URL https://<your-tenant>.frendsapp.com/mcp.

  3. Under Authentication, select No sign-in. Claude may tag Sign in now as detected and show a warning. You can ignore it, because the token is sent in a header instead.

  4. Under Request headers, add a header named Authorization with the value Bearer <your-token>, and keep Required checked. The value is sent exactly as entered, so it must start with Bearer and a space.

  5. Under Advanced, keep Transport set to Streamable HTTP.

  6. Click Add, then Connect.

Authentication settings for Claude Desktop for Frends MCP.

The connector page then lists the server's tools. You can set each one to Always allow, Needs approval or Blocked. To use the tools, switch the connector on in the chat's connector menu.

The token is not shown again after you save it. To change it, edit the connector and enter the new value.

Migrating from the configuration file

If you previously added Frends to claude_desktop_config.json with mcp-remote, remove that entry after you add the connector, then restart Claude Desktop. Otherwise the Frends tools appear twice. The old values carry over directly:

  • The endpoint URL goes into URL.

  • --transport http-only corresponds to Streamable HTTP.

  • --header Authorization:Bearer <token> becomes a header named Authorization with the value Bearer <token>.

GitHub Copilot (CLI)

The GitHub Copilot CLI relies on a specific configuration file located in your user profile directory. On Windows systems, this is found at %USERPROFILE%\.copilot\mcp-config.json, while Linux and macOS users will find it at ~/.copilot/mcp-config.json. You will need to open this file and add the Frends MCP server details under the mcpServers property.

Once you have saved the file with your new server entry and token, you can start the copilot tool. The CLI will automatically detect the new MCP server, allowing you to ask questions about your Frends environment directly from your terminal session.

GitHub Copilot (VSCode extension)

For those who use GitHub Copilot within Visual Studio Code, the configuration can be accessed directly through the editor's Command Palette. You can open the palette by pressing F1 or using the shortcut Shift+Cmd+P on macOS. Searching for and selecting the option to open the MCP user configuration will bring up a JSON file where you can define your server settings.You should add the Frends MCP server entry inside the servers property of this configuration file. After saving the file, a start button typically appears next to the new entry in the configuration view. Pressing this button initializes the connection, and you can then use the GitHub Copilot chat interface to interact with your Frends platform, enabling the AI to assist with your integration Tasks and system queries.

How to check the connection works

Ask the client to list the available Tools. A working connection returns the Tools your scopes allow, and nothing else. If you granted only process:view, a short list is the correct result, not a sign of a problem.Then ask it something that needs a real call, for example how many Processes exist on the Tenant. A client that answers from the Tool list alone without calling anything will sound plausible and be wrong, so it is worth asking for a number that has to come from your data.

Troubleshooting

Most AI clients report a failure as "could not connect" and hide the status code, which is the one thing that tells you what went wrong. Test the endpoint and the token on their own first, so you have a code to look up:

The status code on the first line is what the table below is keyed on. A 200 means the endpoint and the token are both fine and the problem is in the client's configuration.

Symptom
Likely cause
What to do

404 Not Found on /mcp

Frends MCP is not enabled on the Tenant.

Ask a Tenant administrator to enable Frends MCP feature

401 Unauthorized

The token is missing, expired, or revoked.

Check the header is really being sent, then check the token's expiry date and revocation state on the API / MCP Applications page

A connection that worked yesterday now returns 401, and the token was neither expired nor revoked by hand

A change to your permissions, or to a role you hold, made a scope, Environment or tag on this application unavailable to you, so Frends revoked the application's tokens

Check what the application still carries, then create a new token for the permissions you still hold

Client connects but shows only the three orientation Tools (get_overview, list_guides, get_guide)

The token has no scopes, or none that match any other Tool. Those three need only a valid token

Add the scopes the client needs to the application, then issue a new token

Client connects but shows no Tools at all

Not a scope problem. A valid token always sees the three orientation Tools, so an empty list points at the client or the endpoint

Check the URL ends in /mcp and that the client is configured for a remote MCP server over HTTPS

A specific Tool is missing

Its required scope is not granted on the token

Look up the Tool in Frends MCP Tools, add the scope it names, and issue a new token. If the Portal will not let you select that scope on a personal application, your own rights no longer allow it, and the row above applies

Requests start failing under load

A rate limit configured for the Tenant's MCP endpoint has been reached

Slow the client down, or ask an administrator what the Tenant's MCP rate limit is

A deployed Process returns 401 to its own callers, and the AI client is working normally

Not an MCP problem. An HTTP Trigger defaults to ApiPolicy authentication, and no Tool creates API Policies

Configure an API Policy for that Process in the Portal. See the trigger section of Frends MCP Tools

A deploy or a Process start fails, although the Tool is visible

The deploymentId is wrong, or the target Agent Group cannot take the version

Take the deploymentId from list_processes rather than constructing it, and check the target Agent Group in the Portal. If the Tool is not visible at all, this is a scope problem instead

Last updated

Was this helpful?