mix mishka.mcp.server (Mishka Chelekom v0.0.9-alpha.20)

Copy Markdown View Source

Starts the Mishka Chelekom MCP Server.

The server provides an MCP (Model Context Protocol) interface for AI tools like Claude Code, Cursor, and Claude Desktop to interact with the Mishka Chelekom component library.

Usage

mix mishka.mcp.server

Options

  • --port or -p - HTTP port to listen on (default: 4003)

Connecting AI Tools

Once the server is running, connect your AI tools:

Claude Code

claude mcp add --transport http mishka-chelekom http://localhost:4003/mcp

Cursor / VSCode

Create .mcp.json in your project root:

{
  "mcpServers": {
    "mishka-chelekom": {
      "type": "http",
      "url": "http://localhost:4003/mcp"
    }
  }
}

Available Tools (11)

  • generate_component - Generate mix command for a single component
  • generate_components - Generate mix command for multiple components
  • get_component_info - Get component configuration options (variants, colors, sizes)
  • get_example - Get HEEx code examples with usage patterns
  • get_js_hook_info - Get JavaScript hook documentation
  • get_mix_task_info - Get mix task documentation
  • search_components - Search components by name or functionality
  • uninstall_component - Generate uninstall command
  • update_config - Update project configuration settings
  • validate_config - Validate configuration file for errors
  • get_docs - Fetch documentation from mishka.tools

Available Resources (9)

  • list_components - List all available components with categories
  • list_colors - List color variants with CSS variables
  • list_variants - List style variants (default, outline, shadow, etc.)
  • list_sizes - List size options (small, medium, large, etc.)
  • list_spaces - List spacing options
  • list_scripts - List JavaScript hooks (Carousel, Clipboard, etc.)
  • list_dependencies - List component dependencies
  • list_css_variables - List all CSS custom properties
  • get_config - Get current project configuration