Skip to content

VS Code (Copilot)

Connect Vue Docs MCP to VS Code with GitHub Copilot.

Setup

Add to your VS Code MCP config file (.vscode/mcp.json). See VS Code MCP docs for more info.

json
{
  "servers": {
    "vue-docs": {
      "type": "http",
      "url": "https://mcp.vue-mcp.org/mcp"
    }
  }
}

TIP

VS Code uses servers (not mcpServers) and requires a type field.

Verify

After saving, open the Copilot Chat panel. The Vue Docs tools should appear in the available tools list.

Usage

Ask Copilot about Vue in the chat panel:

  • "How does computed caching work in Vue 3?"
  • "Show me the defineEmits API"
  • "Help me set up provide/inject"

Copilot Coding Agent

For the Copilot Coding Agent, add to your repository settings under Settings > Copilot > Coding agent > MCP configuration:

json
{
  "mcpServers": {
    "vue-docs": {
      "type": "http",
      "url": "https://mcp.vue-mcp.org/mcp"
    }
  }
}

Visual Studio 2022

For Visual Studio 2022:

json
{
  "servers": {
    "vue-docs": {
      "type": "http",
      "url": "https://mcp.vue-mcp.org/mcp"
    }
  }
}

Self-Hosted Server

For a self-hosted instance:

json
{
  "servers": {
    "vue-docs": {
      "type": "stdio",
      "command": "uv",
      "args": ["run", "--directory", "/path/to/vue-mcp", "vue-docs-server"]
    }
  }
}