MCP Server Policy
GHIDRA MCP POLICY
Enforce policies on every tool call to the Ghidra MCP Server. 27 tools listed, categorised, and ready for rules.
GET STARTED
Download this policy scaffold and add your rules. Intercept enforces them on every tool call before it reaches Ghidra.
# Download policy scaffold
curl -o ghidra.yaml https://raw.githubusercontent.com/policylayer/intercept/main/policies/ghidra.yaml
# Run with Intercept
intercept --policy ghidra.yaml -- npx -y @LaurieWired/GhidraMCP Server documentation: https://github.com/LaurieWired/GhidraMCP
READ TOOLS
19WRITE TOOLS
8POLICY YAML
This scaffold lists every tool with empty rules. Add conditions — rate limits, argument validation, deny rules — then deploy with Intercept.
version: "1"
description: "Policy for LaurieWired/GhidraMCP"
default: "allow"
tools:
list_methods:
rules: []
list_classes:
rules: []
list_functions:
rules: []
list_segments:
rules: []
list_imports:
rules: []
list_exports:
rules: []
list_namespaces:
rules: []
list_data_items:
rules: []
list_strings:
rules: []
search_functions_by_name:
rules: []
get_function_by_address:
rules: []
get_current_address:
rules: []
get_current_function:
rules: []
get_xrefs_to:
rules: []
get_xrefs_from:
rules: []
get_function_xrefs:
rules: []
decompile_function:
rules: []
decompile_function_by_address:
rules: []
disassemble_function:
rules: []
rename_function:
rules: []
rename_function_by_address:
rules: []
rename_data:
rules: []
rename_variable:
rules: []
set_decompiler_comment:
rules: []
set_disassembly_comment:
rules: []
set_function_prototype:
rules: []
set_local_variable_type:
rules: [] FREQUENTLY ASKED QUESTIONS
What tools does the Ghidra MCP server expose?
The Ghidra MCP Server exposes 27 tools across 2 categories: Read, Write. Each tool can be individually controlled with Intercept policies.
How do I enforce policies on Ghidra?
Download the policy scaffold, add rules (rate limits, argument validation, deny rules), then run Intercept as a proxy in front of the Ghidra MCP server. Every tool call is evaluated against your YAML policy before execution.
Is the Ghidra policy free to use?
Yes. All Intercept policies are open source under the Apache 2.0 licence. Download, modify, and deploy without restrictions.
ENFORCE POLICIES ON GHIDRA
Open source. One binary. Zero dependencies.