Expand description
MCP Guard - A lightweight security gateway for MCP servers
This crate provides authentication, authorization, rate limiting, and observability for Model Context Protocol (MCP) servers.
Re-exports§
pub use config::Config;
Modules§
- audit
- Audit logging for mcp-guard
- auth
- Authentication providers for mcp-guard
- authz
- Authorization logic for mcp-guard
- cli
- CLI commands for mcp-guard
- config
- Configuration types and parsing for mcp-guard
- guard_
tools - Guard Tools - Internal MCP tools exposed by mcp-guard
- mcp_
server - MCP Server - Stdio-based MCP server for mcp-guard
- observability
- Observability: metrics, tracing, and logging for mcp-guard
- rate_
limit - Rate limiting service for mcp-guard
- router
- Multi-server routing for mcp-guard
- server
- Axum server and middleware for mcp-guard
- tier
- Tier validation for mcp-guard feature gating
- transport
- MCP transport implementations
Enums§
- Error
- Main error type for mcp-guard
Type Aliases§
- Result
- Result type alias for mcp-guard operations