Setting up an MCP connection for Agents
Agents can connect to and run tools from remote MCP servers.- Open the Agent you want to connect
- Navigate to the Tools tab in the agent builder
- Click Add MCP
- Click Connect my own
- Add the URL of the remote hosted MCP server
- Label your MCP Server connection
- Add any authentication details required for the MCP server
The connection label you provide will appear in tool descriptions as
(MCP: connection-name). This helps agents distinguish between tools from different connections, especially when using multiple instances of the same MCP server.Connecting multiple instances of the same MCP server
You can connect the same MCP server URL multiple times within a project. Each connection operates independently with its own authentication credentials, label, and configuration. Tools from each connection display(MCP: connection-name) in their descriptions so agents can distinguish which connection a tool belongs to.
This is useful when you need different authentication contexts (e.g. separate user credentials for different data access), environment separation (staging vs production), or multi-tenant setups where each connection uses different tenant credentials.
Best practices
Use descriptive connection labels
Use descriptive connection labels
Choose labels that clearly indicate the purpose or context of each connection, such as
github-prod, github-staging, or linear-team-a, linear-team-b.Reference connections in agent instructions
Reference connections in agent instructions
When building agents that use multiple instances of the same server, include guidance in the agent’s core instructions about when to use tools from each connection.
Troubleshooting
Tools not loading from external MCP server
Tools not loading from external MCP server
- Verify the MCP server URL is correct and the server is online
- Check that any required authentication credentials are entered correctly
- Ensure the external MCP server supports the Streamable HTTP transport
Agent cannot run external tools
Agent cannot run external tools
- Confirm the tools are listed in the agent’s Tools tab after connecting
- Check that the external MCP server has not revoked access or changed credentials
- Try disconnecting and reconnecting the MCP server in the agent builder
Connection timeout or errors
Connection timeout or errors
- The external MCP server may be temporarily unavailable — try again later
- Check that the server URL does not require VPN or network access that Relevance AI cannot reach
- Contact the MCP server provider if the issue persists
Frequently asked questions (FAQs)
What types of MCP servers can I connect?
What types of MCP servers can I connect?
You can connect any remote MCP server that supports the Streamable HTTP transport. This includes servers from services like Linear, Notion, GitHub, and any custom MCP servers you host.
Can I connect multiple MCP servers to one agent?
Can I connect multiple MCP servers to one agent?
Yes. You can add multiple MCP server connections to a single agent, giving it access to tools from several external services at once.You can also connect the same MCP server URL multiple times with different labels and credentials. This is useful for environment separation (staging vs production), different authentication contexts, or multi-tenant setups. See connecting multiple instances for details.
Can I use locally hosted MCP servers?
Can I use locally hosted MCP servers?
No. Relevance AI only supports remote MCP servers accessible via a public URL. Local MCP servers running on your machine (e.g. via JSON configuration) are not supported.

