Secure LLM Access to MCP Servers
MCP Guardian manages LLM access to MCP servers, offering real-time control, message logging, and approvals for AI tool usage.
Maintainer of this project? Claim this page to edit the listing.
0.6.0Add to Favorites
Why it matters
Manage and secure your LLM's interactions with MCP servers. Gain real-time control over LLM activity, including message logging, confirmations, and automated security checks.
Outcomes
What it gets done
Log all LLM activity on MCP servers for auditing.
Approve or reject individual LLM tool calls in real-time.
Implement automated security and privacy checks for LLM messages.
Easily manage multiple MCP server configurations.
Install
Add it to your toolbox
Run in your project directory:
curl -fsSL https://spark.entire.vc/get/vb-mcp-guardian | bash Overview
mcp-guardian MCP Server
2024-02-20T10:00:00Z
What it does
MCP Guardian manages your LLM assistant's access to MCP servers, providing real-time control of your LLM's activity. Features include message logging for all of an LLM's MCP server activity and real-time approval or denial of individual tool call messages. MCP Guardian also simplifies managing multiple MCP server configurations, allowing quick switching between server collections without manual configuration file management.
To set up the development environment on Linux or macOS, you can use nix:
sudo sh -c 'echo "experimental-features = nix-command flakes" >> /etc/nix/nix.conf'
nix develop
just build-release
Source README
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-guardianandmcp-guardian-proxyare now in_build/bin/which is inPATHof the dev shell.
Quick Start - Windows
Install git with symlink support (otherwise you will need to restore
./mcp-guardian/bindingsbefore 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(otherwisejustwon'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
FAQ
Common questions
Discussion
Questions & comments ยท 0
Sign In Sign in to leave a comment.