Docs
MCP server
Connect Claude Code, Cursor, VS Code or Codex, and your agent finds and installs our blocks for you.
Our MCP server gives your coding agent the whole library: it searches blocks, pages, templates, themes and kits, reads a style's rules and installs what it picks. Every free item works without an account.
1. Connect your agent
No token? Leave the Authorization header out (for Codex, the bearer_token_env_var line). Your agent can still search everything and use every free item.
Claude Code
claude mcp add --transport http techwithemma https://techwithemma.com/api/mcp --header "Authorization: Bearer $TWE_TOKEN"Cursor
{
"mcpServers": {
"techwithemma": {
"url": "https://techwithemma.com/api/mcp",
"headers": { "Authorization": "Bearer ${env:TWE_TOKEN}" }
}
}
}VS Code
{
"servers": {
"techwithemma": {
"type": "http",
"url": "https://techwithemma.com/api/mcp",
"headers": { "Authorization": "Bearer ${env:TWE_TOKEN}" }
}
}
}Codex
[mcp_servers.techwithemma]
url = "https://techwithemma.com/api/mcp"
bearer_token_env_var = "TWE_TOKEN"2. Unlock Pro code (All-Access)
Pro blocks show up in search for everyone. To let your agent read and install their code, save your registry token as TWE_TOKEN in your shell or your project's .env. It is the same token the shadcn CLI uses.
What your agent gets
get_guideHow to build with TWE UI: the styles, the setup and the rules. Your agent reads it first.search_uiFinds blocks, components, pages, templates, themes and kits by what they are for.get_styleOne style's rules and its blocks, so a whole app stays in one look.get_itemThe install command, dependencies and code of one item.
Want your agent to plan and design too, not only install? Connect Shipper: it interviews you, writes DESIGN.md and reviews its own work, with this same library and token.
Try these prompts
- “Build my landing page with TechWithEmma blocks in the Minimal style”
- “Add a pricing section with a monthly and yearly switch”
- “Find a login screen that matches my hero and install it”