> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cloud.cdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Tool Servers

> Create MCP tool servers that bundle the CData sources, virtual schemas, and third-party MCP servers you choose behind one agent URL.

A tool server is an MCP endpoint that you build for a specific agent. It bundles the CData Source MCPs that you select with any third-party MCP servers that you add, and gives the agent one **Agent URL**. You configure tool servers on the **MCP Gateway** page.

## Tool Servers List

**Tool Servers** lists your tool servers and their agent URLs. Use the search bar to filter tool servers by name.

![MCP Gateway Tool Servers](https://mintcdn.com/cdata/QFnXfBI2V3FGkzLg/en/images/mcp_gateway_tool_servers.png?fit=max\&auto=format\&n=QFnXfBI2V3FGkzLg\&q=85\&s=9bafa00ae4a408390339e605149dd705)

**Tool Servers** contains the following information about each tool server:

* **Name:** The user-defined name of the tool server.
* **MCP Servers:** Icons representing the MCP servers your agent is connected to through the tool server.
* **Agent URL:** The endpoint URL your agents connect to, generated automatically when you create the tool server. Click the copy icon to copy the endpoint into your AI client.

Each row includes edit and delete icons. Selecting one or more rows with the checkboxes reveals a **Delete** button to remove them in bulk.

> [!NOTE]
>
> You must have a system role of Administrator or Workspace Administrator to add, modify, or delete a tool server. Other users can view tool servers and connect to their own upstream accounts.

Tool servers that include third party MCP servers also show a **How to Connect** link. Clicking it opens a dialog with instructions for connecting your agent to that tool server.

### Add a Tool Server

**Step 1**

Click **+ Add Tool Server**. An **Add Tool Server** dialog appears.

**Step 2**

In **Step 1: Details**, enter a **Name** for your tool server. Names must use lowercase letters, numbers, hyphens, and dots only. Click **Next**.

**Step 3**

In **Step 2: Select MCP Servers**, add the MCP servers to bundle in this tool server.

The left pane summarizes the total number of MCP servers in this tool server, as well as a list of third-party sources. The right pane is the browse and configuration area.

![Add Tool Server](https://mintcdn.com/cdata/KRZ1jiKVM3wySRmz/en/images/mcp_gateway_add_tool_server.png?fit=max\&auto=format\&n=KRZ1jiKVM3wySRmz\&q=85\&s=8b55078204d6a784ab61226a16e1e168)

Click **+ Add MCP Server** and choose one of the following:

**To add CData Source MCP servers**: Click **Add CData Source**. In the right pane, browse or search for the data source MCPs available in your Connect AI workspace. Select the checkbox next to each source you want to include. Each entry shows the tool prefix applied to that source's tools (for example, *mailchimp2\_\**). The left pane updates to show the number of selected sources.

**To add third party MCP servers**: Click **Add Third Party Source**. An entry form appears on the right. Enter the following information:

* **Name:** A name for this MCP server. The name is used as a prefix on this server's tool names to keep them distinct.
* **Upstream MCP URL:** The endpoint of the upstream MCP server. Must be an HTTPS endpoint serving MCP over HTTP+SSE or Streamable HTTP.
* **Authentication:** Select the authentication type and follow the relevant instructions below.

  > [!NOTE]
  >
  > When the **Upstream MCP URL** is the MCP host of your own Connect AI deployment, **Authentication** is automatically set to **Connect identity (pass-through)** and cannot be changed. Connect AI reuses the identity of the user calling the tool server, so no token or OAuth sign-in is required.

  > [tab] Authorization Header
  >
  > Enter the **Bearer Token** that is sent to the MCP server for authentication.

  > [tab] OAuth 2.0 - Client Credentials
  >
  > Enter the **Client ID**, **Client Secret**, the OAuth **Token URL**, and the **OAuth Scope** (optional) for the MCP server.

  > [tab] Per-user Authorization Header
  >
  > Each user provides their own authorization header value to authenticate with the MCP server. After the tool server is created, click **How to Connect** in the **Tool Servers** list to open a dialog where you can enter the authorization header in the form `Bearer <token>`.

  > [tab] Per-user OAuth
  >
  > The MCP server uses OAuth with user consent. After the tool server is created, click **How to Connect** in the **Tool Servers** list to open a dialog where you can sign in to the MCP server.

Click **+ Add MCP Server** again to add additional MCP servers (CData or third party) to this tool server.

**Step 4**

When you are finished adding MCP servers, click **Save**. The new tool server appears in the **Tool Servers** list with an automatically generated **Agent URL**.

### Add Virtual Schemas to a Tool Server

A virtual schema exposes a curated set of connection tables and derived views to your agents, instead of a whole connection. To add virtual schemas, edit an existing tool server.

> [!NOTE]
>
> Before you begin, create the virtual schemas you want to add. See [Virtual Schemas](https://docs.cloud.cdata.com/en/Virtual-Schemas.md) for more information.

**Step 1**

In the **Tool Servers** list, click the tool server. The edit page appears.

**Step 2**

In the **MCP Servers** section, click **+ Add**. An **Add MCP Server** dialog appears.

![MCP Gateway Tool Servers](https://mintcdn.com/cdata/KRZ1jiKVM3wySRmz/en/images/mcp_gateway_add_vs.png?fit=max\&auto=format\&n=KRZ1jiKVM3wySRmz\&q=85\&s=91aea279618b3ad4516722de05800bf3)

**Step 3**

Click **Add Virtual Schemas**, and select the virtual schemas to include in this tool server.

**Step 4**

Click **Save**.

The tools from a virtual schema are limited to the tables and derived views in that virtual schema. Agents cannot reach anything outside it.

## Connect to a Tool Server

Copy the **Agent URL** from the **Tool Servers** list and configure your AI client to use it as an MCP server.

If the tool server includes third party MCP servers with per-user credentials, click **How to Connect** to complete authentication. For **Per-user OAuth**, you are prompted to sign in to the MCP server in a browser. For **Per-user Authorization Header**, enter your authorization header in the dialog. MCP servers that use **Connect identity (pass-through)** require no additional authentication.

## Next Steps

> [card] [Virtual Schemas](https://docs.cloud.cdata.com/en/Virtual-Schemas.md)
>
> Expose a curated set of tables and views.

> [card] [AI Tools](https://docs.cloud.cdata.com/en/Clients/AITools.md)
>
> Setup guides for Claude, ChatGPT, Copilot, Cursor, and more.

> [card] [MCP Protocol Support](https://docs.cloud.cdata.com/en/MCP-Protocol-Support.md)
>
> Supported transports and deprecated tools.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.