1. Add the server
In your project’s folder, run:
claude mcp add --transport http trame https://mcp.trame-ui.com/mcp
By default the server is added for this project, on your machine only. Add --scope user to use it in every project,
or --scope project to share it with your team through the project’s .mcp.json (each person still signs in with
their own account).
2. Sign in
- Start Claude Code and type
/mcp. - Pick
trame, then Authenticate. - Your browser opens trame-ui.com. Sign in and allow Claude Code.
- Go back to Claude Code:
trameshows as connected.
3. Ask for a page
Make sure your key is in the project’s .env (see Your key), then ask, for example:
Build a pricing page with three plans and a FAQ, using Trame UI blocks.
Claude Code searches the blocks, reads their props, adds the registry to components.json and installs them.
Sign out or remove
- To sign out, type
/mcp, picktrame, then Clear authentication. - To remove the server:
claude mcp remove trame
Without a browser
On a Pro or Team account, you can send your project key instead of signing in, for example in CI:
claude mcp add --transport http trame https://mcp.trame-ui.com/mcp --header "Authorization: Bearer $TRAME_KEY"
The shell writes the key’s value into Claude Code’s settings: keep that file private.