Commune
Commune is a Rust library designed to support the development of discoverable networks of AI agents. It serves as a wrapper over mcp_sdk_rs, providing enhanced functionality for peer discovery and resource utilization within Model Context Protocol (MCP) networks.
Features
- Discover and maintain a list of peer MCP servers
- Utilize available tools, prompts, and resources from peer servers
- Support for WebSocket communication (with and without TLS encryption)
- Type conversion for AWS, OpenAI, and other inference APIs, simplifying their usage
Installation
Add the following to your Cargo.toml
:
[]
= { = "mcp-commune", = "0.1.0" }
Usage
use *;
async
Type Conversion
Commune provides convenient type conversion implementations for various inference APIs, including:
- AWS Bedrock
- OpenAI (coming soon)
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License.