@slb-group/slb-vant-cli

CLI for Vant - query component knowledge, docs and demos
617
Install
npm install @slb-group/slb-vant-cli
Latest Version:1.1.1
License:MIT
Last Updated:Oct 7, 2026
Links: npm
Maintainer: super-sunstreaker

Vant CLI

CLI for Vant - query component knowledge, docs, and demos.

Install

npm install -g @slb-group/slb-vant-cli

Usage

slb-vant-cli list                # list all components
slb-vant-cli info button         # get Button props, events, slots
slb-vant-cli doc button          # read Button markdown docs
slb-vant-cli demo button         # get Button code examples
slb-vant-cli mcp                 # start MCP server for IDE integration

MCP Server

Add to your IDE's MCP config:

{
  "mcpServers": {
    "slb-vant": {
      "command": "npx",
      "args": ["-y", "@slb-group/slb-vant-cli", "mcp"]
    }
  }
}

Tools exposed:

Tool Description
vant_list List all Vant components
vant_info Get component props, events, and slots
vant_doc Read full markdown documentation
vant_demo Get demo code examples

The published package bundles the Vant docs/demos inside data/vant, so the CLI and MCP server work fully offline — no vant checkout or network access is needed at runtime. To use a different vant checkout instead, pass --project <dir> or set the VANT_PROJECT_DIR environment variable.

Development

npm install
npm run build
npm start -- list

License

MIT

Related Packages

@vuetify/mcp-cli

Vuetify MCP CLI

422 9
vue-cli-plugin-vant

vue-cli 3 plugin to add vant

1,973
@lingshugroup/ls-web-cli

CLI for LS Components Plus - query component knowledge and demos

439
@vant/cli

Vant CLI is a tool for building vue component library. You can quickly build a f...

30,230 24,395
@wot-ui/cli

面向 wot-ui 的 CLI、MCP 与数据提取工具集

5,482 38

Version History

Version Released License
1.1.1 MIT
1.1.0 MIT
1.0.2 MIT