feat: add TurboMCP v3 integration as alternative to rmcp#1463
Open
nicholasjpaterno wants to merge 2 commits into0xPlaygrounds:mainfrom
Open
feat: add TurboMCP v3 integration as alternative to rmcp#1463nicholasjpaterno wants to merge 2 commits into0xPlaygrounds:mainfrom
nicholasjpaterno wants to merge 2 commits into0xPlaygrounds:mainfrom
Conversation
Author
|
Addresses #750 finally 😅 |
eb6d3f7 to
3fcdfa7
Compare
Add TurboMCP as a feature-gated MCP client integration, matching the existing rmcp integration pattern with full feature parity. - TurboMcpTool and TurboMcpToolCaller trait for type-erased transport - Content block handling (text, image, audio, resource, tool use/result) - AgentBuilder methods: turbomcp_tool(), turbomcp_tools() - ToolServer::turbomcp_tool() method - 17 comprehensive tests with MockToolCaller - Example demonstrating OpenAI agent with TurboMCP tools
3fcdfa7 to
5d27860
Compare
Author
|
TurboMCP is now the fastest MCP library available! https://x.com/RealEpistates/status/2029559190587396451 |
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.
Summary
--features turbomcp), matching the existing rmcp integration pattern with full feature parityTurboMcpToolandTurboMcpToolCallertrait for transport-agnostic type erasure, with complete content block handling (text, image, audio, resource, resource link, tool use, tool result)turbomcp_tool()/turbomcp_tools()toAgentBuilder(bothNoToolConfigandWithBuilderToolsstates) andToolServerMockToolCallerand a working exampleChanges
rig-core/Cargo.tomlturbomcp-clientv3.0.0 dep,turbomcpfeature flag, example entryrig-core/src/tool/mod.rsTurboMcpTool,TurboMcpToolCallertrait, content handling, 17 testsrig-core/src/tool/server.rsToolServer::turbomcp_tool()methodrig-core/src/agent/builder.rsturbomcp_tool()/turbomcp_tools()on both builder statesrig-core/examples/turbomcp.rsTest plan
cargo test -p rig-core --lib --features turbomcp— 391 passed, 0 failedcargo test -p rig-core --lib --features "turbomcp,rmcp"— 391 passed, 0 failedcargo clippy -p rig-core --features turbomcp -- -D warnings— clean