For vue2 projects, use @94ai/common-ui
LLMs.md

MCP Server ​

MCP exposes ten query tools and two prompts over stdio, sharing CLI data. It calls no model API and changes no business project.

Tools ​

ToolDescription
common_ui_siteRead the official homepage and snapshot documentation URLs offline
common_ui_listList available components and packages
common_ui_infoRetrieve API tables and source type declarations
common_ui_docRetrieve complete component Markdown documentation
common_ui_demoRetrieve Vue examples and supporting modules
common_ui_themeQuery Chalk / OEM theme variables
common_ui_designRetrieve the library’s design guidelines
common_ui_changelogQuery release notes for a version
common_ui_tokenQuery Element Plus Design Tokens and Common UI theme overrides
common_ui_semanticQuery documented styling props and slots

Prompts ​

PromptDescription
common-ui-expertPosition the Agent as a common-ui expert, guiding it to use version-matched APIs, complete examples and design guidelines
common-ui-page-generatorHelp create Vue 3 pages using verified components and design guidelines

Configuration ​

Using MCP in AI tools ​

These examples use the published @94ai-plus/cli and require Node.js 22.13.0 or later and npm/npx. Merge entries into existing files, preserving other MCP servers. In a settings form, enter only the command and args of the common-ui entry.

ToolInstructionsConfiguration
CursorAdd to .cursor/mcp.json · Docs{"mcpServers":{"common-ui":{"command":"npx","args":["--yes","--package","@94ai-plus/cli","common-ui","mcp","--lang","en-US"]}}}
WindsurfOpen the raw configuration in MCP settings and add a local stdio server · Docs{"mcpServers":{"common-ui":{"command":"npx","args":["--yes","--package","@94ai-plus/cli","common-ui","mcp","--lang","en-US"]}}}
Claude CodeAdd to .mcp.json · Docs{"mcpServers":{"common-ui":{"command":"npx","args":["--yes","--package","@94ai-plus/cli","common-ui","mcp","--lang","en-US"]}}}
VS CodeAdd to .vscode/mcp.json, or run MCP: Add Server · Docs{"servers":{"common-ui":{"type":"stdio","command":"npx","args":["--yes","--package","@94ai-plus/cli","common-ui","mcp","--lang","en-US"]}}}
CodexProject .codex/config.toml (trusted projects only), or user ~/.codex/config.toml · Docs[mcp_servers.common-ui]
command = "npx"
args = ["--yes","--package","@94ai-plus/cli","common-ui","mcp","--lang","en-US"]
Gemini CLIAdd to .gemini/settings.json · Docs{"mcpServers":{"common-ui":{"command":"npx","args":["--yes","--package","@94ai-plus/cli","common-ui","mcp","--lang","en-US"]}}}
TraeManually add a local stdio server in MCP settings · Docs{"mcpServers":{"common-ui":{"command":"npx","args":["--yes","--package","@94ai-plus/cli","common-ui","mcp","--lang","en-US"]}}}
QoderManually add a local stdio server in MCP settings · Docs{"mcpServers":{"common-ui":{"command":"npx","args":["--yes","--package","@94ai-plus/cli","common-ui","mcp","--lang","en-US"]}}}
Neovate CodeAdd to .neovate/config.json · Docs{"mcpServers":{"common-ui":{"command":"npx","args":["--yes","--package","@94ai-plus/cli","common-ui","mcp","--lang","en-US"]}}}

Codex uses TOML; VS Code uses servers; the other JSON examples use mcpServers. Configuration entry points can vary by client version; follow the official documentation. If the client working directory differs from your project, append --project and its absolute path to args. Add --version <exact-version> to select component knowledge. These are manual integrations; automatic setup --client still supports only claude, cursor, vscode and codex.

Start through npx ​

Add the MCP server to your client configuration. The following JSON is suitable for Claude Code and Cursor:

json
{
  "mcpServers": {
    "common-ui": {
      "command": "npx",
      "args": [
        "--yes",
        "--package",
        "@94ai-plus/cli",
        "common-ui",
        "mcp",
        "--lang",
        "en-US"
      ]
    }
  }
}

This configuration starts the published @94ai-plus/cli through npx. Save it according to your client’s requirements. The runtime needs Node.js, npm/npx and access to the npm package.

Using a global CLI ​

If the published CLI is installed globally with npm install -g @94ai-plus/cli, use common-ui as the MCP command.

json
{"mcpServers":{"common-ui":{"command":"common-ui","args":["mcp","--lang","en-US"]}}}

Select a library version ​

--version selects the component knowledge version; the CLI tool package version is controlled separately by @<version> after its npm package name. Replace the example with the project’s actual version. Matching knowledge must exist in the bundled snapshot, cache or online version catalog. If none is found, an explicit error is reported without fallback.

json
{
  "mcpServers": {
    "common-ui": {
      "command": "npx",
      "args": [
        "--yes",
        "--package",
        "@94ai-plus/cli",
        "common-ui",
        "mcp",
        "--version",
        "1.0.0-alpha.5",
        "--lang",
        "en-US"
      ]
    }
  }
}

Set up the project ​

Run in the consuming project after installing a published CLI. Supported clients: claude, cursor, vscode, codex; modes: mcp (default), skill, both. Skill mode copies the complete bundled Skill and references without downloading Skills CLI.

sh
npx common-ui setup --client claude --lang en-US
npx common-ui setup --client cursor --mode both --lang en-US
npx common-ui setup --client vscode --write-instructions --lang en-US
npx common-ui setup --client codex --lang en-US
npx common-ui setup --client claude --dry-run --lang en-US
npx common-ui setup --client claude --check --lang en-US

You can also run a published CLI temporarily through npx:

sh
npx --package @94ai-plus/cli common-ui setup --client cursor --mode both --lang en-US
ToolMCPSkill--write-instructions
Claude Code.mcp.json: mcpServers.claude/skills/common-ui/CLAUDE.md
Cursor.cursor/mcp.json: mcpServers.cursor/skills/common-ui/.cursor/rules/common-ui.mdc
VS Code.vscode/mcp.json: servers, stdio.github/skills/common-ui/.github/copilot-instructions.md
Codex.codex/config.toml: [mcp_servers.common-ui].agents/skills/common-ui/AGENTS.md

--project <directory> selects the project; --version <exact-version> selects component knowledge; --lang selects the language. --write-instructions appends a managed instruction block and preserves existing text. MCP configuration pins the current CLI package version and records the absolute project path.

--dry-run previews paths, actions and the proposed MCP server; --check checks file consistency and exits 1 on missing or different content. Both are read-only and make no network requests. Setup preserves unrelated services, JSON comments and TOML text. Identical files are unchanged; conflicting common-ui entries or Skill files must be reconciled manually. Clients still need to load/approve the server; Codex project settings apply only to trusted projects.

OpenAI Codex MCP

setup writes only to the selected project and does not change user-level configuration. Skill mode copies the current CLI’s complete bundled Skill and references.

--write-instructions appends or updates only the marked Common UI instruction block, preserving existing instructions.

Alternative: use LLMs.txt ​

If your AI tool does not support MCP, use our LLMs.txt documentation. We provide:

  • llms.txt — Structured index of all component documentation
  • llms-full.txt — Complete English library documentation, including full examples
  • llms-full-cn.txt — Complete Chinese library documentation, including full examples