Back to Home
gnufoo icon

MeCP

Verified Safe

by 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

Run Command
cargo run --release

Environment 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

Stats

Interest Score0
Security Score7
Cost ClassMedium
Avg Tokens30
Stars0
Forks0
Last Update2026-01-17

Tags

AILLMRustDatabaseMonitoring