Borrowing it
Nothing to install: this file belongs to n24q02m/better-godot-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.
curl -O https://raw.githubusercontent.com/n24q02m/better-godot-mcp/main/AGENTS.mdgit clone --depth 1 https://github.com/n24q02m/better-godot-mcpWrote 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.
[](https://agentmods.dev/instructions/n24q02m/better-godot-mcp/agents-md)<a href="https://agentmods.dev/instructions/n24q02m/better-godot-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/n24q02m/better-godot-mcp/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/n24q02m/better-godot-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/n24q02m/better-godot-mcp/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.01043 | $0.01043 |
| Opus 5.5 | $0.00417 | $0.00417 |
| Sonnet 5.5 | $0.00209 | $0.00209 |
| Haiku 4.5 | $0.00104 | $0.00104 |
Grade A, and why
better-godot-mcp AGENTS.md scanned grade A with 1 finding 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 2mo ago.
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.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
import { execSync } from 'node:child_process' How it starts
The opening of the file, as written. The whole thing — 120 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md - better-godot-mcp
Composite MCP Server for Godot Engine. TypeScript, Node.js >= 24, bun, ESM.
Build / Lint / Test Commands
bun install # Install dependencies
bun run build # tsc --build && esbuild CLI bundle
bun run check # Biome check + tsc --noEmit (CI command)
bun run check:fix # Auto-fix Biome issues
bun run test # vitest run (all tests)
bun run test:watch # vitest in watch mode
bun run dev # tsx watch dev server
# Run a single test file
bun x vitest run tests/helpers/errors.test.ts
# Run a single test by name
bun x vitest run -t "test name pattern"
# Mise shortcuts
mise run setup # Full dev environment setup
mise run lint # bun run check
mise run test # bun run test (vitest)
mise run fix # bun run check:fix
Code Style
Formatting (Biome)
- Indent: 2 spaces
- Line width: 120
- Quotes: Single quotes
- Semicolons: As needed (omit when possible)
- Trailing commas: All (JS/TS), None (JSON)
- Arrow parens: Always
(x) => ... - Line endings: LF
Imports
- Node.js builtins with
node:prefix (import { join } from 'node:path') - External packages (
@modelcontextprotocol/sdk,zod) - Internal modules (relative paths
./,../) - Use
import typefor type-only imports (enforced byverbatimModuleSyntax) - Always use
.jsextension in import paths (ESM/NodeNext requirement)
import { execSync } from 'node:child_process'
import { Server } from '@modelcontextprotocol/sdk/server/index.js'
import type { GodotConfig } from './godot/types.js'
import { registerTools } from './tools/registry.js'
TypeScript
strict: true,verbatimModuleSyntax: true,isolatedModules: true- Target: ES2024, Module: NodeNext
- Schema validation: Zod v4
Naming Conventions
| Element | Convention | Example |
|---|---|---|
| Functions/variables | camelCase | detectGodot(), envPath |
| Module constants | UPPER_SNAKE_CASE | SERVER_NAME, DEFAULT_TIMEOUT_MS |
| Interfaces/Types | PascalCase | GodotConfig, DetectionResult |
| Classes | PascalCase | GodotMCPError |
| Files/directories | kebab-case | scene-parser.ts, composite/ |
| Tool names/params | snake_case | input_map, project_path |
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.
- 2mo ago First seen · 120 lines · 1,043 tokens per session scan A 765ef24f58b4
better-godot-mcp AGENTS.md is an instructions file published in the GitHub repository n24q02m/better-godot-mcp (36 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 1,043 tokens to every session, about $0.0042 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
better-godot-mcp AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| better-godot-mcp AGENTS.mdn24q02m/better-godot-mcp | Instructions file | 36 | 1mo ago | Apache-2.0 | A | 1,043 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |