Skip to main content
Homepage > “Admin Menu” > “Connectors” > “MCP” tab

Overview

The Model Context Protocol (MCP) is a standard protocol for communication between LLMs and external services. The MCP connector allows you to connect MCP servers and use their tools as LLM functions.
Info: MCP servers provide tools (functions) that can be called by LLMs. These tools can retrieve data, perform actions, or integrate external services.

Features Overview

  • MCP Server Connection: Connect to MCP servers via HTTP
  • Automatic Tool Detection: Tools are automatically retrieved from the server
  • Authentication: Support for API Key and OAuth 2.0, including a separate sign-in for each user
  • Tool Synchronization: Automatic synchronization of tools from the server
  • Test Interface: Integrated tester for testing tool calls
  • OAuth Flow: Full support for OAuth 2.0 Authorization Flow
  • Sources and Files: Links in tool results appear as sources of the answer or are stored as files in the chat

Creating an MCP Configuration

When creating a new MCP configuration, the following options are available:

1. Title

Freely selectable name to identify the configuration, e.g., GitHub MCP Server or Custom MCP Service.

2. Server URL

The complete URL of the MCP server, e.g., https://mcp.example.com/api.
Note: The server must support MCP protocol version 2025-03-26 or higher.

3. Transport

Currently only HTTP transport is supported (http).

4. Timeout

Timeout for connections in seconds (default: 30 seconds).

5. Allow downloads from the internal network

Lets VARIOS AI download files that this server’s tools link to from internal hosts with private IP addresses as well. Without this option, only links to the MCP server itself and to hosts on the public internet are downloaded. The option is disabled by default. For details, see Files in tool results.
Warning: Only enable this option for MCP servers you trust. The server can then decide which internal hosts VARIOS AI requests. Loopback addresses and the networks of VARIOS AI itself stay blocked.

6. Authentication

Supported authentication types:
  • No Authentication (none)
    • For public MCP servers without authentication
  • API Key (api_key)
    • API Key: The API key value
    • Sent in the Authorization header
  • OAuth 2.0 (oauth)
    • Authorization URL: URL for the OAuth authorization endpoint
    • Token URL: URL for the OAuth token endpoint
    • Client ID: OAuth Client ID (optional, can be dynamically registered)
    • Client Secret: OAuth Client Secret (optional)
    • Scopes: Desired OAuth scopes
    Info: If Authorization URL and Token URL are not provided, an attempt is made to automatically discover them from the server (Authorization Server Discovery).
    Info: If no Client ID is present and the server supports Dynamic Client Registration, an attempt is automatically made to register a client.
  • OAuth 2.0 – User context (SSO) (oauth_user)

7. OAuth Flow

When using OAuth 2.0:
1

Start Authorization

Click “Start OAuth” to begin the authorization flow
2

Authorization

You will be redirected to the authorization server
3

Callback

After authorization, you will be redirected back and the token will be automatically saved
4

Token Refresh

Access tokens are automatically renewed if a refresh token is available

Connectors in the User Context

With OAuth 2.0, a connector calls the tools for all users with the same sign-in, which an administrator has set up. With OAuth 2.0 – User context (SSO), every user signs in with their own account, and the connector works with that user’s token. The connected system therefore knows who performs an action and applies that person’s permissions, for example in Jira, Microsoft 365 or internal applications.

Setting Up

1

Create the configuration

Under Authentication, select the type OAuth 2.0 – User context (SSO). Enter the Authorization URL, Token URL and Client ID, or use Dynamically register client, and save the configuration.
2

Connect your own account

In the Your connection section, click Connect your own account and sign in in the window that opens. Tool synchronization and the tester use your own connection, not that of other users.
3

Provide the connector

Provide the tools as a connector as usual, see Providing MCP Tools as Connectors.
No token is stored in the configuration itself. Use Disconnect in the Your connection section to remove your own sign-in.

Signing In from the Chat

If an assistant needs such a connector and the user has not signed in yet, VARIOS AI does not call the tool. Instead, a notice with the name of the connector appears above the input field, for example “Jira is not connected”.
1

Connect

Click Connect. A window with the provider’s sign-in opens.
2

Sign in

Sign in with your own account.
After you have signed in, VARIOS AI sends your question again automatically, and the connector works with your account.
The sign-in applies to the MCP configuration. If several connectors provide tools of the same configuration, one sign-in covers all of them. When access expires, VARIOS AI renews it automatically on the next call, provided the provider has issued a refresh token. If the provider refuses the renewal, the sign-in is removed, and the notice above the input field appears again on the next call.
Users can only sign in from the chat. When an assistant is called through the API, VARIOS AI does not call the tools of such connectors and tells the model that signing in is only possible in the chat.

Managing Sign-ins

  • Users see their own sign-ins under Connected connectors and can disconnect them there.
  • Administrators see a user’s sign-ins in the user administration.
  • In the References tab of a connector, Signed-in users lists every user who has signed in to its MCP configuration.
Disconnecting removes the sign-in in VARIOS AI only. Access is not revoked at the provider. Revoke it there as well if required.

Troubleshooting

The browser has blocked the window. Click Open sign-in in the notice or allow pop-up windows for VARIOS AI.
The OAuth details are missing from the MCP configuration, or the client has not been registered yet. An administrator has to enter the Authorization URL, Token URL and Client ID or register the client, and save the configuration.
The tester works with your own sign-in. Connect your account in the Your connection section.

Managing Tools

After connecting to an MCP server, the available tools can be synchronized.

Tool Synchronization

1

Test Connection

Click “Test Connection” to check the connection to the server
2

Synchronize Tools

Click “Synchronize Tools” to retrieve all available tools from the server
3

Automatic Updates

Tools are automatically updated when the server configuration changes

Tool Details

Each tool contains:
  • Name: The function name for the LLM
  • Description: Description of the function for the LLM
  • Input Schema: JSON Schema for the tool parameters

Testing Tools

You can test each tool directly via the integrated test interface:
1

Select a tool

Select a tool
2

Enter the parameters

Fill in the required parameters
3

Run the test

Click “Test”
4

Review the result

The response is displayed with the result

Providing MCP Tools as Connectors

After creating an MCP configuration and synchronizing tools, you can use these tools as connectors in your assistants.

Creating a Connector

1

Edit Assistant

Open the assistant configuration
2

Add Connector

Add a new connector
3

Select MCP Tools

Select the desired MCP tools from the list
  • You can select tools from different MCP configurations
  • Each tool is provided as a separate LLM function
4

Save

Save the connector configuration
Info: MCP tools are automatically converted to LLM functions. The LLM can call these functions during conversation to retrieve data or perform actions.

Tool Selection

  • Multiple Selection: You can select multiple tools from different MCP servers
  • Search: Use the search function to quickly find tools
  • Filtering: Tools are displayed grouped by MCP configuration

How It Works

When an assistant is configured with MCP tools:
  1. The tools are provided to the LLM as available functions
  2. The LLM can call these functions based on the user’s request
  3. The tool calls are forwarded to the corresponding MCP server
  4. The responses are provided to the LLM and integrated into the conversation

Sources and Files in Tool Results

When the result of an MCP tool contains links (resource_link), the address and the media type (mimeType) of a link determine how VARIOS AI handles it.

Sources

VARIOS AI shows sources like web search results: “Show sources” below the answer opens the “Sources” list with the domain, title and description of each link.
  • Title: the link’s title, otherwise its name, otherwise the address
  • Description: the link’s description, if provided
  • Each address appears only once. A tool result provides at most 20 sources.
Example of a source in a tool result:
The language model receives the link like any other tool result and can mention it in the answer. The sources list itself is not sent to the model. It therefore also appears when “Results from the connector” is set to Pseudonymized. Sources only appear in the chat. For calls through the API, only the language model receives the links.

Files

MCP tools can return files, such as a generated report or an image. VARIOS AI moves these files into the chat’s virtual file system under vfs:/chat/mcp/. The LLM receives the file path instead of the raw data, and the file appears in the chat as a download. For calls without a chat, such as through the API, VARIOS AI does not store any files; it then passes the content of linked text files up to 100 KB directly to the LLM.
VARIOS AI only stores the files when the DLP check does not apply to this connector’s results, i.e. when DLP is inactive in the chat or Results from the connector is set to Unchecked. Otherwise the LLM only receives the links and the content of text files up to 100 KB.
A single tool call stores at most ten files. The maximum file size and the storage quota of the virtual file system apply. For download links, VARIOS AI follows at most three redirects and checks each redirect target again.
Note: VARIOS AI also downloads links to the MCP server’s host from private IP addresses. Loopback addresses and the networks of VARIOS AI stay blocked. VARIOS AI sends the same authentication as for its MCP requests only to the MCP server’s address (scheme, host and port). Links to other hosts are downloaded without authentication and only from the public internet, unless Allow downloads from the internal network is enabled.
If a file cannot be fetched, the LLM receives the reason and, for a resource_link, still the URL, so it can pass the link on to the user. Recommendation for your own MCP servers: return generated files as a resource_link with a short-lived https URL plus name and mimeType. This keeps the file from being transferred over MCP as Base64.
Note: For an http:// or https:// link to be stored as a file, the MCP server must specify a mimeType. Without a mimeType, the link appears as a source.