Back to Home
pulseengine icon

mcp

Verified Safe

by pulseengine

Overview

A robust Rust framework for building Model Context Protocol (MCP) servers, enabling AI assistants to securely interact with external systems through defined tools, resources, and prompts.

Installation

Run Command
cargo run --example hello-world

Environment Variables

  • RUST_LOG
  • MCP_AUTH_API_KEY_ADMIN_1
  • MCP_API_KEY
  • MCP_SECURITY_PROFILE
  • MCP_JWT_SECRET
  • MCP_MASTER_KEY_B64
  • OTEL_EXPORTER_OTLP_ENDPOINT
  • OTEL_SERVICE_NAME

Security Notes

The framework is designed with strong security principles, offering comprehensive features: - **Authentication:** Supports API keys (hashed/salted), JWTs, session management, and OAuth. Different storage options (memory, file, environment) for keys with explicit file permissions. - **Authorization:** Role-based access control. - **Input Validation:** Built-in mechanisms for detecting and sanitizing SQL injection, XSS, command injection, and path traversal attempts, configurable request limits. - **Transport Security:** Configurable CORS, HTTPS enforcement (via middleware/transport options, though TLS certificate management requires external setup). - **Observability:** Audit logging, metrics, and tracing aid in detecting and responding to security incidents. - **Code Quality:** Written in Rust, which inherently prevents many common memory-safety vulnerabilities. Uses established cryptographic primitives (AES-GCM, SHA256, PBKDF2). The main security consideration is ensuring proper configuration and secure implementation of custom backends, as the framework provides the tools, but their effective use depends on the developer. No direct 'eval' or malicious patterns found in the server's Rust codebase.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassLow
Avg Tokens100
Stars0
Forks0
Last Update2025-12-06

Tags

MCPProtocolServerFrameworkRustAI IntegrationMicroservicesObservabilitySecurityJSON-RPC