The Modem MCP Server lets MCP-compatible clients call the Modem Agent from outside the Modem dashboard. Use it when you want an external assistant to ask Modem about your customer feedback, topics, people, companies, and connected tools.Documentation Index
Fetch the complete documentation index at: https://modem.dev/docs/llms.txt
Use this file to discover all available pages before exploring further.
This page is about connecting an external MCP client to Modem. To connect external MCP tool servers for the Modem Agent to use, see the
MCP Servers page.
Server URL
Use this URL in your MCP client:What It Can Do
The server currently exposesinvoke_modem_agent, which runs the Modem Agent with a natural-language prompt and returns the final answer to your MCP client.
Treat each MCP call as a self-contained prompt. Follow-up conversation continuity from the MCP client is not supported yet.
Prerequisites
- A Modem account with access to the organization you want to use
- Access to the Modem MCP Server beta for that organization
- An MCP client that supports remote Streamable HTTP servers with OAuth
Set Up Your Client
Use the setup path for your MCP client. In every case, the server URL is:Claude Code
Claude Code can add remote HTTP MCP servers from the CLI./mcp inside Claude Code and complete the browser authorization flow.
Cursor
In Cursor, open Settings → Cursor Settings → Tools & MCP, then add a new MCP server. Cursor stores MCP configuration in anmcp.json file.
VS Code and GitHub Copilot
VS Code stores MCP configuration in anmcp.json file, either in your user profile or in .vscode/mcp.json for a workspace.
Windsurf
Windsurf stores MCP configuration in~/.codeium/windsurf/mcp_config.json. For remote HTTP servers, use serverUrl.
Cline
In Cline, open the MCP Servers panel and add a remote server manually:Other MCP Clients
Use the client’s remote HTTP or Streamable HTTP setup flow. If it asks for fields, use:| Field | Value |
|---|---|
| Name | modem |
| URL | https://mcp.modem.dev/mcp |
| Transport | Streamable HTTP or HTTP |
| Authentication | OAuth |
| Client | Docs |
|---|---|
| Claude Code | Connect Claude Code to tools via MCP |
| Cursor | Cursor MCP documentation |
| VS Code | MCP configuration reference |
| Windsurf | Cascade MCP integration |
| Cline | Cline MCP documentation |
Authorize Modem
Your MCP client should open a browser window for OAuth authorization the first time it connects. On the Modem consent screen:- Confirm the requesting client name.
- Review the redirect destination.
- Choose the Modem organization if your account belongs to more than one.
- Approve the
agent:invokepermission.
Example Prompts
Use prompts that give the Modem Agent a complete task. The MCP server returns the final answer synchronously. Because each MCP call is self-contained, include the context the agent needs in the prompt instead of relying on a previous MCP exchange.Security and Access
Modem authorizes the MCP client with OAuth. The access token is scoped to the Modem account and organization selected during consent. The current MCP permission is:| Scope | Meaning |
|---|---|
agent:invoke | Run the Modem Agent on your behalf. |
https://mcp.modem.dev/mcp.
Troubleshooting
My MCP client does not show the Modem tool
My MCP client does not show the Modem tool
- Confirm the server URL is exactly
https://mcp.modem.dev/mcp. - Restart the client or reload its MCP server list.
- Make sure your client supports remote Streamable HTTP MCP servers with OAuth.
Authorization fails or returns unauthorized
Authorization fails or returns unauthorized
The answer is missing context from a previous MCP call
The answer is missing context from a previous MCP call
Each MCP call currently starts a separate Modem agent invocation. Include the necessary context in the prompt you send from your MCP
client.
I connected the wrong organization
I connected the wrong organization
Remove or disconnect the Modem MCP server in your client, then authorize again and select the correct organization on the Modem
consent screen.
Related
The Modem Agent
Learn what the Modem Agent can query and do.
MCP Servers
Connect external MCP tool servers for the Modem Agent to use.