Expand description
Converge MCP — Model Context Protocol client and server.
This crate provides a unified MCP implementation for the Converge ecosystem:
- Types: JSON-RPC protocol types shared by client and server
- Client (
clientfeature): Connect to external MCP servers - Server (
serverfeature): Expose tools/resources via MCP
§Usage
# Client only
converge-mcp = { version = "1.1", default-features = false, features = ["client"] }
# Server only
converge-mcp = { version = "1.1", default-features = false, features = ["server"] }Modules§
Structs§
- Call
Tool Request - MCP tool call request.
- Call
Tool Result - MCP tool call result.
- Initialize
Result - MCP initialize result.
- Json
RpcError - MCP JSON-RPC error.
- Json
RpcRequest - MCP JSON-RPC request.
- Json
RpcResponse - MCP JSON-RPC response.
- List
Resources Result - MCP resources list result.
- List
Tools Result - MCP tools list result.
- Prompts
Capability - Marker type indicating the server exposes prompts.
- Read
Resource Request - MCP read resource request.
- Read
Resource Result - MCP read resource result.
- Resource
- MCP resource definition.
- Resource
Content - MCP resource content.
- Resources
Capability - Marker type indicating the server exposes resources.
- Server
Capabilities - MCP server capabilities.
- Server
Info - MCP server info.
- Tool
- MCP tool definition.
- Tools
Capability - Marker type indicating the server exposes tools.
Enums§
- Tool
Content - MCP tool content.
Constants§
- MCP_
PROTOCOL_ VERSION - MCP protocol version.