MCP Diagnostics Extension MCP Server

A VS Code extension that exposes diagnostic information via Model Context Protocol (MCP) for AI agents

Local serverstdioTypeScript

What is the MCP Diagnostics Extension MCP Server?

A VS Code extension that exposes diagnostic information via Model Context Protocol (MCP) for AI agents

What the server does

The MCP Diagnostics Extension bridges VS Code's powerful diagnostic system with the Model Context Protocol, enabling AI agents to access your code problems in real-time. Whether you're debugging TypeScript errors, ESLint warnings, or custom linter issues, this extension makes all diagnostic information instantly available to your AI tools.

  • 🤖 AI-First Development — Modern development increasingly relies on AI assistance. This extension ensures your AI tools have complete visibility into your codebase health
  • ⚡ Real-time Integration — No more manually copying error messages or explaining problems to AI tools - they see everything instantly
  • 🔧 Universal Diagnostics — Works with any VS Code diagnostic provider (TypeScript, ESLint, custom linters, etc.)
  • 📊 Enhanced Productivity — AI agents can provide more contextual help when they understand your current problems

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
getProblemsGet all diagnostics with filtering
getProblemsForFileGet problems for specific files
getWorkspaceSummaryGet workspace-wide statistics

How to install the MCP Diagnostics Extension MCP Server

{
  "mcpServers": {
    "vscode-diagnostics": {
      "command": "node",
      "args": [
        "scripts/mcp-server.js"
      ],
      "cwd": "/path/to/mcp-diagnostics-extension",
      "env": {
        "NODE_ENV": "production",
        "MCP_DEBUG": "false"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
NODE_ENVDeclared in the maintainer’s client configuration.Check documentation
MCP_DEBUGDeclared in the maintainer’s client configuration.Check documentation

Example prompts to try

  • “Use MCP Diagnostics Extension to getProblems.”
  • “Use MCP Diagnostics Extension to getProblemsForFile.”
  • “Use MCP Diagnostics Extension to getWorkspaceSummary.”

Frequently asked questions

A VS Code extension that exposes diagnostic information via Model Context Protocol (MCP) for AI agents Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.