bearnie

MCP Server

Let your AI assistant add components for you.

The Bearnie MCP server connects your AI assistant directly to the component registry. Ask for components in plain language and they get added to your project automatically.

Model Context Protocol is an open standard supported by Claude, Cursor, VS Code, and other AI tools.

Setup

Add to .cursor/mcp.json in your project:

{ "mcpServers": { "bearnie": { "command": "npx", "args": ["@bearnie/mcp"] } } }
{
  "mcpServers": {
    "bearnie": {
      "command": "npx",
      "args": ["@bearnie/mcp"]
    }
  }
}
  • Restart Cursor to load the server
  • Ask: "Add the dialog and button components from Bearnie"

What your AI can do

ToolWhat it does
list_componentsShow all available components by category
search_componentsFind components by name or description
get_componentView source code and dependencies
add_componentAdd component files to your project

Components go to src/components/bearnie/, utilities to src/utils/. If a component needs an npm package, you’ll be told what to install.

Example prompts

  • “What form components does Bearnie have?”
  • “Add the tabs and accordion components”
  • “Show me how the dialog component works”
  • “Build a settings page with cards and switches”

Environment

VariableDefault
BEARNIE_REGISTRY_URLhttps://bearnie.dev/registry