FastMCP-ToolSecurityTrimming

anevjes/FastMCP-ToolSecurityTrimming
★ 1 stars Python 🔒 Security Updated 7mo ago
A quick sample on how to implement tool security trimming based on user's role assignment with entraID using FastMCP Middleware
View on GitHub →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "fastmcp-toolsecurity": {
      "command": "uvx",
      "args": [
        "fastmcp-toolsecuritytrimming"
      ]
    }
  }
}

Or install with pip: pip install fastmcp-toolsecuritytrimming