Layro MCP 免费吗?
搜索和组件详情无需账户。62 个组件可用免费 Layro 账户的 token 获取;其余组件需要 Pro 终身授权,上线价为一次性 $149。

@Uvxxsh
基本信息
Layro 将你的 AI 编程工具(Cursor、Claude Code、VS Code、Windsurf、Codex、Gemini CLI)连接到 112 个可用于生产环境的 React、TypeScript 和 Tailwind CSS 组件。你的智能体可以搜索组件库、读取每个组件的 pro



使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"layro": {
"type": "http",
"url": "https://layropro.com/api/mcp"
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
点击上方按钮,直接连接服务器端点实时获取工具列表。
Layro MCP Server 是 Layro 组件库的远程 MCP 服务器。该库包含 112 个可用于生产环境的 React UI 组件,使用 TypeScript 编写、Tailwind CSS 样式。你的 AI 编程工具可以搜索组件库、读取组件的 props 和用法,并安装经过测试的组件,而不是自己从头写。
Layro MCP 本身不运行 AI 模型。它为你的工具提供关于 Layro 组件的准确信息,由你的工具完成构建。它支持 Claude Code、Cursor、VS Code、Codex、Windsurf、Gemini CLI、Antigravity、Claude 应用及其他 MCP 客户端。其中 62 个组件在注册免费 Layro 账户后即可使用;Pro 组件需要终身授权。
服务器地址为 https://layropro.com/api/mcp(Streamable HTTP)。搜索和组件详情无需账户即可使用。要获取组件代码,需把 https://layropro.com/account 中的 CLI token 作为请求头添加:Authorization: Bearer <token>;在保留 Authorization 自用的客户端中,可用 X-API-Key: <token>。它与 shadcn CLI 使用的 LAYRO_KEY 是同一个 token,请勿提交到代码仓库。
claude mcp add --transport http layro https://layropro.com/api/mcp \
--header "Authorization: Bearer $LAYRO_KEY"
如果只需要搜索和详情,可以省略请求头这一行。然后在 Claude Code 中运行 /mcp,确认 layro 显示为已连接。
用 URL https://layropro.com/api/mcp 添加自定义连接器。Layro 说明,无法发送请求头的客户端仍可使用免费组件。
在 ~/.cursor/mcp.json(或项目中的 .cursor/mcp.json)或 VS Code 的 MCP 配置中添加 url 条目:
{
"mcpServers": {
"layro": {
"url": "https://layropro.com/api/mcp",
"headers": { "Authorization": "Bearer YOUR_LAYRO_TOKEN" }
}
}
}
Layro 同时也是一个 shadcn registry。把它添加到 components.json:
{
"registries": {
"@layro": {
"url": "https://layropro.com/r/{name}",
"headers": { "Authorization": "Bearer ${LAYRO_KEY}" }
}
}
}
在 .env.local 中写入 LAYRO_KEY=<your Layro token>,然后运行 npx shadcn@latest mcp init --client claude(可把 claude 换成 cursor、vscode、codex 或 opencode)。Layro 建议尽量使用自己的 MCP 服务器,因为它额外提供按用途搜索、props、用法示例、权限检查和模板。
服务器列出 8 个只读工具。推荐流程为 search_components → get_component → get_installation,无法运行 shadcn CLI 时改用 get_component_code。
search_components(自然语言查询,可选分类,最多 20 条结果)、get_component、get_component_code(免费组件需要免费 token,Pro 组件需要终身授权)和 list_categories。get_installation 最多接受 10 个 slug、一个包管理器(npm、pnpm、yarn 或 bun)以及项目已有的依赖包。search_templates、get_template(从不返回模板文件)和 check_access,后者说明你能否获取某个组件或模板以及原因。/api/mcp 结尾、客户端是否支持远程 HTTP 服务器,然后重启客户端。components/ui/…),并在全局 CSS 中于 Tailwind 之后导入 styles/layro.css。搜索和组件详情无需账户。62 个组件可用免费 Layro 账户的 token 获取;其余组件需要 Pro 终身授权,上线价为一次性 $149。
不需要。Layro MCP 是托管的远程服务器,地址为 `https://layropro.com/api/mcp`。组件本身通过 shadcn CLI 安装到项目中,或从 `get_component_code` 保存。
任何支持远程 HTTP 服务器的 MCP 客户端。Layro 提供了 Claude Code、Cursor、VS Code、Codex、Windsurf、Gemini CLI、Antigravity 和 Claude 应用的说明。
React + TypeScript + Tailwind CSS v4,内置浅色和深色主题。组件之间通过 `@` 别名互相引用。
可以。在 `components.json` 中添加 `@layro` registry 并配置 shadcn MCP 服务器即可,但会失去 Layro 专属的搜索、权限检查和模板功能。
是的。Layro 表示它已收录在官方 MCP Registry、GitHub、Cursor Directory 和 mcp.so 上。
Modelglass turns "which model should I use?" into a lookup instead of a guess. Seven tools give your agent live pricing across image, language, video, and audio models. Sourced and versioned, not scraped once and forgott

Nebelus is an enterprise agentic-AI platform for regulated industries. This MCP server exposes the Nebelus Construction API: ~48 tools that give an MCP client full agent build parity — create/update/probe agents, edit ag

DrUrls audits websites for SEO, and its MCP server lets Claude, ChatGPT, Claude Code, Cursor or VS Code work with those audits directly: list your sites with their latest score and grade, read each issue across SEO, perf

Catch intent conflicts before code conflicts. The open-source coordination protocol for coding agents, built above Git.

Let your cloud agents talk to you. Grok Bot, Meta Muse, ChatGPT, Claude, Devin and others report progress to Heard, which reads it out loud on your Mac, and they pick up the replies you send back.
评论