8000 feat(mcp): `call_surfnet_rpc` method by BretasArthur1 · Pull Request #154 · txtx/surfpool · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat(mcp): call_surfnet_rpc method #154

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Jun 12, 2025
Merged

feat(mcp): call_surfnet_rpc method #154

merged 11 commits into from
Jun 12, 2025

Conversation

BretasArthur1
Copy link
Collaborator

No description provided.

BretasArthur1 and others added 3 commits June 9, 2025 13:29
Co-authored-by: Ludo | Txtx <lgalabru@users.noreply.github.com>
…methods to expose to the LLM the documentation about the rpc endpoints
@BretasArthur1 BretasArthur1 marked this pull request as draft June 9, 2025 22:21
@BretasArthur1 BretasArthur1 marked this pull request as ready for review June 10, 2025 20:03
@BretasArthur1 BretasArthur1 requested review from lgalabru and MicaiahReid and removed request for lgalabru June 10, 2025 20:03
Copy link
Member
@MicaiahReid MicaiahReid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good!

/// This generic method allows calling any of the available surfnet cheatcode RPC methods.
/// The LLM will interpret user requests and determine which method to call with appropriate parameters.
#[tool(
description = "Calls any RPC method on a running surfnet instance. This is a generic method that can invoke any surfnet cheatcode RPC method. The LLM should interpret user requests and determine the appropriate method and parameters to call. The retrive the list of RPC endpoints available check the resource str:///rpc_endpoint_list"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
description = "Calls any RPC method on a running surfnet instance. This is a generic method that can invoke any surfnet cheatcode RPC method. The LLM should interpret user requests and determine the appropriate method and parameters to call. The retrive the list of RPC endpoints available check the resource str:///rpc_endpoint_list"
description = "Calls any RPC method on a running surfnet instance. This is a generic method that can invoke any surfnet RPC method. The LLM should interpret user requests and determine the appropriate method and parameters to call. To retrieve the list of RPC endpoints available check the resource str:///rpc_endpoint_list"

@MicaiahReid MicaiahReid merged commit dc682d5 into main Jun 12, 2025
2 checks passed
@lgalabru lgalabru deleted the feat/get-rpc-method branch June 13, 2025 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0