MCPVault

get-diagnostics

MCP tool from Emacs MCP Server by rhblind

Retrieves errors and warnings from flycheck or flymake (auto-detected per buffer) across all project buffers. Results are grouped by file and sorted by severity.

How to use it

get-diagnostics is exposed by the Emacs MCP Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the get-diagnostics tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.

Install Emacs MCP Server

$claude mcp add emacs -- socat - UNIX-CONNECT:$HOME/.config/emacs/.local/cache/emacs-mcp-server.sock # Uses socat directly
FULL EMACS MCP SERVER LISTING