1. Add the server
Create .cursor/mcp.json in your project, or ~/.cursor/mcp.json to use it in every project:
{
"mcpServers": {
"trame": {
"url": "https://mcp.trame-ui.com/mcp"
}
}
}
If the file already has servers, add trame next to them.
2. Sign in
- Open Cursor’s settings, then the MCP section (Tools & MCP in recent versions).
- Next to
trame, click Connect (or Needs login). - Your browser opens trame-ui.com. Sign in and allow Cursor.
Cursor registers itself with the server and keeps the sign-in.
3. Ask for a page
With your key in the project’s .env (see Your key), ask the agent, for example:
Add a Trame UI hero with a sign-up form to the home page.
Disconnect
Turn trame off in the MCP settings, or delete its entry from mcp.json.
Without a browser
On a Pro or Team account, you can send your project key instead of signing in. Cursor reads it from your environment:
{
"mcpServers": {
"trame": {
"url": "https://mcp.trame-ui.com/mcp",
"headers": { "Authorization": "Bearer ${env:TRAME_KEY}" }
}
}
}