Skip to content

MCP: support running python scripts in the context of the server #8343

Description

@CouleeApps

What is the feature you'd like to have?
I want to have an action on the MCP server to run an arbitrary python script in the context of the current session. I want my agent to be able to give a python script to the server and get results back.

Is your feature request related to a problem?
Largely to work around missing features in the MCP server, since binja has a lot of features and not all of them are exposed over MCP.

Are any alternative solutions acceptable?
I can tell my agent to stop using the MCP server and write the script itself, but this will require a bunch of extra coordination to transfer analysis data between the different sessions (and for BNDBs, could cause file locking problems).

Additional Information:
Likely should be edition-gated to Commercial and above, due to headless support being a Commercial+ feature.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions