Vue Harvest logo

Vue Harvest

Analyzes Vue components, identifies reusable code, extracts components, and produces design tokens for agent-assisted refactoring.

Install Vue Harvest

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "vue-harvest": {
      "command": "npx",
      "args": [
        "-y",
        "vue-harvest"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

npx -y vue-harvest

Process exited before answering initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The vue-harvest MCP server analyzes Vue projects, maps component interfaces and dependencies, identifies coupling, and extracts reusable components. It also scans CSS for design tokens such as colors, typography, spacing, radii, and shadows. MCP tools provide structured analysis for components that need refactoring, including store-bound or otherwise ambiguous cases. Use it when you want an agent to review extraction candidates, suggest decoupling changes, or inspect a Vue design system.

Use cases

  • Analyze a Vue project for reusable components
  • Review components with store or router coupling
  • Extract high-confidence components into standalone bundles
  • Generate decoupling suggestions and composable wrappers
  • Extract and inspect design-system tokens

Key features

  • Vue component interface and dependency analysis
  • Confidence-based component classification
  • Agent-assisted coupling analysis and refactoring
  • Standalone component extraction with manifests
  • CSS design-token extraction
  • MCP resources and guided prompts

Tools12

What Vue Harvest lets your agent do. Expand a tool for its parameters.

Self-reported~162 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

13/13 checks healthy over the last 82d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 12d ago via OSV.dev · vue-harvest (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads26Package downloads in the last 30 days.
Last commit8mo agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Tools exposed12Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Vue Harvest works

What vue-harvest does

The vue-harvest MCP server connects an MCP-compatible client to a Vue project and exposes the project’s component and design-system analysis to an agent. It works with .vue files, parses component interfaces, builds dependency relationships, detects coupling patterns, and assigns each component a confidence score for reuse.

Components above the configured extraction threshold can be extracted into standalone bundles with rewritten imports and peer-dependency manifests. The broader toolset also supports inspection, forced extraction, refactoring suggestions, wrapper generation for store-bound components, and combined rewrite-and-extract operations.

CSS analysis covers colors, font families, font sizes, font weights, spacing, border radii, and shadows. Results can be returned as structured data and include generated CSS variables, JSON token data, and a visual HTML explorer through the project’s analysis workflow.

How it works

The underlying analyzer parses Vue single-file components with @vue/compiler-sfc. It records props, emits, slots, dependencies, styles, and recognized coupling issues. Classification ranges from primitive and composite components to feature, page-bound, and app-specific components. The default extraction threshold is 70%, though the CLI configuration can change it.

The MCP layer is intended for cases that need reasoning rather than automatic extraction. Components in the 30–70% confidence range can be deep-analyzed, prioritized in batches, or reviewed with before-and-after decoupling suggestions. The server also exposes MCP resources for the registry, dependency graph, summary, individual component analyses, and design tokens, along with prompts for project analysis, extraction sessions, refactoring, and design-system work.

Setup and configuration

Install the MCP package globally with npm install -g vue-harvest-mcp. For Claude Desktop, add a server entry whose command is vue-harvest-mcp; Claude Code can register the same command with claude mcp add vue-harvest vue-harvest-mcp.

The vue-harvest MCP server operates on a project path supplied to its tools. Optional project configuration belongs in harvest.config.json. Supported settings include include and exclude patterns, extractionThreshold, outDir, and the registry format. Path aliases are detected from tsconfig.json, including an @ alias mapped to src.

Tools and capabilities

Available MCP tools include:

  • Run the full project pipeline and list components by tier or confidence range.
  • Inspect a component with source code, interface details, dependencies, coupling, and styles.
  • Extract a component, optionally forcing extraction, or analyze and extract after rewriting it.
  • Deep-analyze coupling and generate decoupling suggestions with before-and-after code.
  • Create composable wrappers for components tied to a store.
  • Triage reviewable components with effort estimates and produce project-wide coupling reports.
  • Analyze the design system and filter returned tokens by type.

Limitations and notes

Extraction confidence is an analysis result, not a guarantee that a component needs no human review. Components with direct store access, router or i18n dependencies, global injection, environment references, unscoped CSS, provide/inject chains, implicit global components, or side-effect imports may require changes before reuse.

The server depends on an analysis having been run before its generated resources contain project results. Its documented workflow is focused on Vue projects and the component and CSS structures that the analyzer can parse.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Vue Harvest

vue-harvest is an MCP server that connects an MCP-compatible client to Vue projects for component and design-system analysis. Its main tools analyze projects, list and inspect components, extract reusable code, assess coupling, suggest refactors, generate wrappers, and return design tokens filtered by type.

Install it globally with `npm install -g vue-harvest-mcp`. Then configure your MCP client to run the `vue-harvest-mcp` command.

Yes, vue-harvest works with Claude Desktop through a stdio configuration that runs the `vue-harvest-mcp` command. Add a `vue-harvest` entry to Claude Desktop’s MCP configuration file, then provide a Vue project path when using the tools.

Yes, it can analyze store-coupled components, suggest decoupling changes, generate composable wrappers, and perform a rewrite-and-extract operation. Direct Pinia or Vuex access is reported as a coupling issue, so extracted results may still require review.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewVue Harvest AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/vue-harvest?style=directory)](https://allmcps.com/mcp/vue-harvest)
HTML Embed
<a href="https://allmcps.com/mcp/vue-harvest"><img src="https://allmcps.com/api/badge/vue-harvest?style=directory" alt="Vue Harvest on AllMCPs" /></a>