1. Add the server
In Cascade, open the … menu, then MCPs (or MCP servers), then Open MCP config file. Add trame:
{
"mcpServers": {
"trame": {
"serverUrl": "https://mcp.trame-ui.com/mcp"
}
}
}
The file is ~/.codeium/windsurf/mcp_config.json in Windsurf; newer releases may keep it elsewhere, which the menu above
opens either way. If the file already has servers, add trame
next to them, then refresh the server list.
2. Sign in
When Cascade first connects, Windsurf opens trame-ui.com in your browser. Sign in and allow Windsurf.
3. Ask for a page
With your key in the project’s .env (see Your key), ask Cascade, for example:
Compose a SaaS landing page from Trame UI blocks.
Disconnect
Turn trame off in the MCP list, or delete its entry from the config file.
Without a browser
On a Pro or Team account, you can send your project key instead of signing in. Windsurf reads it from your environment:
{
"mcpServers": {
"trame": {
"serverUrl": "https://mcp.trame-ui.com/mcp",
"headers": { "Authorization": "Bearer ${env:TRAME_KEY}" }
}
}
}