The Trame UI MCP server gives your AI coding agent the whole catalogue. Ask for « a pricing page with three plans and a FAQ »: the agent finds the blocks, reads what each one needs and installs it in your Vue or React project.
The server is read-only and serves no code. It describes the blocks and gives the install command. The code itself comes from the registry, which the shadcn CLI reads with your project key.
The address
https://mcp.trame-ui.com/mcp
Transport
The server speaks MCP over Streamable HTTP, the standard transport for remote servers. It keeps no session between requests. Any client that supports remote MCP servers over HTTP can use it.
Authorization
The server uses OAuth 2.1, as the MCP specification describes. You do not copy any token:
- Your client tries the server and learns that it needs a sign-in.
- It registers itself and opens trame-ui.com in your browser.
- You sign in to your Trame UI account and allow the client.
- The browser sends you back to your client, which is now connected.
The client then refreshes its access on its own. If it cannot open a browser (in CI, for example), it can send your project key as a bearer token instead: see Other clients.
Two parts, two credentials
| MCP server | Registry | |
|---|---|---|
| Used by | Your AI agent | The shadcn CLI |
| Gives | Descriptions, props, install commands | The source code |
| Signs in with | OAuth, in the browser | Your key, TRAME_KEY in .env |
So, before your agent installs its first block, create your key and add it to the project’s .env yourself (see
Your key). Your agent writes components.json; it never needs to see the key.
Next steps
- Choose your client and connect it.
- See what the tools return.
- Read what the server receives in Privacy & data.