x64dbg-mcp: Instructions file for Codex

AGENTS.md

x64dbg-mcp AGENTS.md is an instructions file for Codex, OpenCode from SetsunaYukiOvO/x64dbg-mcp. It costs 1,374 tokens per session, scanned A, original, MIT.

Repository instructions for building and developing x64dbg-mcp, a Windows project that connects the x64dbg debugger to an MCP server. They describe the required tools, build options, output files, and current testing status.

In plain words
What is it for?
Use them to build debug or release versions for 32-bit or 64-bit Windows and to understand that no test suite currently exists.
Why use it?
They tell coding agents which branch, compiler, package manager, and architecture settings to use, reducing setup and build mistakes.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions AGENTS.md; mentions Codex.

This is SetsunaYukiOvO/x64dbg-mcp's own configuration. It tells Codex and OpenCode how to work on x64dbg-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 x64dbg-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to SetsunaYukiOvO/x64dbg-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/SetsunaYukiOvO/x64dbg-mcp/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/SetsunaYukiOvO/x64dbg-mcp

Made for: Codex, OpenCode.

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 x64dbg-mcp AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/setsunayukiovo/x64dbg-mcp/agents-md/github.svg)](https://agentmods.dev/instructions/setsunayukiovo/x64dbg-mcp/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/setsunayukiovo/x64dbg-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/setsunayukiovo/x64dbg-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.

agentmods 80×15 button for x64dbg-mcp AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/setsunayukiovo/x64dbg-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/setsunayukiovo/x64dbg-mcp/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,374 This file is loaded in full into every session.
When invoked 1,374 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.01374 $0.01374
Opus 5.5 $0.00550 $0.00550
Sonnet 5.5 $0.00275 $0.00275
Haiku 4.5 $0.00137 $0.00137

Measured 8d ago against content hash 42d5ceea016d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

x64dbg-mcp AGENTS.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 8d 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.

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.

AGENTS.md · 91 lines

How it starts

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

AGENTS.md

This file provides guidance to Codex (Codex.ai/code) when working with code in this repository.

My Custom Instructions

  • Perform all code changes on the dev branch. Keep main for reviewed integration and release changes; do not develop directly on main.

Build and development commands

Prerequisites

  • Windows 10/11, Visual Studio 2022 (Desktop C++ workload), CMake >= 3.15
  • vcpkg with nlohmann-json available (repo uses vcpkg.json)
  • VCPKG_ROOT environment variable (defaults to C:\vcpkg in build.bat)

Build

  • Both architectures (Release): ./build.bat
  • Clean rebuild: ./build.bat --clean
  • x64 only: ./build.bat --x64-only
  • x86 only: ./build.bat --x86-only
  • Debug: ./build.bat --debug

Outputs go to dist/: x64dbg_mcp.dp64 and x32dbg_mcp.dp32.

Manual CMake (x64 example)

cmake -B build_x64 -G "Visual Studio 17 2022" -A x64 -DCMAKE_TOOLCHAIN_FILE=%VCPKG_ROOT%/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-windows -DXDBG_ARCH=x64
cmake --build build_x64 --config Release -j

For x86, use -A Win32, -DVCPKG_TARGET_TRIPLET=x86-windows, -DXDBG_ARCH=x86.

Tests

CMake builds regression tests with BUILD_TESTS=ON. Run ctest --test-dir build_x64 -C Release --output-on-failure and the equivalent command for build_x86. SDK-backed tests use explicit test replacements; HTTP transport tests use real Winsock sockets.

Architecture overview

x64dbg/x32dbg plugin (C++17, shared library) that exposes debugger capabilities through MCP (Model Context Protocol) over HTTP + SSE, with JSON-RPC 2.0 as the internal execution protocol.

Request flow

MCP client
  → HTTP POST /rpc (or /message, /messages, /)   |  GET /sse for events
  → MCPHttpServer (Winsock, src/communication/)
      handles MCP methods: initialize, tools/list, tools/call, resources/*, prompts/*
  → tools/call: MCPToolRegistry resolves tool → JSON-RPC method name
  → MethodDispatcher routes to handler function
      (PermissionChecker gates write/execute operations)
  → Handler (src/handlers/) → Business layer (src/business/) → x64dbg SDK

Read the full file on GitHub · 91 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. 8d ago Changed · +30 tokens per session 42d5ceea016d
  2. 2mo ago First seen · 91 lines · 1,344 tokens per session scan A 8396047e94ba

Subscribe to this mod's changes

x64dbg-mcp AGENTS.md is an instructions file published in the GitHub repository SetsunaYukiOvO/x64dbg-mcp (554 stars, last pushed 9d ago), licensed MIT. It adds 1,374 tokens to every session, about $0.0055 per session on Opus 5.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

x64dbg-mcp AGENTS.md compared with instructions from other repositories

x64dbg-mcp AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
x64dbg-mcp AGENTS.mdSetsunaYukiOvO/x64dbg-mcpInstructions file5549d agoMITA1,374Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode