Skip to main content
Glama

010editor-mcp

MCP server for SweetScape 010 Editor.

There is no plugin API

SweetScape KB1015:

At this time there is no API available for integration of 010 Editor with other programs.

This MCP does not load a DLL into 010. It automates what does exist:

Layer

Mechanism

Docs

CLI

-template:, -script:, -replace:, -compare:, -goto:, -select:, -save:, -noui, -exitnoerrors, …

CommandLine.htm

Script bridge

Ephemeral .1sc + result files (ExportCSV, ExportXML, FileSave, FPrintf, FindAll, RunTemplate, …)

FuncInterface · FuncIO · FuncTools

Python fallbacks

hashlib checksums, byte extract, simple find — when headless 010 is a poor fit

—

Reverse DLL

Scripts/Templates #link out to your DLL (010 → you)

ScriptDLL

Resource: 010editor://capabilities

Related MCP server: 010 Editor MCP Bridge

Tools

Tool

Backend

editor_status

Locate install (plugin_api: false)

run_template

010 CLI — validate .bt

run_template_export

Script bridge — RunTemplate + ExportCSV/ExportXML

run_script / run_script_source

010 CLI / ephemeral .1sc

checksum_file

Python hashlib (MD5/SHA*)

find_in_file

Python scan (default) or 010 FindAll (engine=010)

extract_range

Python slice (FileSaveRange hangs under -noui)

replace_in_file

CLI -replace:

compare_files

CLI -compare:

open_in_gui

Non-blocking UI launch

run_raw_cli

Arbitrary argv escape hatch

Headless pitfalls (learned the hard way)

  1. No adjacent C string literals in .bt / .1sc — keep SPrintf formats as one string.

  2. Printf ≠ stdout under -noui — write FileSave / ExportCSV / FPrintf artifacts.

  3. Windows paths in scripts must use doubled backslashes ("D:\\temp\\a.txt"). Forward slashes can make FileSave return success without creating the file.

  4. FileOpen() from a script can hang under -noui. Prefer opening the data file on the CLI. Stage as *.bin (hardlink/copy) to avoid Template auto-run on extensions like .djf.

  5. ExpandAll + huge uchar data[N] can hang / explode — run_template_export defaults expand_all=false.

  6. FileSaveRange hangs under -noui on tested builds — extract via Python.

  7. 010 is single-instance — hung CLI processes block later runs. This server kills the child on timeout.

  8. Large-file opens under -noui have been observed to hang on some installs; prefer Python tools or open_in_gui for multi‑MB blobs when headless stalls.

Install

git clone https://github.com/b1tninja/010editor-mcp.git
cd 010editor-mcp
uv sync

Cursor mcp.json

{
  "mcpServers": {
    "010editor": {
      "command": "uv",
      "args": ["--directory", "D:/code/010editor-mcp", "run", "010editor-mcp"],
      "env": {
        "EDITOR010_EXE": "C:\\Program Files\\010 Editor\\010Editor.exe"
      }
    }
  }
}

License

MIT — see LICENSE. 010 Editor is commercial software from SweetScape; you need your own license.

Available Tools

3 tools
editor_statusEditor StatusA

Report whether 010 Editor is installed and which binary would be used.

Override discovery with env EDITOR010_EXE (full path to 010Editor.exe / 010editor). Also accepts ZERO10_EXE or 010EDITOR_EXE.

Inputs: no named parameters. Returns: object

run_scriptRun ScriptB

Run a 010 Editor Script (.1sc), optionally on a data file.

Uses: 010editor [data] -script:.1sc -noui -nowarnings -<exit_mode> Cwd is the script's parent directory.

Scripts can call RunTemplate("foo.bt") and Exit(n) for custom codes.

Inputs: script_file (required), data_file, exit_mode, script_args, +1 more. Returns: object

run_templateRun TemplateB

Run a Binary Template (.bt) on a data file via 010 Editor CLI.

Uses: 010editor -template:.bt -noui -nowarnings -<exit_mode> Working directory is the template's parent folder so -template: resolves.

Inputs: data_file (required), template_file (required), exit_mode, timeout_sec, +1 more. Returns: object

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 3 tools

    Disambiguation5/5

    The three tools have clearly distinct purposes: checking editor availability, running a Binary Template, and running a 010 Editor Script. There is no meaningful overlap between status reporting and execution.

    Naming Consistency4/5

    Names are consistently snake_case and mostly follow verb_noun (run_template, run_script). editor_status is a noun phrase rather than a verb, a minor deviation but still clear and predictable.

    Tool Count5/5

    Three tools is well-scoped for a focused CLI wrapper around 010 Editor. Each tool earns its place and there is no redundancy.

    Completeness4/5

    The surface covers the core lifecycle: verify installation, run templates, and run scripts. Minor gaps exist around discovering available templates/scripts or structured output handling, but agents can work around these via paths and script exit codes.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      C
      quality
      C
      maintenance
      Provides AI agents with full headless access to Binary Ninja's reverse engineering capabilities, including disassembly, IL, patching, types, xrefs, and scripting, without a GUI.
      181
      263
      GPL 2.0
    • A
      license
      B
      quality
      C
      maintenance
      Enables agents to perform bounded binary-file inspection, hashing, search, and diffing within configured roots, and to preview and apply expected-byte-validated patches that produce new output copies while preserving originals. It also reads a user's existing GUI session—active buffer context, selections, and unsaved in-memory bytes—through trusted templates, with mutations to live buffers explicitly disabled.
      14
      2
      MIT
    • F
      license
      Not graded
      quality
      A
      maintenance
      Enables AI assistants to remotely execute scripts and query binary metadata and analysis results—strings, imports, exports, functions, disassembly, and searches—for reverse engineering and binary analysis tasks.
      -