Prerequisites
- Admin or Owner access to your Modem organization
- An MCP-compatible server with a publicly accessible HTTPS endpoint
Setup
Add a server
Click Add Server. Enter a name, slug (used for tool namespacing), and the server URL.
The URL must use HTTPS. Localhost, private IP addresses, and
.local domains are not allowed.Choose a transport type
Select the transport protocol your server uses:
- HTTP (Streamable) — The default for most MCP servers.
- SSE (Legacy) — For older servers that use Server-Sent Events.
Configure authentication
Choose the authentication method your server requires. See Authentication below.
Test the connection
Click Test Connection to verify Modem can reach your server and discover its tools. If the test passes, you’ll see a list of available tools.
Authentication
MCP servers support three authentication methods:None
No authentication. Use this for servers that handle auth at the network level or don’t require it.Bearer Token
Modem sends anAuthorization: Bearer <token> header with every request. Enter your token during setup — it’s encrypted at rest and never exposed in API responses.
Custom Headers
Define one or more custom HTTP headers that Modem sends with every request. Use this for API key headers, custom auth schemes, or any other header-based authentication your server expects.How Tools Appear to the Agent
When you connect an MCP server, the agent discovers its tools automatically at the start of each conversation.- Namespacing. Tools are prefixed with the server’s slug to avoid name collisions. For example, a tool called
searchon a server with slugmy-serverbecomesext_my_server_search. - Approval required. All external tools require user confirmation before the agent executes them. The agent will describe what it wants to do and wait for you to approve.
- Tool descriptions. Descriptions from your server are passed through to the agent (truncated to 500 characters).
Enabling and Disabling Servers
You can disable an entire server without deleting it by toggling it off. Disabled servers are skipped during tool discovery.Permissions
| Action | Required Role |
|---|---|
| View servers and tools | Any member |
| Add, edit, or remove servers | Admin or Owner |
| Test connections | Admin or Owner |
Troubleshooting
Connection test fails
Connection test fails
- Verify your server URL is correct and uses HTTPS
- Check that the server is publicly accessible (not behind a VPN or firewall)
- Confirm your authentication credentials are correct
- Make sure the server responds within 15 seconds
Tools aren't appearing in the agent
Tools aren't appearing in the agent
- Run Test Connection to verify tool discovery works
- Check that the server is enabled
- Verify the server hasn’t been disabled
Agent responses are slow after adding a server
Agent responses are slow after adding a server
The agent connects to all enabled MCP servers at the start of each conversation. If a server is slow to respond, it can delay tool discovery.
- Check your server’s response time
- Disable servers you’re not actively using
- The connection timeout is 10 seconds — servers that don’t respond in time are skipped
Tools fail when the agent tries to use them
Tools fail when the agent tries to use them
- Check your server logs for errors
- Verify the server is still running and accessible
- Confirm authentication credentials haven’t expired or been rotated
- Try running Test Connection again to see if the server is reachable
Removing a Server
To remove an MCP server:- Go to Settings → MCP Servers
- Click on the server you want to remove
- Click Delete