@mhdd_24/ai-guardrail-mcp
v1.0.0
Published
MCP server for Input/output policy validation
Maintainers
Readme
@mhdd_24/ai-guardrail-mcp
MCP server for Input/output policy validation.
Same architecture as @mhdd_24/sublime-mcp.
Full documentation: docs/WIKI.md
How it works (30 seconds)
You (chat) → MCP client → ai-guardrail-mcp → AI Guardrail APIs / CLIs / local toolsPrerequisites
| Requirement | Notes | |-------------|--------| | Node.js 18+ | ESM TypeScript MCP server | | Credentials / CLIs | See environment variables below |
Install
Option A — npm (after publish)
npm install -g @mhdd_24/ai-guardrail-mcpOption B — npx
npx @mhdd_24/ai-guardrail-mcpOption C — clone and build
git clone https://github.com/Mhdd-24/AI-Guardrail-MCP.git
cd AI-Guardrail-MCP
npm install
npm run build
node dist/index.jsConfigure Cursor
Edit ~/.cursor/mcp.json:
{
"mcpServers": {
"aiguard": {
"command": "npx",
"args": ["-y", "@mhdd_24/ai-guardrail-mcp"],
"env": {
"_": "optional"
}
}
}
}Local development:
{
"command": "node",
"args": ["/absolute/path/to/AI-Guardrail-MCP/dist/index.js"]
}Environment variables
| Variable | Description | |----------|-------------| | — | No required env |
Tools
| Tool | Description |
|------|-------------|
| aiguard_status | Show Input/output policy validation configuration / health. |
| aiguard_scan | Scan text for policy/safety issues. |
| aiguard_suite | Generate a test suite outline. |
License
ISC
