Open
Conversation
…ssions Adds 5 new modules and significantly expands existing ones, growing the MCP server from ~10 tools to ~46. Existing modules were commented and documented throughout. ## New modules - staking.rs: add/remove/transfer stake, query stakes per account and agent - governance.rs: applications, proposals, voting, vote delegation - transfer.rs: token transfers to dev accounts or SS58 addresses - weight_control.rs: delegate and regain weight control between validators - queries.rs: burn amount, emission config, whitelist status, incentives ratio, pending emission, consensus members, global governance config ## Changes to existing modules - utils.rs: accept both dev account names and raw SS58 addresses throughout - agent.rs, balance.rs, consensus.rs, emission.rs, namespace.rs, weights.rs: expanded with additional query tools, documentation, and wired into main tool router
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Tip Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
saiintbrisson
requested changes
Feb 19, 2026
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.
Pull Request Checklist
cargo clippyand addressed any warningsDescription
Expands the MCP server from ~10 tools to ~46 by adding 5 new modules and
extending existing ones. All write operations use
wait_for_finalized_successto correctly surface on-chain errors.
New modules:
staking.rs: add/remove/transfer stake, query stakes per account and agentgovernance.rs: applications, proposals, voting, vote delegationtransfer.rs: token transfers to dev accounts or SS58 addressesweight_control.rs: delegate and regain weight control between validatorsqueries.rs: burn amount, whitelist status, incentives ratio, pendingemission, consensus members, global governance config
Changes to existing modules:
utils.rs: extended to accept both dev account names and raw SS58 addressesagent.rs,balance.rs,namespace.rs,weights.rs,emission.rs,consensus.rs: expanded with additional query tools and inline documentationRelated Issues
accounts (alice, bob, etc.). Real key management (importing keypairs,
signing with mainnet accounts) is not yet implemented, so write tools are
not production-ready for mainnet use.
operations should be reviewed before broader deployment. All operations were
tested on testnet but edge cases may exist.