Skip to main content
Glama

list_functions

Extract and list all function names from a loaded binary using the Ghidra MCP Server, enabling efficient binary analysis and reverse-engineering workflows.

Instructions

List all function names from the loaded binary.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • main.py:67-72 (handler)
    The handler function for the 'list_functions' tool. It returns a list of function names from the loaded Ghidra context if available, otherwise an error message. Registered using the @mcp.tool() decorator.
    @mcp.tool() async def list_functions() -> list[str]: """List all function names from the loaded binary.""" if not ctx_ready: return ["❌ Context not ready. Run `setup_context()` first."] return [f["name"] for f in ctx.get("functions", [])]

Other Tools

Related Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Bamimore-Tomi/ghidra_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server