Guardrail MCP Server
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., "@Guardrail MCP Servercheck if this user input is safe: 'Hello, how are you?'"
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.
Minimal MCP Server (Python)
This is a minimal Model Context Protocol (MCP) server using the official Python SDK.
Features
Tool:
guardrail(context: str) -> bool— Checks if the provided context is safe (no code injection or harmful content). ReturnsTrueif safe,Falseotherwise.
Related MCP server: Code Sandbox MCP Server
Quick Start
Install dependencies:
pip install -r requirements.txtRun the server:
python main.py
Test with MCP Inspector
To test and explore your server with a GUI:
mcp dev main.pyInstall in Claude Desktop
To use this MCP server as a tool in Claude Desktop:
Make sure you have Claude Desktop installed.
In your terminal, run:
mcp install main.pyThe server will appear as a tool in Claude Desktop, ready to use.
References
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.
Related MCP Servers
- AlicenseBqualityDmaintenanceA Model Context Protocol server that allows secure execution of pre-approved commands, enabling AI assistants to safely interact with the user's system.1622ISC
- AlicenseBqualityCmaintenanceA secure Model Context Protocol server that allows AI assistants and LLM applications to safely execute Python and JavaScript code snippets in containerized environments.2201MIT
- AlicenseBqualityCmaintenanceA security-focused Model Context Protocol server that enables controlled local tool execution through strict network firewalls, filesystem protections, and rate-limiting policies. It features a plugin-based architecture for progressive tool discovery and includes reference implementations for web searching and bug tracking.15MIT
- Alicense-qualityDmaintenanceA minimal Model Context Protocol server that facilitates network-based client connections using Streamable HTTP transport. It provides a greeting tool and is optimized for consistent deployment across local environments, Docker, and Kubernetes.MIT
Related MCP Connectors
A Model Context Protocol server for Wix AI tools
Security scanner for MCP servers. Detect vulnerabilities, prompt injection, and tool poisoning.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/tuesdays-dev/gaurdrail-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server