Skip to content

MCP: Make it possible to retrieve a type's definition #8346

Description

@bdash

What is the feature you'd like to have?
I'd like the MCP server to be able to provide the C source representation of a type. This is necessary in order for types mentioned in decompiled source to be understandable, but also because tools like bn_type_struct_modify / bn_type_union_modify / bn_type_enum_modify require C source as input.

bn_type_info only provides a string like struct Foo or enum Bar in its definition field.

Metadata

Metadata

Assignees

Labels

Component: MCPEffort: LowIssues require < 1 week of workImpact: MediumIssue is impactful with a bad, or no, workaround

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions