anyclaw-sdk-tool
Build MCP-compatible tool servers for anyclaw — implement the Tool trait and the SDK handles all MCP protocol framing over stdio.
⚠️ Unstable — APIs may change between releases.
Quick Example
use ;
use ;
;
async
One binary can register multiple tools — pass them all to ToolServer::new. The server dispatches call_tool requests by name.
Going Further
- docs.rs — full API reference, error types,
ToolSdkErrorvariants - Building extensions guide — end-to-end walkthrough for building and deploying a tool
- system-info reference implementation — a minimal working tool binary
License
Licensed under either of Apache License, Version 2.0 or MIT license at your option.