# How to integrate multiple MCP servers with CrewAI

**URL:** <https://community.crewai.com/t/how-to-integrate-multiple-mcp-servers-with-crewai/5942>\
**Category:** CrewAI Community Support\
**Tags:** tools\_issues\
**Created:** [May 25, 2025, 7:58am UTC](https://community.crewai.com/t/how-to-integrate-multiple-mcp-servers-with-crewai/5942 "2025-05-25T07:58:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nahum\_Korda](https://sea1.discourse-cdn.com/flex025/user_avatar/community.crewai.com/nahum_korda/32/3740_2.png) [@Nahum\_Korda](https://community.crewai.com/u/Nahum_Korda)\
**Post date:** [May 25, 2025, 7:58am UTC](https://community.crewai.com/t/how-to-integrate-multiple-mcp-servers-with-crewai/5942/1 "2025-05-25T07:58:58Z")

</div>

Is it possible to integrate multiple MCP servers?

I found the example that integrates a single MCP server here: [MCP Servers as Tools in CrewAI - CrewAI](https://docs.crewai.com/mcp/crewai-mcp-integration). However, I need to integrate multiple MCP servers, preferably using “Option 1: Fully Managed Connection”.

---

<div class="post-metadata">

**Author:** ![maxmoura](https://sea1.discourse-cdn.com/flex025/user_avatar/community.crewai.com/maxmoura/32/4206_2.png) [@maxmoura](https://community.crewai.com/u/maxmoura)\
**Post date:** [May 25, 2025, 1:00pm UTC](https://community.crewai.com/t/how-to-integrate-multiple-mcp-servers-with-crewai/5942/2 "2025-05-25T13:00:42Z")

</div>

Hey Nahum, welcome!

Taking a look at the [official Python documentation](https://docs.python.org/3.4/reference/compound_stmts.html#with), you should be able to nest the `with` statements, maybe something like this:

```python
with MCPServerAdapter1(server_params1) as tools1, MCPServerAdapter2(server_params2) as tools2:
    # Combine the tools from both adapters
    all_tools = [*tools1, *tools2]

    agent = Agent(
        role="Role",
        goal="Goal",
        backstory="Backstory",
        tools=all_tools, # 👈 Pass the combined list of tools here
        verbose=True
    )

```

Full disclosure, I haven’t tested this exact approach, but I’ve used something similar to mix MCP tools with standard CrewAI tools over in [this other thread](https://community.crewai.com/t/mcp-server-tool-config-adapter-example-in-crewai-cli-setup/5940/5).

---

<div class="post-metadata">

**Author:** ![tonykipkemboi](https://sea1.discourse-cdn.com/flex025/user_avatar/community.crewai.com/tonykipkemboi/32/4070_2.png) [@tonykipkemboi](https://community.crewai.com/u/tonykipkemboi)\
**Post date:** [May 25, 2025, 10:54pm UTC](https://community.crewai.com/t/how-to-integrate-multiple-mcp-servers-with-crewai/5942/3 "2025-05-25T22:54:23Z")

</div>

yes it’s possible. adding more detailed examples in docs this week plus **streamable\_http** finally!

---

<div class="post-metadata">

**Author:** ![Nahum\_Korda](https://sea1.discourse-cdn.com/flex025/user_avatar/community.crewai.com/nahum_korda/32/3740_2.png) [@Nahum\_Korda](https://community.crewai.com/u/Nahum_Korda)\
**Post date:** [May 26, 2025, 8:10am UTC](https://community.crewai.com/t/how-to-integrate-multiple-mcp-servers-with-crewai/5942/4 "2025-05-26T08:10:06Z")

</div>

@Max_Moura Thanks! I shall try it and update here whether it worked.

---

<div class="post-metadata">

**Author:** ![Nahum\_Korda](https://sea1.discourse-cdn.com/flex025/user_avatar/community.crewai.com/nahum_korda/32/3740_2.png) [@Nahum\_Korda](https://community.crewai.com/u/Nahum_Korda)\
**Post date:** [May 26, 2025, 9:23am UTC](https://community.crewai.com/t/how-to-integrate-multiple-mcp-servers-with-crewai/5942/5 "2025-05-26T09:23:06Z")

</div>

@tonykipkemboi Thanks. Looking forward to studying both examples.
