About Rust MCP Servers
Rust MCP Servers is an MCP server published by sabryio in the Developer Tools category: moved: this became browser-rs, browser automation for AI agents in Rust — https://github.com/luka-loehr/browser-rs.
The repository has 3 stars and 1 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
git clone https://github.com/sabryio/rust-mcp-serversThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Rust MCP Servers
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
5 checks have not been run yet.
README
🦀 Rust MCP Servers
A collection of high-performance Model Context Protocol (MCP) servers built with Rust, providing specialized tools and resources for AI assistants and applications.
🌟 Available Servers
| Server | Description | Status | Crates.io |
|---|---|---|---|
| Time MCP Server | Timezone-aware time operations with DST handling | ✅ Stable | |
| Filesystem MCP Server | Secure filesystem operations with directory allowlisting | ✅ Stable | |
| Database MCP Server | Database queries and operations | 🚧 Planned | - |
| Web MCP Server | HTTP requests and web scraping | 🚧 Planned | - |
| System MCP Server | System information and monitoring | 🚧 Planned | - |
🚀 Quick Start
Prerequisites
- Rust 1.85+ - Install Rust
- Git - For cloning the repository
Installation
Install Individual Servers
# Install the Time MCP Server
cargo install mcp-server-time
# Install the Filesystem MCP Server
cargo install mcp-server-filesystem
# Future servers will be available similarly
# cargo install mcp-server-database
Build from Source
# Clone the repository
git clone https://github.com/sabry-awad97/rust-mcp-servers.git
cd rust-mcp-servers
# Build all servers
cargo build --release
# Build specific server
cargo build --release --bin mcp-server-time
cargo build --release --bin mcp-server-filesystem
# Run tests
cargo test
🛠️ Usage
With Claude Desktop
Add servers to your Claude Desktop configuration:
{
"mcpServers": {
"time": {
"command": "mcp-server-time"
},
"filesystem": {
"command": "mcp-server-filesystem",
"args": ["--allowed-dir", "/path/to/your/projects"]
}
}
}
With MCP Inspector
Test any server using the MCP Inspector:
# Test Time MCP Server
npx @modelcontextprotocol/inspector mcp-server-time
# Test Filesystem MCP Server
npx @modelcontextprotocol/inspector mcp-server-filesystem --allowed-dir /path/to/test
🏗️ Architecture
This workspace follows a modular architecture with shared dependencies and consistent patterns:
rust-mcp-servers/
├── crates/
│ ├── time_mcp/ # Time operations server
│ ├── fs_mcp/ # Filesystem operations server
│ ├── database_mcp/ # Database server (planned)
│ └── shared/ # Shared utilities (planned)
├── examples/ # Usage examples
├── docs/ # Documentation
└── scripts/ # Build and deployment scripts
Design Principles
- 🔧 Modular Design - Each server is a separate crate with focused functionality
- ⚡ High Performance - Built with Rust for speed and safety
- 🛡️ Robust Error Handling - Comprehensive error messages and graceful failures
- 📚 Rich Documentation - Extensive docs and examples for each server
- 🧪 Comprehensive Testing - Unit, integration, and end-to-end tests
- 🔄 Consistent APIs - Standardized patterns across all servers
🎯 Roadmap
Phase 1: Core Servers ✅
- Time MCP Server - Timezone operations and time conversion
- Filesystem MCP Server - Secure file operations, search, and management
Phase 2: System Integration 🚧
- System MCP Server - System monitoring, process management, and info
Phase 3: Data & Web 📋
- Database MCP Server - SQL queries, schema inspection, and data operations
- Web MCP Server - HTTP requests, web scraping, and API interactions
Phase 4: Advanced Features 🔮
- AI MCP Server - Integration with AI models and embeddings
- Network MCP Server - Network diagnostics and monitoring
- Security MCP Server - Security scanning and analysis tools
🤝 Contributing
We welcome contributions! Please see our Contributing Guidelines for details.
Development Setup
-
Clone and Setup
git clone https://github.com/sabry-awad97/rust-mcp-servers.git cd rust-mcp-servers -
Install Dependencies
# Install Rust toolchain rustup update stable # Install development tools cargo install cargo-watch cargo-tarpaulin -
Development Workflow
# Run tests with watch cargo watch -x test # Check code quality cargo clippy -- -D warnings cargo fmt --check # Generate coverage report cargo tarpaulin --out html
Adding a New MCP Server
- Create a new crate in
crates/your_server_mcp/ - Follow the established patterns from
time_mcp - Implement the required MCP interfaces
- Add comprehensive tests and documentation
- Update this README with your server information
📖 Documentation
- MCP Specification - Official MCP documentation
- RMCP Framework - Rust MCP implementation docs
- Individual Server Docs - Detailed documentation for each server
🧪 Testing
# Run all tests
cargo test
# Run tests for specific server
cargo test --package mcp-server-time
cargo test --package mcp-server-filesystem
# Run with coverage
cargo tarpaulin --workspace
# Integration tests
cargo test --test integration
📊 Performance
All servers are built with performance in mind:
- Memory Efficient - Minimal memory footprint
- Fast Startup - Quick initialization times
- Concurrent - Async/await for high concurrency
- Resource Aware - Proper resource management and cleanup
🔒 Security
- Input Validation - All inputs are validated and sanitized
- Error Handling - No sensitive information in error messages
- Dependencies - Regular security audits with
cargo audit - Best Practices - Following Rust security guidelines
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
🙏 Acknowledgments
- Model Context Protocol - For the excellent protocol specification
- RMCP - Rust MCP implementation framework
- Rust Community - For the amazing ecosystem and tools
📞 Support & Community
- 📖 Documentation: docs.rs/mcp-server-*
- 🐛 Issues: GitHub Issues
- 💬 Discussions: GitHub Discussions
- 📧 Contact: dr.sabry1997@gmail.com
🌟 Star History
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.