🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@app-cn/mcp

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@app-cn/mcp

Model Context Protocol server for appCN. Lets AI coding agents discover, install, and correctly use appCN React Native components.

latest
Source
npmnpm
Version
0.1.2
Version published
Maintainers
1
Created
Source

@app-cn/mcp

The appCN MCP server — gives AI coding agents (Claude Code, Cursor, Windsurf, Codex, …) first-class access to the appCN React Native component library. Agents can discover components, read their full docs (anatomy, the delight detail, props, usage examples, a11y notes), get the exact install command, and learn appCN's motion/haptic design tokens — so the code they write matches the system instead of guessing.

It reads from the live appCN registry (https://appcn.vercel.app/r), so it always reflects the latest published components — nothing to update on your side.

Install

Claude Code

claude mcp add appcn -- npx -y @app-cn/mcp

Cursor / Windsurf (mcp.json)

{
  "mcpServers": {
    "appcn": {
      "command": "npx",
      "args": ["-y", "@app-cn/mcp"]
    }
  }
}

VS Code (.vscode/mcp.json)

{
  "servers": {
    "appcn": {
      "command": "npx",
      "args": ["-y", "@app-cn/mcp"]
    }
  }
}

Tools

ToolWhat it does
list_componentsList every appCN component (optionally filtered to base or ai), with its one-line delight detail.
search_componentsFind components by intent — e.g. "chat input", "voice indicator".
get_componentFull payload for one component: docs, source files, npm + registry dependencies, and the install command.
get_install_commandThe exact command to add a component (appCN CLI, shadcn URL, or namespaced), per package manager.
get_design_guideappCN's taste layer — motion/haptic tokens and the house rules — so generated code feels like appCN.

Configuration

Env varDefaultPurpose
APPCN_REGISTRY_URLhttps://appcn.vercel.app/rPoint the server at a different (e.g. local) registry.

How it relates to the shadcn MCP

appCN is a standard shadcn-compatible registry, so shadcn's own MCP can install appCN components too (register "@app-cn" in your components.json). What this server adds on top is the appCN-specific knowledge shadcn's generic registry JSON doesn't carry: the delight detail, usage examples, a11y notes, and the motion/haptic design guide — the things that make agent-authored code feel like appCN.

License

MIT

Keywords

react-native

FAQs

Package last updated on 30 May 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts