---
title: "Setting Up MCP Servers as tools for AI Agents"
slug: "setting-up-mcp-servers-as-tools-for-ai-agents"
updated: 2026-06-02T19:57:29Z
published: 2026-06-02T19:57:29Z
---

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

# Setting Up MCP Servers as tools for AI Agents

## Using MCP Servers with AI Agents

AI Agents can use tools from an MCP Server as part of their available tool set. This includes **internal MCP servers** (Decisions-created servers) and **external MCP servers** (non-Decisions MCP servers). Both internal and external MCP servers are accessed via **HTTP** or **STDIO**.

When an MCP Server is attached to an Agent, the Agent can access the AI Tool Flows exposed by that server. During execution, if the LLM selects a tool provided by the configured MCP Server, the Agent invokes that tool and uses the returned output in its response.

Follow the steps below to add MCP Servers for use with AI Agents:

1. Navigate to **[Designer Project] > Manage > Integrations > AI > Agents**.
2. Click **Add Agent** to open the Add Agent dialog window.
3. Configure the Agent by providing:
  - **Name**
  - **Description**
  - **System Prompt**
  - **Provider** (AI model provider)
  - **Model**
  - **Maximum Iterations** (numeric value)
  - **Published** (optional checkbox)
  - **Tool Flows**
  - **Sub Agents** (if available)
  - **MCP Servers** (select from the list)
4. Click **Save**.

The Agent can now use AI Tool Flows from the selected MCP Server(s).![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1780428292657.png)

---

## Feature Changes

| Description | Version | Release Date | Developer Task |
| --- | --- | --- | --- |
| Removed the "Decisions.AI" prefix from LLM provider names in the provider picker and updated the default Max Iterations value to 5. | 9.27 | June 2026 | [DT-047294] |
