MeCP
Verified Safeby gnufoo
Overview
A self-hosted Model Context Protocol (MCP) server in Rust for AI context management, offering multi-database support, Web3 authentication, and real-time monitoring.
Installation
cargo run --releaseEnvironment Variables
- OPENAI_API_KEY
- ANTHROPIC_API_KEY
- GOOGLE_API_KEY
- MILVUS_API_KEY
- MECP_MYSQL_DB
- MCP_PORT
- RUST_LOG
- SERVER_HOST
- SERVER_PORT
- MECP_AUTH_ENABLED
- MECP_AUTH_ADDRESS
- MECP_JWT_SECRET
- MECP_SESSION_DURATION
Security Notes
The server uses standard secure practices for Web3 authentication (EVM signature verification, JWTs) and explicitly warns users about changing default passwords and not hardcoding secrets in production. A potential area of concern is the `WassetteRuntime` which allows loading and executing WebAssembly Components. While the implementation indicates that these components are loaded from a managed `AppLoader` (backed by MySQL) and not from arbitrary user-controlled input, the ability to execute external binaries carries inherent risk if the source of these components is not entirely trusted. The CLI also utilizes `sudo` for system-level operations like installing and managing databases, which requires careful handling by the administrator. Network binding to `0.0.0.0` by default requires external firewall configuration for production deployments.
Similar Servers
1xn-vmcp
An open-source platform for composing, customizing, and extending multiple Model Context Protocol (MCP) servers into a single logical, virtual MCP server, enabling fine-grained context engineering for AI workflows and agents.
mcp-framework
A Rust framework for building AI agents with built-in Model Context Protocol (MCP) support, multi-LLM integration, and a web-based inspector for debugging.
mcp-mysql-server
Provides an MCP-compliant interface for AI models to securely interact with a MySQL database for CRUD operations, schema inspection, and performance analysis.
Ops-Tools
Manages AI model context protocol (MCP) servers for various AI CLIs (Claude, Codex, Gemini) by installing, updating, and removing them, and provides a broader set of DevOps utilities.