varmory
v1.0.9
Published
Component showcase for Vue 3 + Quasar apps with a built-in MCP (Model Context Protocol) server. Drop in an interactive browser for Quasar and custom components, auto-loaded docs, and searchable API definitions — and expose the same metadata to AI agents l
Readme
varmory
Component showcase for Vue 3 + Quasar apps, with a Model Context Protocol server so AI agents can read your components and docs.
Drop in an interactive browser for the Quasar components you use and any custom ones you build, and expose the same metadata to tools like Claude via MCP — no extra glue needed.
See themed_varmory for a reference example of using varmory as a base to build your own themed component library — swappable themes, a theme store, custom components, and an MCP server with an extended set of components and API definitions.
Installation
npm install varmoryPeer dependencies:
npm install vue@^3 quasar@^2 @quasar/extras@^1Setup
Quasar components are registered by @quasar/vite-plugin in your Vite config:
// vite.config.js
import vue from '@vitejs/plugin-vue';
import { quasar, transformAssetUrls } from '@quasar/vite-plugin';
export default {
plugins: [
vue({ template: { transformAssetUrls } }),
quasar({ autoImportComponentCase: 'pascal' }),
],
};In your app's entry file, attach Quasar to the Vue app before Varmory, then install Varmory as a Vue plugin. Varmory registers JComponentShowcase + JComponentShowcaseWithContent globally and throws if Quasar isn't already installed.
// main.js
import { createApp } from 'vue';
import { Quasar, Notify, Dialog, LocalStorage, SessionStorage } from 'quasar';
import { Varmory } from 'varmory';
import 'quasar/dist/quasar.css';
import '@quasar/extras/material-icons/material-icons.css';
import App from './App.vue';
createApp(App)
.use(Quasar, { plugins: { Notify, Dialog, LocalStorage, SessionStorage } })
.use(Varmory)
.mount('#app');See USAGE.md for the rest of the setup details.
Docs
- Usage — setting up a fresh app, Vite config, Quasar plugin wiring
- Building Components — API style, layout patterns, component composition
- Showcase — interactive browser, adding categories, custom docs, navigation
- MCP Server — expose showcase + docs + component APIs to AI agents via MCP
