返回市场
守护者

守护者

作者:eqtylab184 星标更新:2025-08-08

项目介绍

MCP Guardian

mcp-guardian.org

概述

MCP Guardian 管理您的LLM助手对MCP服务器的访问,让您实时控制LLM的活动。

📜 消息日志 - 查看LLM所有MCP服务器活动的跟踪记录

💂 消息审批 - 实时批准或拒绝个别工具调用消息

🤖 自动消息扫描 - 实时自动检查安全性、隐私等(即将推出)

<p align="center"> <img src="./docs/src/resources/splash-page.png" /> </p>

MCP Guardian 还使管理多个MCP服务器配置变得轻松。快速在服务器集合之间切换,无需手动管理MCP主机应用程序的配置文件。

开发

此项目使用nix来管理可以在Linux和macOS上使用的开发环境。

快速开始 - Linux / macOS

  1. 安装nix

  2. 启用nix flakes

sudo sh -c 'echo "experimental-features = nix-command flakes" >> /etc/nix/nix.conf'
  1. 进入开发shell
nix develop
  1. 构建项目
just build-release
  1. mcp-guardianmcp-guardian-proxy 现在位于 _build/bin/ 中,该路径已在开发shell的PATH中。

快速开始 - Windows

  1. 安装带有符号链接支持的git(否则在构建前需要恢复 ./mcp-guardian/bindings)。

  2. 安装rustup

  3. 安装nodejs

  4. 安装 yarn

npm install --global yarn
  1. 安装.dll依赖项。最简单的方法是安装Visual Studio并安装C++开发包。

  2. 安装just

cargo install just
  1. 使用 git-bash 进入仓库根目录(否则 just 将无法工作,您需要直接调用 cargo)。

  2. 构建项目

just build-release

Justfile

可用的配方:
    build
    build-release
    clean
    do DIR +RECIPE
    do-all +RECIPE
    fmt
    fmt-check
    lint
    readme-check
    readme-update
    test