JUHE API Marketplace
tuesdays-dev avatar
MCP Server

Guardrail MCP Server

A minimal Model Context Protocol server that provides a safety guardrail tool to check if provided context is free from code injection or harmful content.

0
GitHub Stars
8/23/2025
Last Updated
No Configuration
Please check the documentation below.

README Documentation

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). Returns True if safe, False otherwise.

Quick Start

  1. Install dependencies:
    pip install -r requirements.txt
    
  2. Run the server:
    python main.py
    

Test with MCP Inspector

To test and explore your server with a GUI:

mcp dev main.py

Install in Claude Desktop

To use this MCP server as a tool in Claude Desktop:

  1. Make sure you have Claude Desktop installed.
  2. In your terminal, run:
    mcp install main.py
    
  3. The server will appear as a tool in Claude Desktop, ready to use.

References

Quick Actions

Key Features

Model Context Protocol
Secure Communication
Real-time Updates
Open Source