mcp-guardian
Categories
Language:
Rust
Stars:
48
Forks:
3
MCP Guardian
Overview
MCP Guardian manages your LLM assistant's access to MCP servers, handing you realtime control of your LLM's activity.
📜 Message Logging - See traces for all of an LLM's MCP server activity
💂 Message Approvals - Approve and deny individual tool call messages in real time
🤖 Automated Message Scans - Realtime automated checks for safety, privacy, etc (Coming Soon)
MCP Guardian also makes it a breeze to manage multiple MCP server configurations. Quickly switch between server collections without having to manually manage configuration files for your MCP host applications.
Development
This project uses nix to manage a development environment that can be used on Linux and macOS.
Quick Start - Linux / macOS
-
Enable nix flakes
sudo sh -c 'echo "experimental-features = nix-command flakes" >> /etc/nix/nix.conf'
- Enter dev shell
nix develop
- Build project
just build-release
mcp-guardian
andmcp-guardian-proxy
are now in_build/bin/
which is inPATH
of the dev shell.
Quick Start - Windows
-
Install git with symlink support (otherwise you will need to restore
./mcp-guardian/bindings
before building). -
Install
yarn
.
npm install --global yarn
-
Install .dll dependencies. The easiest way to do this is to install Visual Studio and install the C++ development packages.
-
Install just
cargo install just
-
Enter repo root with
git-bash
(otherwisejust
won't work and you'll need to callcargo directly
) -
Build project
just build-release
Justfile
Available recipes:
build
build-release
clean
do DIR +RECIPE
do-all +RECIPE
fmt
fmt-check
lint
readme-check
readme-update
test
Publisher info
More MCP servers built with Rust
A MCP server to allow the LLM in Cursor to access Rust Analyzer, Crate Docs and Cargo Commands.
MCP Dockmaster allows you to easily install and manage MCP servers. Available for Mac, Windows and Linux as a Desktop App, CLI and a library.