1 Install the CLI
Install the MindMeld CLI globally via npm.
2 Create an API Token
Generate a token from the MindMeld dashboard. This authenticates the MCP bridge with your team's standards corpus.
open https://app.mindmeld.dev/api-tokens
3 Configure Windsurf MCP
Add the MindMeld MCP server to your Windsurf configuration.
open ~/.codeium/windsurf/mcp_config.json
4 Restart Windsurf
Restart Windsurf to pick up the new MCP configuration. Once restarted, verify that MindMeld tools appear in Windsurf's tool list.
5 Use at Task Start
Begin each Cascade session by calling mindmeld_init_session. This loads context-relevant standards for the files and patterns you're working with.
mindmeld_init_session
1 Install the CLI
Install the MindMeld CLI globally via npm.
2 Log In
Authenticate with your MindMeld account to access your team's standards corpus.
3 Generate .windsurfrules
Export your standards as a static .windsurfrules file that Windsurf reads automatically.
This creates a .windsurfrules file in your project root containing your team's current standards, patterns, and anti-patterns formatted for Windsurf's Cascade engine.
4 Keep It Updated
The .windsurfrules file is a static snapshot. Re-run the inject command whenever your standards change.
mindmeld inject --format windsurfrules
Switching Accounts
MCP Bridge method: Generate a new API token from the other account's dashboard at app.mindmeld.dev/api-tokens, update the token in ~/.codeium/windsurf/mcp_config.json, and restart Windsurf.
.windsurfrules method: Switch CLI accounts with mindmeld logout then mindmeld login, then re-run mindmeld inject --format windsurfrules to regenerate the file.
Use mindmeld status to check which CLI account is currently active.