mcp_rust_examples/
main.rs

1//! # MCP Rust Examples Project
2//!
3//! This project provides comprehensive examples for building Model Context Protocol (MCP)
4//! servers using Rust. It includes educational examples ranging from basic implementations
5//! to production-ready systems.
6//!
7//! ## Usage
8//!
9//! Run individual examples using:
10//! ```bash
11//! cargo run --bin example_01_hello_world
12//! ```
13//!
14//! See the README.md and tutorial files for detailed learning guides.
15
16// Main entry point for the MCP examples project
17// This file is primarily for testing and development
18
19fn main() {
20    println!("MCP Rust Examples Project");
21    println!("Use 'cargo run --bin <example_name>' to run specific examples");
22    println!();
23    println!("Available examples:");
24    println!("  example_01_hello_world      - Basic greeting tool");
25    println!("  example_02_calculator       - Simple calculator operations");
26    println!("  example_03_text_processor   - Text transformation tools");
27    println!("  example_04_simple_client    - MCP client implementation");
28    println!("  example_05_resource_provider - Resource serving example");
29    println!("  example_06_configurable_server - Configuration-driven server");
30    println!("  example_07_file_operations  - File system operations");
31    println!("  example_08_http_client      - HTTP client tool");
32    println!("  example_09_database         - Database integration");
33    println!("  example_10_streaming        - Real-time streaming");
34    println!();
35    println!("Example usage:");
36    println!("  cargo run --bin example_01_hello_world");
37}