An MCP (Model Context Protocol) server implementation in Rust.
MCP Wingspan is a Model Context Protocol server that provides tools and resources for AI applications. It demonstrates how to build an MCP server using Rust.
- Echo tool: Echo back input messages
- Greet tool: Greet someone by name
- Example resource: Provides example resource data
cargo build --releasecargo runOr run the release binary:
./target/release/mcp-wingspan# Run with debug logging
RUST_LOG=debug cargo runThis project uses GitHub Actions for continuous integration:
-
CI Workflow (
.github/workflows/ci.yml): Comprehensive CI pipeline that:- Tests on multiple platforms (Linux, macOS, Windows)
- Tests on multiple Rust versions (stable, beta, nightly)
- Runs code formatting checks
- Runs Clippy linter
- Builds and tests the project
-
Rust Workflow (
.github/workflows/rust.yml): Simplified workflow for quick checks on Ubuntu -
Dependabot (
.github/dependabot.yml): Automatically updates dependencies weekly
mcp-wingspan/
├── .github/
│ ├── workflows/ # GitHub Actions workflows
│ │ ├── ci.yml # Comprehensive CI pipeline
│ │ └── rust.yml # Simplified Rust workflow
│ └── dependabot.yml # Dependabot configuration
├── Cargo.toml # Project dependencies and metadata
├── README.md # This file
├── src/
│ └── main.rs # Main server implementation
└── .gitignore # Git ignore rules
[Add your license here]