Skip to content

MCP Headless: option for debug logging #8344

Description

@CouleeApps

What is the feature you'd like to have?
I want the MCP Headless server to have command line options to enable debug logging. Ideally, I want these to be the same as binaryninja.exe proper, so -d for debug, -e for outputting to stderr, and -l for outputting to a file. binaryninja.exe also supports the BN_LOG_LEVEL environment variable, with debug / info / warning / error / alert controlling the log level of the file output, and the ui.log.minLevel setting to control logging in the UI. MCP could have its own setting for that, or just take input from the command line (my preference).

Is your feature request related to a problem?
I ran into a Binja error using the MCP server and have no way to understand what went wrong.

Are any alternative solutions acceptable?
The agent could handle this with python integration #8343, though it would be weird.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions