Skip to main content

Crate jamjet_mcp

Crate jamjet_mcp 

Source
Expand description

JamJet MCP Client and Server

Implements the Model Context Protocol as both client and server.

Client: connect to external MCP servers, discover tools, invoke tools. Server: expose agent tools/resources to external MCP clients.

Re-exports§

pub use adapter::McpAdapter;
pub use client::McpClient;
pub use pool::McpClientPool;
pub use server::McpServer;
pub use server::McpServerConfig;
pub use server::RegisteredTool;
pub use transport::HttpSseTransport;
pub use transport::McpTransport;
pub use transport::StdioTransport;

Modules§

adapter
MCP ProtocolAdapter — wraps McpClient to implement the generic adapter interface.
client
MCP client — connects to external MCP servers, discovers and invokes tools.
pool
MCP client pool with dynamic tool list refresh (D.6).
server
MCP server — exposes agent tools and resources to external MCP clients.
transport
MCP transport implementations: stdio and HTTP+SSE.
types
MCP JSON-RPC message types.