feat: add Rust binary calculator example

First example of the binary server type — a compiled Rust MCP server
packaged as an MCPB. Based on the official Rust SDK calculator example
(rmcp 1.2.0, 2 tools: sum/sub, ~80 LOC).

Includes Cargo.toml, Dockerfile for Docker-based builds, .mcpbignore
to exclude source from the bundle, and README with build/pack/test
instructions.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Bryan Thompson 2026-03-13 16:36:47 -05:00
commit cc4aa751b6
No known key found for this signature in database
GPG key ID: 1D66D91917EE02E6

3
examples/calculator-rust/.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
target/
Cargo.lock
server/mcp-calculator