Two Rust Clients for Gemma 4: Calling the Endpoint vs. Calling the MCP Server 🦀
This article provides a step by step guide to two small Rust CLIs that ask a self-hosted Gemma 4 E2B the same question. The first calls the model's OpenAI-compatible HTTP endpoint directly. The second is an MCP client: it launches the rig's own MCP server and asks through its tools. https://github.com/xbill9/gemma-rust https://github.com/xbill9/gemma-rust-mcp Both CLIs are demos, and their output is read by an audience. So neither hides anything behind a --verbose flag: every run prints the targ
