Back to Home
RomanEmreis icon

neva

Verified Safe

by RomanEmreis

Overview

Provides a blazingly fast and easily configurable Model Context Protocol (MCP) server and client SDK for Rust, primarily for integrating LLMs with external tools and resources.

Installation

Run Command
JWT_SECRET=a-string-secret-at-least-256-bits-long cargo run --manifest-path examples/sampling/server/Cargo.toml

Environment Variables

  • JWT_SECRET

Security Notes

The server implements bearer token authentication and role-based access control (RBAC) for tools, resources, and prompts, as configured via `AuthConfig` in `http/server/auth_config.rs`. Input validation for structured data, specifically for elicitation requests, is handled explicitly. The framework's use of Rust's proc-macros for defining handlers means that developer-provided literal strings and expressions are embedded directly into generated Rust code at compile time. While this shifts potential injection risks to the compile phase (requiring developers to ensure macro inputs are safe), it mitigates runtime dynamic code execution vulnerabilities from unvetted external input. No 'eval'-like runtime execution from untrusted sources is apparent.

Similar Servers

Stats

Interest Score35
Security Score8
Cost ClassMedium
Avg Tokens300
Stars5
Forks0
Last Update2025-12-14

Tags

MCPLLMSDKRustAI