1. Add the server
Run:
codex mcp add trame --url https://mcp.trame-ui.com/mcp
Or add it by hand to ~/.codex/config.toml:
[mcp_servers.trame]
url = "https://mcp.trame-ui.com/mcp"
2. Sign in
codex mcp login trame
Your browser opens trame-ui.com. Sign in and allow Codex. Codex keeps the sign-in for the next sessions.
3. Ask for a page
With your key in the project’s .env (see Your key), start codex in your project and ask, for
example:
Add a Trame UI FAQ section to the pricing page.
Sign out or remove
codex mcp logout trame
codex mcp remove trame
The first command forgets the sign-in; the second removes the server.
Without a browser
On a Pro or Team account, you can send your project key instead of signing in. Codex reads it from the environment variable you name:
[mcp_servers.trame]
url = "https://mcp.trame-ui.com/mcp"
bearer_token_env_var = "TRAME_KEY"