Crate mcp_cli_builder

Crate mcp_cli_builder 

Source
Expand description

§mcp-cli-builder

Command-line interface generation for MCP servers built with mcp-utils.

For more information, see the repository’s documentation.

This crate provides utilities to automatically generate command-line interfaces for MCP (Model Context Protocol) servers using clap.

§Features

  • Automatic CLI generation: Creates a complete command-line interface from your ServerBuilder configuration
  • Dual server modes: Supports both stdio (default) and HTTP server modes with --host/--port options
  • Rich help output: Automatically generates help text with tool descriptions and usage instructions
  • Timeout configuration: Built-in support for request timeouts using humantime formats
  • Zero configuration: Works out of the box with any ToolBox implementation

Structs§

ServerBuilder

Functions§

run
Runs an MCP server with automatically generated command-line interface.