Skip to main content
Glama

get_strings

Extract and list embedded strings from binary files for reverse engineering and analysis with IDA Pro MCP Server integration.

Instructions

Get list of strings from the binary

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • MCP CallToolRequest handler for the 'get_strings' tool. Validates arguments, calls IDARemoteClient.getStrings(), formats and returns the response.
    case 'get_strings': if (!isValidGetStringsArgs(request.params.arguments)) { throw new McpError( ErrorCode.InvalidParams, 'Invalid get strings arguments' ); } try { const result = await ida.getStrings(); return { content: [ { type: 'text', text: `Retrieved ${result.count} strings from the binary:\n\n${JSON.stringify(result.strings, null, 2) }`, }, ], }; } catch (error: any) { return { content: [ { type: 'text', text: `Error getting strings: ${error.message || error}`, }, ], isError: true, }; }
  • index.ts:408-416 (registration)
    Tool registration in ListToolsRequest handler, defining name, description, and input schema.
    { name: 'get_strings', description: 'Get list of strings from the binary', inputSchema: { type: 'object', properties: {}, required: [], }, },
  • TypeScript interface defining the input arguments for get_strings tool (empty object).
    interface GetStringsArgs { // No parameters required }
  • Input validation function for GetStringsArgs.
    const isValidGetStringsArgs = (args: any): args is GetStringsArgs => { return ( typeof args === 'object' && args !== null ); };
  • IDARemoteClient method that performs HTTP GET to /api/strings endpoint to retrieve strings from IDA Pro.
    async getStrings(): Promise<StringsResponse> { return this.get<StringsResponse>('/strings'); }

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