MCP server

Agent skill

Install the Trame skill so your coding agent searches the blocks before writing markup, checks its props and never invents content.

The MCP server tells your agent what the blocks are. The Trame skill tells it how to work with them, every time: search before writing markup, read the block, fill it with your real content, check the props, install, theme with tokens. It is one short file of rules your agent reads when you ask for a page or a section.

What it makes your agent do

  • Search first. compose_page for a whole page, search_blocks for a section. It writes a section by hand only when no block fits, and says so.
  • Your content only. No invented reviews, quotes, ratings, logos, figures, prices or dates. A prop without real content stays absent and the block hides it; your agent asks you instead of guessing.
  • Check before writing code. It calls check_props and fixes every error and every word left from the demo.
  • Theme tokens only. No hex colours, no Tailwind palette classes, no dark:.
  • Keep your key out of the chat. TRAME_KEY lives in .env.

Install it

The same rules come in three shapes. Run the command from your project’s root.

Claude Code

A skill in your project, used whenever you ask for a page or a section:

mkdir -p .claude/skills/trame && curl -fsSL https://trame-ui.com/agents/trame/SKILL.md -o .claude/skills/trame/SKILL.md

Cursor

A project rule, attached when the request is about Trame UI or a page:

mkdir -p .cursor/rules && curl -fsSL https://trame-ui.com/agents/trame.mdc -o .cursor/rules/trame.mdc

Any other agent

Codex, Windsurf, Zed, OpenCode and most agents read an AGENTS.md at the root of the project. Append the rules to it:

curl -fsSL https://trame-ui.com/agents/AGENTS.trame.md >> AGENTS.md

Use it with the prompts

The MCP server also offers three prompts that follow the same steps: build_page, add_section and pick_theme. In Claude Code they appear as /mcp__trame__build_page and so on. See Tools.