Skip to main content

Crate cersei_mcp

Crate cersei_mcp 

Source
Expand description

cersei-mcp: Model Context Protocol (MCP) client.

Full JSON-RPC 2.0 implementation with stdio transport for connecting to MCP servers. Discovers tools and resources, makes them available as standard Cersei tool definitions.

Modules§

jsonrpc
JSON-RPC 2.0 primitives.
transport
MCP transports: stdio subprocess communication.

Structs§

McpClient
A client connected to a single MCP server.
McpManager
Manages connections to multiple MCP servers.
McpResource
McpServerConfig
McpToolDef

Enums§

McpContent
McpServerStatus

Functions§

expand_env_vars
Expand ${VAR} and ${VAR:-default} patterns.
expand_server_config
Expand env vars in all string fields of a server config.