Windsurf - Connect the MCP
Declare the server in mcp_config.json and authorize it from the Cascade MCP panel.
In Windsurf, MCP servers are used by Cascade. NicoChat goes into mcp_config.json as a remote server by URL; after you refresh the list, Windsurf shows the login button and opens the browser for authorization in NicoChat.
- Server URL:
https://mcp.nicochat.com/mcp. It is the only information the client asks for; there is no API key to copy. - A NicoChat account with a workspace on a paid or trial plan, and you as its owner or admin.
- Windsurf up to date. A plan with Cascade enabled.
~/.codeium/windsurf/mcp_config.json file.{
"mcpServers": {
"nicochat": {
"serverUrl": "https://mcp.nicochat.com/mcp"
}
}
}Whatever the client, authorization happens in the browser, on the NicoChat page. You log in, choose the permissions (read and analytics is always granted; configuration, contacts, integrations and campaigns are optional) and the validity of the connection: 1, 7, 30 or 90 days, or no expiration. The tools the assistant sees depend on what you checked here — to expand later, just reconnect.
With the connection in place, ask Cascade in natural language. Some examples that use read only:
- "List my workspaces and the channels in each one."
- "How many contacts entered the WhatsApp channel in the last 7 days and what is the average first response time?"
- "Summarize the structure of channel X: flows, triggers, AI agents and kanban boards."
- "Which keywords are configured in channel X and where does each one lead?"
If you granted configuration, the assistant also creates flows, triggers, tags and AI agents. Everything it creates inside a flow stays as a draft until you publish it in NicoChat.
- In the client: remove the
nicochatblock frommcp_config.jsonand click Refresh, or turn the server off in the MCP panel. - In NicoChat: in Account Settings, revoke the authorization. The effect is immediate, even if the server is still registered in the client.
serverUrl. Click Refresh after fixing it.
