Skip to main content

Connected MCP Servers

The Model Context Protocol (MCP) is an open standard for exposing tools to AI models. Many services ship an MCP server, and you can write your own. A connected MCP server links MonoChat to one of them, so the tools that server offers can be given to your AI nodes and AI agents, next to the AI Tool functions you write in MonoChat.

You manage them in Settings › Automation › Connected MCP Servers.

note

This page is about MCP servers that MonoChat uses. To let Claude, ChatGPT or another AI app use MonoChat, see MonoChat MCP Server.

How it works​

  1. You add the MCP server's URL and how to sign in to it. MonoChat connects and reads what the server offers: its Tools, Resources, Resource Templates and Prompts.
  2. When you save, MonoChat keeps that list as the server's contents.
  3. In a Create AI Chat Completion node or an AI Agent node you choose the MCP servers that node may use. The model gets every tool of those servers, except the ones you leave out for that node.
  4. During the conversation the model decides when to call a tool; MonoChat calls the MCP server and returns the result to the model.

Add an MCP server​

  1. Go to Settings › Automation › Connected MCP Servers and click + (Create).

  2. Fill in the fields:

    FieldDescription
    NameA name for the server, shown next to each of its tools in the node drawers.
    DescriptionOptional notes.
    EndpointThe MCP server's URL, as the service gives it, for example https://example.com/mcp. MonoChat connects with Streamable HTTP and, when the server does not support it, with the older SSE transport.
    Auth TypeHow MonoChat signs in to the server; see the table below.
  3. Choose the Auth Type:

    Auth TypeWhat to enter
    NoneNothing. For servers that need no sign-in.
    Bearer tokenToken: an API key or access token. MonoChat sends it as Authorization: Bearer <token>.
    BasicUsername and Password.
    Custom headersHeaders: one header per line, written as Name: value, for example X-API-Key: abc123.
    OAuthNothing, in most cases: you sign in on the service's own page. Fill in Client ID and Client secret only if the service asks you to register an app with it first.
  4. Click Connect.

    • For every type except OAuth, MonoChat connects and shows what it found in tabs: Server Info (the server's Name, Version, Protocol Version and Instructions), Tools, and Resources, Resource Templates and Prompts if the server offers any. If the list looks right, click Save. To change something and try again, click the Disconnect button next to it.
    • For OAuth, MonoChat saves the server and takes you to the service's sign-in page. Sign in and approve the access. You come back to Connected MCP Servers, and MonoChat reads the server's tools.

Tokens, passwords and header values are stored encrypted and are never shown again. When you update a server, leave them blank to keep the saved ones.

tip

If Connect fails, check that the URL is reachable from the internet. MonoChat does not connect to addresses on a private network, such as localhost or 192.168.x.x.

Sign-in with OAuth​

With OAuth, MonoChat registers itself with the service the first time you connect, signs you in, and renews its access on its own. The access belongs to your workspace: once one person has signed in, every AI node in the workspace can use the server's tools.

If the access ends (you revoke it on the service, or it expires and cannot be renewed), the server shows Connection error in the list with the reason. Click Reconnect (the circular arrows button) and sign in again.

Changing the Endpoint of an OAuth server starts the sign-in again.

Update the tool list​

When the MCP server adds or changes tools, click Sync Now (the circular arrows button) on the server in the list. MonoChat reads the server again and updates its contents. New tools reach every node that uses the server, and a tool the server no longer offers stops being given to the model. Tools you left out of a node stay left out.

To change the URL or the sign-in, open the server with Update. MonoChat connects again and shows the current contents; click Update to save.

Deleting a server also removes its contents, so nodes lose the tools that came from it.

Give tools to a node​

  1. Open a Create AI Chat Completion node (its section is MCP Server Tool Settings; it shows when the node's AI model supports tools) or an AI Agent node (in its Tool Settings section).
  2. In Connected MCP Servers, choose one or more servers. The node now gets every tool of those servers, including tools the server adds later and MonoChat picks up with Sync Now.
  3. To leave some tools out, click Select MCP Server Tools. It lists the chosen servers with how many of their tools the node gets. Open a server to see its tools, and clear the box next to a tool to leave it out of this node. Keeping only the tools a node needs helps the model choose the right one.
  4. Save the node.

Each tool reaches the model with the description its server gives it. On the AI Agent node, the MCP tools are offered together with the node's AI scopes and AI tools, on every harness. See AI Agents.

Permissions​

Access is controlled by the role permissions Read / Create / Update / Delete connected MCP servers in automation and Read connected MCP server contents in automation. Sync Now and Reconnect need the update permission. See Roles.