--- title: "Setting Up MCP Servers as Tools for AI Agents" slug: "setting-up-mcp-servers-as-tools-for-ai-agents" description: "Learn how to use MCP Servers with AI Agents. This enables AI Agents to access the AI Tool Flows exposed by that MCP 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." tags: ["AI Agent Architecture", "Hierarchical", "multi-agent", "Sequential"] updated: 2026-07-01T20:54:16Z published: 2026-07-01T20:54:16Z canonical: "documentation.decisions.com/setting-up-mcp-servers-as-tools-for-ai-agents" --- > ## 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-1782939243748.png)