mcp-guardian
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-guardianIs read_file allowed on /workspace/a.txt under default policy?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Guardian
AI Agent 调用 MCP 工具前的权限、脱敏、审批与审计网关。
仓库:https://github.com/Ailian0206/mcp-guardian
状态
Week 1:策略引擎与最小 Gateway。决策源见 docs/product-plan.md。
Related MCP server: MCPGuard
包结构
apps/web Dashboard / 落地页(Week 3 升级 Next.js)
packages/gateway 本地 MCP 代理 CLI
packages/policy-engine 策略评估
packages/shared 共享类型
packages/demo-servers 红队演示 MCP Server
policies/ 默认 fail-closed 策略开发
pnpm install
pnpm lint && pnpm typecheck && pnpm test
pnpm build
# A1/A2:允许工作区读 / 拒绝系统写
pnpm guardian eval --policy policies/default.fail-closed.yaml \
--server demo-fs --tool read_file --args '{"path":"/workspace/a.txt"}'
bash scenarios/a1-a2.shCursor 接入示例
先 pnpm build,再在 MCP 配置中指向 Gateway(示例):
{
"mcpServers": {
"guardian-demo-fs": {
"command": "node",
"args": [
"/ABS/PATH/mcp-guardian/packages/gateway/dist/cli.js",
"start",
"--config",
"/ABS/PATH/mcp-guardian/mcp-guardian.config.yaml"
]
}
}
}下游 demo-fs 由配置文件启动;危险写路径会被策略 deny。
文档
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Ailian0206/mcp-guardian'
If you have feedback or need assistance with the MCP directory API, please join our Discord server