Conversation
`CoreEnumFromString` returned the `size_t` from `BNCoreEnumFromString`. A `size_t` does not implicitly convert to `std::optional<T>` for an enum `T`, so every instantiation failed to compile. It now casts the value to `T`.
…lliding Truncation only checked single backticks, so it could split a ``literal``. It now backs up to before an unclosed one. A function whose name differed from another member's only by case, such as `tool` beside `Tool`, got the same section label, which failed the build. Its section is now titled `tool()`.
Previously, MCP tools were compiled into the MCP server, so a plug-in could not offer its own. Now plug-ins written in C++, Python or Rust can register MCP tools. Each binding generates a tool's input schema from its parameters and checks the arguments before the handler runs, so a handler only has to do the tool's work. A new guide explains how to write a tool in each language.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Plug-ins written in C++, Python or Rust can now register tools that Binary Ninja's MCP server offers to MCP clients. Each binding generates a tool's input schema and checks its arguments before the handler runs. A new guide explains how to write a tool in each language.
This also fixes
CoreEnumFromString, which failed to compile for any enum type, and some Python API documentation behavior that was tripping over the changes.Fixes #8484.