Skip to main content
Glama

run_ida_command_filebased

Execute IDA Pro scripts (IdaPython for IDA 8.3) to perform reverse engineering and binary analysis tasks, saving output to a specified path.

Instructions

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

Input Schema

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

Implementation Reference

  • index.ts:218-235 (registration)
    Registration of the 'run_ida_command_filebased' tool in the ListToolsRequestHandler, defining its name, description, and input schema.
    { 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 arguments for the 'run_ida_command_filebased' tool.
    interface RunIdaCommandArgs { scriptPath: string; outputPath?: string; }
  • Core helper method in IDARemoteClient class that executes an IDA Pro script from the given file path by posting to the remote server's '/executeByPath' endpoint. This is the underlying implementation logic for the tool.
    async executeScriptByPath(path: string, logHTTP = false): Promise<ExecuteResponse> { return this.post<ExecuteResponse>('/executeByPath', { path }); }

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

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