FastMCP server for Hopper disassembler integration. Provides tools for analyzing binary files, disassembling procedures, and managing documents.
HopperPyMCP provides 12 read-only binary analysis tools with reasonable naming following verb_noun conventions (analyze_binary, disassemble_procedure, get_segment_strings, etc.). However, there are critical gaps in parameter schema documentation and output schemas are completely undocumented. Descriptions are present but generic (10-95 chars), lacking depth on when to use each tool or what it returns. Parameters have types but lack descriptions in most cases. No input validation guidance, error handling is absent, and the tool compositions reveal missing context-chaining fields. The server is STDIO-only, which is a hard transport limitation.
Analyze a binary file and retrieve its metadata including entry point, architecture, and segment information
Create and cache string data for all segments in the current document for faster future access
Disassemble a specific procedure at a given address and return the assembly instructions
Get all cross-references (calls, jumps, data references) to or from a specific address
Get information about the currently open Hopper document
Get the disassembled instruction at a specific address
Get comprehensive information about a procedure including entry point, basic blocks, and local variables
Output schemas completely undocumented. No tool documents what fields it returns (e.g., analyze_binary should return entry_point, architecture, segments, but this is invisible to LLMs). Without documented return types, agents cannot plan downstream tool calls or extract needed data.
Parameter descriptions are missing or trivial (e.g., read_memory's 'address' has type string but no guidance on format, constraints, or examples like '0x1000'). Parameter names alone are insufficient, LLMs cannot infer valid formats without explicit descriptions.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 40 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 22 | - | v1 |
Get the name of a procedure at a given address with fallback to address format if no name is found
Get detailed information about a specific segment including its sections, permissions, and metadata
Extract and retrieve all strings from a specific segment of the binary
Read binary data from a specific address range
Search for strings matching a pattern across all segments in the current document
Tool descriptions are generic and too brief (30 - 50 chars on average). They state WHAT but not WHEN to use each tool or how it differs from similar tools. E.g., get_procedure_name vs get_procedure_info both fetch procedure details but the distinction is not explained. LLMs cannot select the right tool when descriptions lack context.
No error handling or recovery guidance. Code uses exception handling internally but tools provide no error responses documenting what went wrong or how to recover. An LLM hitting 'address not found' has no guidance on next steps.
Tools lack context-chaining references. analyze_binary should return segment_id/address so follow-up tools (disassemble_procedure, get_segment_strings) can chain. Without explicit output fields, agents must infer or re-discover segment identifiers, forcing extra lookups.
Parameter naming inconsistency and ambiguity. Multiple tools accept 'address' as a hex string, but format is only hinted in tool description (e.g., '0x1000'), not in parameter descriptions. Hex vs decimal ambiguity invites LLM errors. Parameter should clarify 'Hex address (e.g., 0x1000)' inline.
No pagination or result limits documented. Tools like get_segment_strings, search_strings, and get_cross_references may return large result sets, but no limit parameter or pagination guidance is visible. Unbounded results risk context window exhaustion.
search_strings 'regex_mode' parameter has no guidance on supported regex dialect (PCRE, Python re, etc.) or escaping rules. LLMs will pass raw patterns without knowing compatibility constraints, leading to silent failures or regex errors.
create_string_cache has no documented return value. Is it void? Does it return cache metadata (count, segments cached, file path)? LLMs cannot plan subsequent calls without knowing the output.
STDIO transport only, hard transport limitation. Server is not remotely accessible and cannot be used by hosted MCP clients. This caps protocol readiness at 50 regardless of other qualities.