npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@maz-ui/mcp

v4.3.2

Published

Maz-UI ModelContextProtocol Client

Readme

Maz-UI MCP Server

A Model Context Protocol (MCP) server that provides AI assistants with comprehensive access to the Maz-UI component library documentation. This server enables AI agents to help developers with Vue.js/Nuxt.js component implementation, usage examples, and best practices.

Features

  • 50+ Vue Components - Complete documentation for all Maz-UI components
  • 11 Comprehensive Guides - Installation, theming, dark mode, and framework-specific guides
  • 14 Vue Composables - Reusable composition functions with usage examples
  • 5 Vue Directives - Custom directives for enhanced functionality
  • 4 Vue Plugins - Toast, dialog, AOS animations, and wait overlay plugins
  • 20+ Utility Helpers - Date formatting, currency handling, string manipulation, and more
  • Real-time Search - Smart search across all documentation types
  • TypeScript Support - Full type safety and IntelliSense integration

AI Assistant Configuration

Claude Code

  1. Run the following command:

    claude mcp add maz-ui npx @maz-ui/mcp --scope (project | local | user)
  2. Will add the following to your ~/.mcp.json (for project scope):

    {
      "mcpServers": {
        "maz-ui": {
          "type": "stdio",
          "command": "npx",
          "args": ["@maz-ui/mcp"]
        }
      }
    }
  3. Restart Claude code to apply the new configuration.

Claude Desktop

  1. Open Claude desktop and navigate to Settings.

  2. Under the Developer tab, tap Edit Config to open the configuration file.

  3. Add the following configuration:

    {
      "mcpServers": {
        "maz-ui": {
          "type": "stdio",
          "command": "npx",
          "args": ["@maz-ui/mcp"]
        }
      }
    }
  4. Save the configuration file and restart Claude desktop.

  5. From the new chat screen, you should see a hammer (MCP) icon appear with the new MCP server available.

Cursor IDE

  1. Open Cursor and create a .cursor directory in your project root if it doesn't exist.

  2. Create a .cursor/mcp.json file if it doesn't exist and open it.

  3. Add the following configuration:

    {
      "mcpServers": {
        "maz-ui": {
          "command": "npx",
          "args": ["@maz-ui/mcp"]
        }
      }
    }
  4. Save the configuration file.

  5. Open Cursor and navigate to Settings/MCP. You should see a green active status after the server is successfully connected.

Windsurf

  1. Open Windsurf and navigate to the Cascade assistant.

  2. Tap on the hammer (MCP) icon, then Configure to open the configuration file.

  3. Add the following configuration:

    {
      "mcpServers": {
        "maz-ui": {
          "command": "npx",
          "args": ["@maz-ui/mcp"]
        }
      }
    }
  4. Save the configuration file and reload by tapping Refresh in the Cascade assistant.

  5. You should see a green active status after the server is successfully connected.

Visual Studio Code (Copilot)

  1. Open VS Code and create a .vscode directory in your project root if it doesn't exist.

  2. Create a .vscode/mcp.json file if it doesn't exist and open it.

  3. Add the following configuration:

    {
      "servers": {
        "maz-ui": {
          "command": "npx",
          "args": ["@maz-ui/mcp"]
        }
      }
    }
  4. Save the configuration file.

  5. Open Copilot chat and switch to "Agent" mode. You should see a tool icon that you can tap to confirm the MCP tools are available. Once you begin using the server, you will be prompted to enter your personal access token. Enter the token that you created earlier.

Cline

  1. Open the Cline extension in VS Code and tap the MCP Servers icon.

  2. Tap Configure MCP Servers to open the configuration file.

  3. Add the following configuration:

    {
      "mcpServers": {
        "maz-ui": {
          "command": "npx",
          "args": ["@maz-ui/mcp"]
        }
      }
    }
  4. Save the configuration file. Cline should automatically reload the configuration.

  5. You should see a green active status after the server is successfully connected.

Available Tools

The MCP server provides the following tools that AI assistants can use:

  • get_getting_started - Get the getting started guide
  • list_all_components - Get a complete list of available components
  • list_guides - List all installation and usage guides
  • list_composables - List all Vue composables
  • list_directives - List all Vue directives
  • list_plugins - List all Vue plugins
  • list_helpers - List all utility helpers

Available Resources

The server exposes documentation through MCP resources with the following URI patterns:

Core Resources

  • maz-ui://overview - Complete library overview and introduction
  • maz-ui://component/{ComponentName} - Individual component documentation
    • Examples: maz-ui://component/MazBtn, maz-ui://component/MazInput
  • maz-ui://guide/{guideName} - Setup and usage guides
    • Examples: maz-ui://guide/getting-started, maz-ui://guide/vue, maz-ui://guide/nuxt
  • maz-ui://composable/{composableName} - Vue composable documentation
    • Examples: maz-ui://composable/use-toast, maz-ui://composable/use-dialog
  • maz-ui://directive/{directiveName} - Vue directive documentation
    • Examples: maz-ui://directive/tooltip, maz-ui://directive/click-outside
  • maz-ui://plugin/{pluginName} - Vue plugin documentation
    • Examples: maz-ui://plugin/toast, maz-ui://plugin/dialog
  • maz-ui://helper/{helperName} - Utility helper documentation
    • Examples: maz-ui://helper/currency, maz-ui://helper/date

Development

Server Architecture

The MCP server is built with:

  • TypeScript - Full type safety
  • STDIO Transport - MCP 2025 specification compliance
  • Custom DocumentationService - Combines manual and generated docs

Running Tests

pnpm test:unit

Type Checking

pnpm typecheck

Debugging with MCP Inspector

  1. Install the MCP Inspector:

    npm install -g @modelcontextprotocol/inspector
  2. Start the server:

    pnpm dev
  3. Run the inspector:

     pnpm dev:inspector
  4. Configure

    • Transport Type: STDIO
    • Command: tsx
    • Args: src/mcp.ts

License

This project is licensed under the MIT License - see the main Maz-UI repository for details.

Support