ue-mcp: Instructions file for Claude Code

CLAUDE.md

ue-mcp CLAUDE.md is an instructions file for Claude Code from db-lyon/ue-mcp. It costs 4,463 tokens per session, scanned A, original, MIT.

A set of repository instructions for db-lyon/ue-mcp, a project that connects coding agents with Unreal Engine. It explains the server, Unreal plugin, test project, documentation, editing boundaries, development workflow, and Git rules.

In plain words
What is it for?
Use it when developing the TypeScript server or Unreal plugin, deploying and testing changes, updating documentation, following repository conventions, and preparing releases.
Why use it?
It gives agents a shared map of the repository and prevents common mistakes such as editing generated copies or testing against the wrong Unreal project.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions Claude Code.

This is db-lyon/ue-mcp's own configuration. It tells Claude Code how to work on ue-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ue-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to db-lyon/ue-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/db-lyon/ue-mcp/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/db-lyon/ue-mcp

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ue-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/db-lyon/ue-mcp/claude-md.svg)](https://agentmods.dev/instructions/db-lyon/ue-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/db-lyon/ue-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/db-lyon/ue-mcp/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 4,463 This file is loaded in full into every session.
When invoked 4,463 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.04463 $0.04463
Opus 5 $0.02232 $0.02232
Sonnet 5 $0.00893 $0.00893
Haiku 4.5 $0.00446 $0.00446

Measured today against content hash 78174dc7b146, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

ue-mcp CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md · 196 lines

How it starts

The opening of the file, as written. The whole thing — 196 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md

Operating guide for Claude Code (and any AI agent) working in this repo. Shared team knowledge - checked into the repo so every contributor gets the same rulebook.

Repo at a glance

  • TS server (src/) - the MCP server. Wraps the UE bridge over WebSocket, exposes 24 category tools with 1090+ actions. The numbers between those markers are stamped by scripts/generate-tool-metadata.ts from ALL_TOOLS; do not hand-edit them, and do not remove the markers, because a hand-written count here is the first thing every agent reads and the last thing anyone remembers to update.
  • C++ plugin (plugin/ue_mcp_bridge/) - the editor-side bridge. Lives in Private/Handlers/*.cpp, registers actions with FMCPHandlerRegistry.
  • Test project (tests/ue_mcp/) - the dedicated UE project used for smoke testing. The plugin is deployed here from plugin/ via the deployer. This is the only safe target for live tests.
  • Docs (docs/) - MkDocs site. docs/release-notes-X.Y.Z.md is the canonical release body.

Edit only under plugin/ue_mcp_bridge/. The deployer syncs to tests/ue_mcp/Plugins/UE_MCP_Bridge/ - never hand-copy.

Development workflow

Git and commits

  • Atomic commits per logical change. One fix or feature per commit with a clear message explaining the why. Don't batch unrelated changes.
  • No batching "housekeeping" commits that sweep up everything at once. If you wrote five fixes, write five commits.
  • Claude owns git. Stage, commit, push when ready. Don't push the user into running git commands.
Squash or merge commit

The merge style follows the commit count, and writing five commits only to squash them back into one throws the work away.

  • One logical change in the PR: squash-merge. gh pr merge <n> --squash --delete-branch. Review fixups and typo passes are noise on main.
  • Several independently meaningful commits: merge commit. gh pr merge <n> --merge. Each fix keeps its own SHA, which is what issue comments cite when they say which commit closed the issue. Squashing seven fixes leaves seven issues pointing at one SHA whose message describes something else.
  • Never rewrite a SHA that has already been cited in an issue, a release note, or a comment. The citation is a promise that the commit exists.

Read the full file on GitHub · 196 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed · +7 lines · +233 tokens per session 78174dc7b146
  2. 7d ago First seen · 189 lines · 4,230 tokens per session scan A 602d92b1b664

Subscribe to this mod's changes

ue-mcp CLAUDE.md is an instructions file published in the GitHub repository db-lyon/ue-mcp (306 stars, last pushed yesterday), licensed MIT. It adds 4,463 tokens to every session, about $0.0223 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,182 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens