Shieldmcp
@shieldmcp
About Shieldmcp
A shield for logging, deep debug and sanitization for MCP servers at development stage
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"shieldmcp-shieldmcp": {
"command": "python",
"args": [
"-m",
"venv",
"venv"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Shieldmcp?
Shieldmcp is a security middleware for Model Context Protocol (MCP) servers that provides tool access control, result sanitization, structured logging, and rate limiting without modifying the official SDK. It is intended for developers who need to secure and monitor MCP tool calls.
How to use Shieldmcp?
Apply the @secure_tool decorator to your MCP tools with optional parameters for allowed tools, sanitizer, user and session IDs, and rate limit configuration. Components like ToolAudit, ToolAccess, ToolSanitizer, and RateLimitConfig can also be used independently.
Key features of Shieldmcp
- Whitelist-based access control for MCP tools
- Configurable result sanitization with sensitive pattern detection
- Structured audit logging using structlog
- Token bucket rate limiting with burst support
- Standardized error handling across tools
- Compatible with the MCP Inspector tool
Use cases of Shieldmcp
- Restrict which MCP tools can be invoked by different users
- Sanitize tool outputs to prevent leaking personal or financial data
- Monitor and audit all tool calls with detailed logs
- Prevent tool overload with rate limits per user or session
FAQ from Shieldmcp
What is the primary purpose of Shieldmcp?
Shieldmcp acts as a security middleware for MCP servers, enabling access control, sanitization, logging, and rate limiting without
More Other MCP servers
Inbox Zero AI MCP
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
Awesome-MCP-ZH
yzflyMCP 资源精选, MCP指南,Claude MCP,MCP Servers, MCP Clients
Nginx UI
0xJackyYet another WebUI for Nginx
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
ghidraMCP
LaurieWiredMCP Server for Ghidra
Comments