Integration
Lamina + Windsurf
Expose the Lamina MCP server as a tool inside Cascade — generate and distribute media mid-task.
The Lamina + Windsurf integration exposes the Lamina MCP server as a tool inside Cascade. Add the server in Windsurf Settings → MCP → Add Server, or edit windsurf_mcp_config.json. Cascade can then call Lamina creative apps mid-task — generating, evaluating, and distributing media with the same tool-calling pattern Cascade uses for everything else.
What you can do
- •Five Lamina MCP tools available inside Cascade
- •Cascade plans multi-step creative jobs (generate → evaluate → distribute) autonomously
- •Streaming progress and brand-fit scores rendered inline in chat
- •Distribute outputs to Shopify, Sanity, Drive, Webflow, or any webhook target
- •Same JSON config format as Cursor and Claude Desktop — portable across editors
Setup
- 1
Open MCP settings
Windsurf → Settings → MCP → Add Server. Or edit windsurf_mcp_config.json under your config directory.
- 2
Add the Lamina entry
Same JSON as Cursor / Claude Desktop — command, args, env. Save and restart Windsurf.
- 3
Verify in Cascade
Open Cascade and type 'list available tools'. The five Lamina tools should appear.
- 4
Run a brief
Ask Cascade to generate a hero, evaluate against the brand rubric, and push the keeper to Sanity.
Example
windsurf_mcp_config.json
// windsurf_mcp_config.json
{
"mcpServers": {
"lamina": {
"command": "npx",
"args": ["-y", "@lamina/mcp"],
"env": { "LAMINA_API_KEY": "sk-lm-…" }
}
}
}How it works
Windsurf's Cascade agent treats MCP tools as first-class citizens. Once the Lamina server is registered, Cascade can plan a multi-step creative job — brief in, generate variants, evaluate, branch on brand-fit score, distribute the keeper — without per-step prompting. The user supervises only the final approval.
When to use it
Use this integration when developers live in Windsurf and want Cascade's flow-state agentic UX to drive creative as well as code. It's especially strong for marketing-site work where Cascade can generate hero art, drop it into the codebase, and ship the change in one flow.