Add Vue/Volar LSP plugin

Author: mcande21Created Jan 14, 2026Updated Sep 16, 2026

Request

Add a Vue.js LSP plugin using the Volar language server (@vue/language-server).

Use Case

Vue 3 is a major frontend framework with significant adoption. Having official Vue LSP support would enable:

  • Go-to-definition in .vue files
  • Hover information for components and props
  • Find references across SFC (Single File Components)
  • TypeScript integration in <script lang="ts"> blocks

Proposed Configuration

json
{
  "vue": {
    "command": "vue-language-server",
    "args": ["--stdio"],
    "extensionToLanguage": {
      ".vue": "vue"
    },
    "transport": "stdio",
    "initializationOptions": {
      "typescript": {
        "tsdk": "node_modules/typescript/lib"
      }
    }
  }
}

Prerequisites

bash
npm install -g @vue/language-server

Reference

The community marketplace Piebald-AI/claude-code-lsps already provides this as vue-volar, which could serve as a reference implementation.

Source: anthropics/claude-plugins-official