Skip to main content

MCP server for parsing UEFN Verse build diagnostics from UnrealEditorFortnite logs

Project description

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?)

Quick Start

Claude Code (uvx — recommended)

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

verse_diagnostics_mcp-0.1.0.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

verse_diagnostics_mcp-0.1.0-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file verse_diagnostics_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: verse_diagnostics_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for verse_diagnostics_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b44fa3555b671fedf7ecc44396968c3e64222b9988e6f98fd231e971684fe707
MD5 443804ef36f2893284131be88d4ed651
BLAKE2b-256 a4683a0572781950c26be4b77851af1c6d0170cc6ea73da7fd196739a89821cc

See more details on using hashes here.

File details

Details for the file verse_diagnostics_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: verse_diagnostics_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for verse_diagnostics_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 39746c1d16a0a826e88ded29c6174e5e33612809b81b4c78db6a8139192b8670
MD5 c24b3fa014f60c33aafbdf11c070874c
BLAKE2b-256 c7a11d378d6569a428afc35d7aab0681b44403340e0ab3790c95210ce24eb845

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page