8pt

8pt giúp mọi mô hình AI tạo ra giao diện người dùng chuyên nghiệp: các thành phần được tuyển chọn, mẫu trang đầy đủ, giao diện, biểu tượng và Skills, được cung cấp cho Claude Code, Cursor, Codex và Trae thông qua một MCP server và CLI.

Máy chủ MCP được lưu trữ

npx add-mcp 'https://8pt.dev/api/mcp'

Cài vào Claude Code, Codex, Cursor và nhiều công cụ khác

Tài liệu

8pt

8pt

Make any AI model ship professional-grade UI.

Website · MCP docs · CLI docs · npm

8pt makes any AI model ship professional-grade UI: curated components, full-page templates, themes, icons and Skills, delivered to Claude Code, Cursor, Codex and Trae through one MCP server and CLI.

中文:8pt 让任何大模型交出专业级作品:精选 UI 组件、整页模板、主题、图标与 Skill,通过一个 MCP 与 CLI 接入 Claude Code、Cursor、Codex、Trae。

What's in the library

  • Components — buttons, cards, inputs, navigation, pricing, data display, hero sections, backgrounds and motion. Each one runs live and ships with full HTML/CSS/JS source plus an integration prompt the model follows.
  • Templates — full pages (hero, features, pricing, FAQ) to start from.
  • Themes — one block of CSS variables (colors, radius, fonts, shadows) restyles a whole site.
  • Icons — original line icons on a 24px grid, stroke="currentColor".
  • Skills — SKILL.md workflows that tell a model which steps and standards to follow.

CLI

Requires Node.js 18+.

npm i -g @8pt-dev/cli
8pt login                      # opens 8pt.dev to create an API Key and saves it locally
8pt init                       # write 8pt design rules into AGENTS.md / CLAUDE.md / Cursor / Copilot
8pt install-skill              # teach Claude Code / Codex to use 8pt
8pt design "landing page for a budgeting app"
8pt search "pricing toggle"
8pt add pricing-toggle         # installs into components/8pt/pricing-toggle/

No global install: npx @8pt-dev/cli <command>. In CI or scripts, skip login with --api-key <key> or the API_KEY_8PT environment variable.

CommandWhat it does
8pt search <query>Search components
8pt add <slug>Install a component (source + integration prompt)
8pt prompt <slug>Print a component's integration prompt
8pt templates / 8pt template <slug>List or fetch templates
8pt skills / 8pt skill <slug>List or install Skills (--target claude|codex|cursor|agents)
8pt theme [slug]Fetch theme variables (--out theme.css)
8pt icons <name>Fetch icon SVGs (--out dir)
8pt init / 8pt design <brief> / 8pt rulesWrite, query or print the 8pt design rules
8pt mcp [claude|codex|cursor]Print MCP config
8pt status / 8pt logoutShow or clear local login

MCP server

  • Endpoint: https://8pt.dev/api/mcp (Streamable HTTP)
  • Auth: Authorization: Bearer <your 8pt API Key> — create one at 8pt.dev → Settings → API Key (Builder plan).

Claude Code

claude mcp add --transport http 8pt https://8pt.dev/api/mcp \
  --header "Authorization: Bearer <YOUR_8PT_API_KEY>"

Cursor — ~/.cursor/mcp.json

{
  "mcpServers": {
    "8pt": {
      "url": "https://8pt.dev/api/mcp",
      "headers": { "Authorization": "Bearer <YOUR_8PT_API_KEY>" }
    }
  }
}

Codex — ~/.codex/config.toml

# export EIGHTPT_API_KEY=<YOUR_8PT_API_KEY>
[mcp_servers.8pt]
url = "https://8pt.dev/api/mcp"
bearer_token_env_var = "EIGHTPT_API_KEY"

Trae and other clients

Trae: Settings → MCP → Add manually (JSON). Any client that supports Streamable HTTP:

{
  "mcpServers": {
    "8pt": {
      "url": "https://8pt.dev/api/mcp",
      "headers": { "Authorization": "Bearer <YOUR_8PT_API_KEY>" }
    }
  }
}

Ready-to-copy files are in examples/. The CLI source is in cli/ (published to npm as @8pt-dev/cli).

Tools

ToolWhat it does
design_uiCall before building any UI: returns design rules plus matching templates, components and theme
search_componentsSearch components by description (English or Chinese)
get_componentFull source and integration prompt for one component
list_templates / get_templateList or fetch full-page templates
list_skills / get_skillList Skills or fetch all files of one Skill
get_themeTheme CSS variables
search_iconsIcons as 24px currentColor SVG
submit_componentSubmit a native HTML/CSS/JS component to your account for review

Then just ask your agent, e.g. "Use 8pt to find a pricing toggle and put it on the home page."

Plans

Browsing and live previews need a sign-in. Copying prompts, full source, MCP and CLI need the Builder plan. See 8pt.dev/pricing.

Links

Third-party product names are trademarks of their respective owners and do not imply endorsement.