# CrewAI Agent Connections to MCP Servers

**URL:** <https://community.crewai.com/t/crewai-agent-connections-to-mcp-servers/7197>\
**Category:** General\
**Created:** [November 16, 2025, 7:12pm UTC](https://community.crewai.com/t/crewai-agent-connections-to-mcp-servers/7197 "2025-11-16T19:12:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SubbaReddy\_Paturu](https://sea1.discourse-cdn.com/flex025/user_avatar/community.crewai.com/subbareddy_paturu/32/3271_2.png) [@SubbaReddy\_Paturu](https://community.crewai.com/u/SubbaReddy_Paturu)\
**Post date:** [November 16, 2025, 7:12pm UTC](https://community.crewai.com/t/crewai-agent-connections-to-mcp-servers/7197/1 "2025-11-16T19:12:34Z")

</div>

When configuring an Agent with multiple MCP endpoints, such as:  
agent = Agent(  
role=“Research Analyst”,  
goal=“Research and analyze information”,  
backstory=“Expert researcher with access to external tools”,  
mcps=[  
“[https://mcp.exa.ai/mcp?api\_key=your\_key”](https://mcp.exa.ai/mcp?api_key=your_key%E2%80%9D), # External MCP server  
“[https://api.weather.com/mcp#get\_forecast”](https://api.weather.com/mcp#get_forecast%E2%80%9D), # Specific tool from server  
“crewai-amp:financial-data”, # CrewAI AMP marketplace  
“crewai-amp:research-tools#pubmed\_search” # Specific AMP tool  
]  
)

CrewAI may exhibit several inefficiencies:

- **MCP server restarted for every agent instance**  
Each Agent creation spawns a new MCPServerStdio (e.g., running `npx`), creating unnecessary process overhead.

- **No connection reuse**  
Each task re-establishes connections to all MCP endpoints, leading to repeated network calls and latency.

- **High tool-discovery overhead**  
Without explicit filtering, the agent enumerates every available tool across each MCP server (sometimes 50+ tools).

- **Resource and process leaks**  
Local MCP processes may not close cleanly if the agent is created repeatedly.

- **Inefficient tool execution flow**  
The agent attempts tools sequentially until one succeeds, generating unnecessary calls and delays.

These behaviors can significantly impact performance, especially in workflows involving multiple agents or frequent task execution.

Can we use lazy-loaded MCP connections and reuse them across agents, or is there a better recommended approach?
