MCP server

MCP server

Let your AI coding agent search the blocks, read their props and install them for you.

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:

  1. Your client tries the server and learns that it needs a sign-in.
  2. It registers itself and opens trame-ui.com in your browser.
  3. You sign in to your Trame UI account and allow the client.
  4. 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