> For the complete documentation index, see [llms.txt](https://docs.uptiq.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.uptiq.ai/platform/console/agent-builder/build/mcp-tools.md). Agents can also search and read this documentation through its [MCP server](https://docs.uptiq.ai/~gitbook/mcp).

# MCP Tools

Attach MCP servers from the account's MCP registry to the agent and choose the tools it can use.

An agent reaches Model Context Protocol servers through the account's MCP registry. The registry is one list of MCP servers for the whole account, managed in [Connectors](https://docs.uptiq.ai/platform/control-center/govern/connectors/mcp-servers.md) in Control Center. From the agent, you attach a server from the registry, or add a new one, and choose which of its tools the agent can use. The agent runs the tools with the sign-in saved in the registry.

For how MCP works across the Uptiq Platform, see [MCP](https://docs.uptiq.ai/platform/core-concepts/mcp.md).

> Agent Config → Skills & Capabilities → MCP Server → Add

| What you can do from the agent          | What you need                                                                                                                                                    |
| --------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Attach a server already in the registry | The View MCP Registry capability, and access to the server.                                                                                                      |
| Add a new server to the registry        | The Manage MCP Registry capability. The server is added to the registry and attached to the agent.                                                               |
| Request a new server                    | The View MCP Registry capability, when the account requires approval for MCP servers. The server is attached as **Draft** until an approver accepts the request. |

Without the capability it needs, an option is unavailable, and its tooltip explains that you don't have access to the MCP server registry, or to manage MCP servers in it.

### Attach a server from the registry <a href="#connecting-an-mcp-server" id="connecting-an-mcp-server"></a>

{% stepper %}
{% step %}

#### Pick the server

In **Agent Config** > **Skills & Capabilities**, find **MCP Server** and select **Add**. You can also choose the **MCP Server** skill in the [Skill Library](https://docs.uptiq.ai/platform/platform-resources/skill-library.md). **Add MCP Server** lists the registry's servers, with each server's name and description, and **Search MCP servers** narrows the list.

A server the agent can't use yet is marked **Request access**. A server marked **No access** can't be selected.
{% endstep %}

{% step %}

#### Choose the tools

Choose which tools the agent may use, and whether each one asks first. Each tool has a switch and a supervision mode: **Always Ask Permissions** or **Allow Unsupervised**. A supervision mode an admin fixed in the registry replaces the one you choose.

Select **Attach**. For a server marked **Request access**, enter a **Reason** that tells approvers why the agent needs the server, then select **Request and Attach**. The server is attached now, and the agent uses its tools once an approver accepts.
{% endstep %}
{% endstepper %}

### Add or request a new server

When the server isn't in the registry yet, select **Add New Server** in **Add MCP Server**. When the account requires approval for MCP servers and you can't manage the registry, the button shows **Request New Server**. Either way, only this agent gets the server: at once when you add it, or once an approver accepts the request.

<figure><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-c30a8481af6f07effe8466954449d3154b5cf6c9%2Fqore_agent-builder_add-new-mcp-server_rounded_shadow.png?alt=media" alt="The Add MCP Server form with the Only Add Servers You Trust warning, Import Config File, and the Server Name, Remote MCP Server URL, Description, Variables, Authentication and Headers fields"><figcaption><p>Adding a new MCP server from an agent.</p></figcaption></figure>

{% stepper %}
{% step %}

#### Enter the server

The form opens with the **Only Add Servers You Trust** warning: UPTIQ hasn't verified the server, and agents that use it act with the credentials you enter.

| Field                         | What to enter                                                                                                                                                                                                                                                                                                                                 |
| ----------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Server Name**               | Required.                                                                                                                                                                                                                                                                                                                                     |
| **Remote MCP Server URL**     | Required.                                                                                                                                                                                                                                                                                                                                     |
| **Description (Optional)**    | What the server is used for.                                                                                                                                                                                                                                                                                                                  |
| **Variables (Optional)**      | Key and value pairs. Write a key or token in the URL or a header as `{{name}}`, for example `https://server.com/mcp?key={{api_key}}`, and add its value here. The value is never saved in the URL or headers.                                                                                                                                 |
| **Authentication (Optional)** | Select **Show** to open it. See [Authentication](#advanced-settings).                                                                                                                                                                                                                                                                         |
| **Headers (Optional)**        | Key and value pairs sent with every request. A value can reference the caller's token as `$auth.token` or, on executor version 1.5, an agent variable as `$agent.{name}`. See [Variables in MCP server connections](https://docs.uptiq.ai/platform/console/agent-builder/build/secrets-and-variables.md#variables-in-mcp-server-connections). |

To fill the form from a file instead, select **Import Config File**. Then select **Next**. The Platform connects to the server to check it.
{% endstep %}

{% step %}

#### Sign in, if the server asks

If the server needs an OAuth sign-in, **Sign In to the MCP Server** asks you to sign in with the account the server should connect with. **Waiting for Authorization** opens the server's sign-in page in a pop-up. Sign in and grant the requested permissions. The window detects the authorization and continues by itself.

If the pop-up is blocked, allow pop-ups and select **Connect to Authorize** again.
{% endstep %}

{% step %}

#### Choose the tools

**Tools and Settings** lists the server's tools, with a count such as `2 of 5 tools enabled`, and a search box. Every tool starts switched off. Turn on the tools the agent needs, and set each one's supervision mode.

When you're adding the server, select **Add Server**. When you're requesting it, enter a **Reason** for the approvers and select **Request and Attach**. The button stays unavailable until at least one tool is on, and, for a request, until there's a reason.
{% endstep %}
{% endstepper %}

A requested server shows on the agent as **Draft** with **Waiting for admin approval**, and the request appears in [Approval Requests](https://docs.uptiq.ai/platform/control-center/govern/approval-requests.md#mcp-server-request). How many approvals it needs is set in [Approval Policies](https://docs.uptiq.ai/platform/control-center/admin/approval-policies.md).

#### MCP Marketplace servers <a href="#how-catalog-fields-are-used" id="how-catalog-fields-are-used"></a>

The **MCP Marketplace** tab in **Skills & Capabilities** lists ready-made servers grouped by category, with **Search skills…** to find one. Selecting a server opens the add form with its name, URL, description, and headers filled in, and lists the variables it needs under **Variables** for you to fill in. You need the Manage MCP Registry capability to add one.

| Category                             | Server                           | What it provides                                                                                                                                                      |
| ------------------------------------ | -------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Analytics/Warehouses/BI              | **CoinAPI Market Data API**      | Real-time and historical market data: normalized trades, order books, OHLCV, and tick-level history, across multiple exchanges                                        |
| Analytics/Warehouses/BI              | **Finfeed Stock API**            | T+1 raw stock market data from IEX, Euronext, and more than 20 other stock exchanges, through a REST API                                                              |
| Analytics/Warehouses/BI              | **Finfeed SEC API**              | Clean, structured, and timely SEC filing data, through a REST API                                                                                                     |
| Analytics/Warehouses/BI              | **Alpha Vantage API**            | Real-time and historical financial market data, including stocks, forex, crypto, and economic indicators                                                              |
| Finance & Banking                    | **Core Banking Sandbox API**     | Sandbox banking for testing and integration: account management, customer onboarding, transaction history, balance inquiries, fund transfers, and payment simulations |
| General Search & Knowledge Retrieval | **Tavily**                       | Tavily's search and data extraction, for AI assistants, over the Model Context Protocol                                                                               |
| General Search & Knowledge Retrieval | **AWS Knowledge Base Retrieval** | Retrieval from an AWS Knowledge Base through the Bedrock Agent Runtime, for retrieval-augmented generation                                                            |
| Web, Browsing & Scraping             | **Firecrawl**                    | Web scraping, crawling, and search for content extraction                                                                                                             |

{% hint style="warning" %}
**Core Banking Sandbox API returns simulated data.** Use it to build and test an agent, not to reach a real core banking system.
{% endhint %}

#### Import Config File <a href="#import-config-file" id="import-config-file"></a>

**Import Config File** takes a JSON file in the format MCP clients use, with an `mcpServers` object. The Platform reads the first server in it:

* its key, as **Server Name**
* `url`, as **Remote MCP Server URL**
* `note`, as the description
* `headers`, as **Headers**
* `env.CLIENT_ID` and `env.CLIENT_SECRET`, as **OAuth Client ID** and **OAuth Client Secret**

A file without a valid `mcpServers` section is refused, with a message that says so.

### Authentication <a href="#advanced-settings" id="advanced-settings"></a>

**Authentication (Optional)** holds the credentials the Platform presents to the MCP server. Choose by how the server authenticates.

| Setting                                                               | What it's for                                                                                                                                                                                                                   |
| --------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Register This Redirect URL**                                        | For a server that signs people in through OAuth. When you create an OAuth app on your MCP server, add this URL as an allowed redirect URI. Hidden when machine-to-machine sign-in is on.                                        |
| **OAuth Client ID (Optional)** and **OAuth Client Secret (Optional)** | For an OAuth sign-in. Leave them empty if the server's authorization service supports dynamic client registration; otherwise enter the client ID from the server's OAuth app. Both are required for machine-to-machine sign-in. |
| **Machine-to-Machine Sign-In (OAuth Client Credentials)**             | For a server that issues a client ID and secret instead of a sign-in page. See [Connect with client credentials](#connect-with-client-credentials).                                                                             |
| **Sign in with my own account (replaces the saved sign-in)**          | Shown when you connect a server that already has a saved sign-in.                                                                                                                                                               |

#### Connect a server with machine credentials (OAuth client credentials) <a href="#connect-with-client-credentials" id="connect-with-client-credentials"></a>

Some MCP servers, often ones hosted by your company or a vendor behind Microsoft Entra ID, Okta, Auth0 or Keycloak, don't show a sign-in page. Instead they issue a client ID and client secret up front, by email, portal or IT ticket, and expect the caller to exchange them for a token. This is the OAuth 2.0 **client credentials** grant, also called machine-to-machine (M2M). The agent authenticates as itself, not as a person.

{% stepper %}
{% step %}

#### Open the form

In **Add MCP Server**, select **Add New Server** or **Request New Server**. Enter the server's name and URL.
{% endstep %}

{% step %}

#### Turn on machine-to-machine sign-in

Under **Authentication (Optional)**, select **Show**, then turn on **Machine-to-Machine Sign-In (OAuth Client Credentials)**.
{% endstep %}

{% step %}

#### Enter the credentials

* **Token URL**: required. The OAuth 2.0 token endpoint your provider gave you.
* **Scope (Optional)**: some providers require it. For Microsoft Entra ID it usually looks like `api://<resource-app-id>/.default`.
* **OAuth Client ID** and **OAuth Client Secret**: both required.
  {% endstep %}

{% step %}

#### Continue

Select **Next**. There's no sign-in step. Choose the tools, then add or request the server.
{% endstep %}
{% endstepper %}

If a server expects client credentials and you connect it without machine-to-machine sign-in, the connection can look successful while every tool call fails as unauthorised. Turn it on and reconnect.

### Manage an attached server <a href="#managing-a-connection" id="managing-a-connection"></a>

Open an attached server from the canvas. The window is titled with the server's name and holds its **Tools and Settings**: switch tools on or off, change their supervision modes, and select **Save Changes**. **Save Changes** stays unavailable until you change something.

What else you see depends on where the server stands.

| Where the server stands                                          | What the window shows                                                                                                                                                                                                                        |
| ---------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| A tool is blocked, or off for this agent, and you can ask for it | A warning that names who blocked it. Turn the tool on, enter a **Reason**, and select **Request Access**.                                                                                                                                    |
| An access request is open                                        | **Waiting for approval**. The agent uses the requested tools once an approver accepts. To ask for a different set, withdraw the request from [Approval Requests](https://docs.uptiq.ai/platform/control-center/govern/approval-requests.md). |
| The server is **Draft** and a request is open                    | The tools the agent asked for, under **Waiting for admin approval**.                                                                                                                                                                         |
| The server is **Draft** with no open request, or was rejected    | **Connect MCP Server**, or **Request Approval** when approval is required, to check how the server connects, sign in again if it asks, and send the request.                                                                                 |
| An admin blocked the server and it can't be requested            | A warning that an admin blocked the server for this account, project, or agent, so its tools can't be used or changed.                                                                                                                       |

To change a registry server's URL or credentials for every agent, an admin edits it in [Connectors](https://docs.uptiq.ai/platform/control-center/govern/connectors/mcp-servers.md#edit-an-mcp-server).

{% hint style="info" %}
An MCP connection that hasn't moved into the registry yet still opens **MCP Server Connection**, with **Connect**, **Disconnect**, **Remove**, and **Manage Tools**. Connections are moved into the registry automatically. See [Connectors](https://docs.uptiq.ai/platform/control-center/govern/connectors.md).
{% endhint %}

### Exporting and importing <a href="#exporting-and-importing" id="exporting-and-importing"></a>

[Export Agent](https://docs.uptiq.ai/platform/console/agent-builder/deploy/export-agent.md) includes the agent's MCP servers. When you import the package:

* You need the View MCP Registry capability. Without it, the import is refused.
* If the package uses a registry server you don't have access to, the whole import is refused and nothing is imported. Ask an account admin for access.
* A server is matched to one already in the registry by its URL. A server the registry doesn't have is added as **Draft** with its name and URL only. Reconnect it from the agent: that sends it for approval or, when approval is off or you manage the registry, makes it **Active**.

### Where MCP servers show up <a href="#where-connected-mcps-show-up" id="where-connected-mcps-show-up"></a>

* **The canvas:** each attached server appears as a node in the Skills band, labelled with its name.
* [Skills & Capabilities](https://docs.uptiq.ai/platform/console/agent-builder/build/skills-and-capabilities.md): the server's enabled tools.
* [Connectors](https://docs.uptiq.ai/platform/control-center/govern/connectors/mcp-servers.md) › **MCP servers**, in Control Center: one row per registry server. A server's **Used by** tab lists the agents that use it.

### MCP Tools compared to Apps & Services <a href="#mcp-tools-compared-to-apps-and-services" id="mcp-tools-compared-to-apps-and-services"></a>

Both add outside capability to the agent, and the catalogs overlap.

* [Apps & Services](https://docs.uptiq.ai/platform/console/agent-builder/build/apps-and-services.md) lists SaaS connectors, such as Stripe, Resend and Twilio, connected through the Integrations Hub.
* MCP Tools attaches MCP servers from the registry, such as market-data, web-scraping and knowledge-retrieval services. **Add New Server** reaches any other MCP server by URL.
* For an HTTP endpoint that isn't an MCP server, use the [API Call](https://docs.uptiq.ai/platform/platform-resources/skill-library/api-call.md) skill.

## What's next

{% content-ref url="/pages/Y98Mi7Do4jhWJCTnMJ58" %}
[Apps & Services](https://docs.uptiq.ai/platform/console/agent-builder/build/apps-and-services.md)
{% endcontent-ref %}

{% content-ref url="/pages/eECUHFUt1uGOMwj9qqW0" %}
[Connectors](https://docs.uptiq.ai/platform/control-center/govern/connectors.md)
{% endcontent-ref %}

{% content-ref url="/pages/PezMFvZM1WHCoDvVE0Yb" %}
[MCP](https://docs.uptiq.ai/platform/core-concepts/mcp.md)
{% endcontent-ref %}

{% content-ref url="/pages/8bBmw8K6OWJO25M5na0a" %}
[Skill Library](https://docs.uptiq.ai/platform/platform-resources/skill-library.md)
{% endcontent-ref %}

***

{% columns %}
{% column width="83.33333333333334%" %}

<p align="right"><em>Maintained by</em> <mark style="color:green;">Abhishek Paul</mark><br><code>AI-assisted, human-approved</code></p>
{% endcolumn %}

{% column width="16.666666666666664%" %}

<div align="left"><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-d034645b4f8f8ee661985f5306b60ded3289653c%2Fmaintainer-abhishek-paul.png?alt=media" alt="" width="60"></div>
{% endcolumn %}
{% endcolumns %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.uptiq.ai/platform/console/agent-builder/build/mcp-tools.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
