Skip to main content
Glama

run_ida_command_filebased

Execute IDA Pro scripts from files to automate reverse engineering tasks, saving output for analysis.

Instructions

(FOR IDE USAGE) Execute an IDA Pro Script (IdaPython, Version IDA 8.3)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scriptPathYesabsolute Path to the script file to execute
outputPathNoabsolute Path to save the scripts output to

Implementation Reference

  • index.ts:218-235 (registration)
    Registration of the 'run_ida_command_filebased' tool in the ListToolsRequestHandler, including name, description, and input schema definition.
    { name: 'run_ida_command_filebased', description: '(FOR IDE USAGE) Execute an IDA Pro Script (IdaPython, Version IDA 8.3)', inputSchema: { type: 'object', properties: { scriptPath: { type: 'string', description: 'absolute Path to the script file to execute', }, outputPath: { type: 'string', description: 'absolute Path to save the scripts output to', }, }, required: ['scriptPath'], }, },
  • TypeScript interface defining the expected input parameters for the run_ida_command_filebased tool.
    interface RunIdaCommandArgs { scriptPath: string; outputPath?: string; }
  • Core helper function in IDARemoteClient class that executes an IDA Pro script from a given file path by posting to the remote server's /executeByPath endpoint.
    async executeScriptByPath(path: string, logHTTP = false): Promise<ExecuteResponse> { return this.post<ExecuteResponse>('/executeByPath', { path }); }

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/fdrechsler/mcp-server-idapro'

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