Skip to main content
Glama
verse-diagnostics-mcp

verse-diagnostics-mcp

by berry-13

verse-diagnostics-mcp

MCP server that parses UEFN Verse build diagnostics from UnrealEditorFortnite.log and exposes structured error data to Claude Code, Cursor, VS Code, or any MCP client.

Tools

Tool

Description

get_verse_diagnostics

Parse Verse compile errors/warnings → structured JSON with file, line, column, code, message

get_latest_build_session

Get raw VerseBuild log lines from the most recent compile

check_verse_log_freshness

Check if the UEFN log was recently modified (build just ran?)

Related MCP server: TracePulse

Quick Start

claude mcp add-json verse-diagnostics '{
  "type": "stdio",
  "command": "uvx",
  "args": ["verse-diagnostics-mcp"],
  "env": {
    "UEFN_LOG_PATH": "/mnt/c/Users/YOUR_USER/AppData/Local/UnrealEditorFortnite/Saved/Logs/UnrealEditorFortnite.log",
    "VERSE_PROJECT_ROOT": "C:/Users/YOUR_USER/Documents/Fortnite Projects"
  }
}' --scope user

Claude Desktop / Cursor / VS Code

Add to your MCP config (claude_desktop_config.json, .cursor/mcp.json, etc.):

{
  "mcpServers": {
    "verse-diagnostics": {
      "command": "uvx",
      "args": ["verse-diagnostics-mcp"],
      "env": {
        "UEFN_LOG_PATH": "C:\\Users\\YOUR_USER\\AppData\\Local\\UnrealEditorFortnite\\Saved\\Logs\\UnrealEditorFortnite.log",
        "VERSE_PROJECT_ROOT": "C:\\Users\\YOUR_USER\\Documents\\Fortnite Projects"
      }
    }
  }
}

pip install

pip install verse-diagnostics-mcp
verse-diagnostics-mcp

Environment Variables

Variable

Default

Description

UEFN_LOG_PATH

Auto-detected (WSL/Windows)

Path to UnrealEditorFortnite.log

VERSE_PROJECT_ROOT

Auto-detected

Fortnite Projects directory (for relative paths in output)

Example Output

{
  "ok": false,
  "source": "uefn-log",
  "error_count": 3,
  "warning_count": 0,
  "diagnostics": [
    {
      "file": "Berry/Content/hello_world_device.verse",
      "line": 25,
      "column": 17,
      "endLine": 25,
      "endColumn": 31,
      "severity": "error",
      "code": "VRS3506",
      "message": "Unknown identifier `switch_manager`",
      "timestamp": "2026-03-07T11:46:52+00:00"
    }
  ]
}

How It Works

The server reads UEFN's UnrealEditorFortnite.log and parses VerseBuild: lines using regex. It extracts file paths, line/column ranges, error codes, and messages, deduplicates them (UEFN sometimes logs the same error twice with slightly different formatting), and returns structured JSON.

This is a read-only log parser — it cannot trigger builds. The user must compile from UEFN or VS Code (verseWorkflow.compile), then this server reads the results.

CLAUDE.md Integration

Add this to your UEFN project's CLAUDE.md:

## Verse diagnostics workflow
- After modifying any `.verse` file, use `get_verse_diagnostics` to check for errors.
- If diagnostics include errors, fix them and recheck until `"ok": true`.
- If an API is unfamiliar, verify against official Verse documentation before using it.
- Success = `"ok": true` in diagnostics output.

License

MIT

Available Tools

3 tools
check_verse_log_freshnessA
Read-onlyIdempotent

Check when the UEFN log was last modified.

Useful for determining if a build has completed since the last check.

Returns: str: JSON with log_path, exists, modified_at, age_seconds

Inputs: params (required). Returns: result

get_latest_build_sessionB
Read-onlyIdempotent

Get all VerseBuild log lines from the most recent build session.

Returns the raw VerseBuild output lines (both errors and info) from the latest compile session, useful for understanding the full build context.

Returns: str: JSON with fields: - lines (list[str]): Raw VerseBuild log lines - count (int): Number of lines found - log_exists (bool): Whether the log file was found

Inputs: params (required). Returns: result

get_verse_diagnosticsA
Read-onlyIdempotent

Get the latest Verse compile diagnostics from UEFN logs.

Parses the UnrealEditorFortnite.log file for VerseBuild errors and warnings, deduplicates them, and returns structured JSON with file paths, line/column locations, error codes, and messages.

Returns: str: JSON object with fields: - ok (bool): True if no errors found - source (str): Always "uefn-log" - error_count (int): Number of errors - warning_count (int): Number of warnings - diagnostics (list): Array of diagnostic objects with: - file, line, column, endLine, endColumn, severity, code, message, timestamp, raw - log_path (str): Path to the log file read - log_exists (bool): Whether the log file was found

Inputs: params (required). Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a unique purpose: checking log freshness, retrieving raw build output, and getting structured diagnostics. There is no overlap or ambiguity.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern with snake_case: check_verse_log_freshness, get_latest_build_session, get_verse_diagnostics.

    Tool Count4/5

    3 tools is appropriate for a focused diagnostics server, though slightly minimal. Each tool serves a clear need without redundancy.

    Completeness5/5

    The tool set covers the full workflow: checking log freshness, retrieving raw build lines, and parsing structured diagnostics. No obvious gaps for the stated purpose.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      F
      maintenance
      Provides build diagnostics and editor log tools for Unreal Engine AI development, enabling Live Coding builds, parsing compile errors, searching/filtering logs, and crash context.
      11
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Runtime feedback MCP server for AI coding agents. It watches dev server logs, parses errors, and exposes them as MCP tools so AI agents can instantly verify code changes.
      96 npm
      3
      AGPL 3.0
    • F
      license
      Not graded
      quality
      B
      maintenance
      Enables AI coding agents to inspect and work with Unreal Engine projects by parsing C++ symbols, Blueprints, and .uasset data over MCP, supporting tasks like symbol tracing, asset search, and code generation.
      -