guardrail-pro-mcp
v1.0.0
Published
Monetized MCP Server for Guardrail-Pro
Downloads
143
Readme
Guardrail-Pro SettleGrid Monetized MCP Server
This MCP server provides legal compliance and PII detection tools. It is integrated with SettleGrid to automatically monetize tool usage and published on Smithery.
Pricing Structure
check_legal_compliance: 5 cents per calldetect_pii: Free Tier (Up to 5 calls per day)
Setup
Install Dependencies
npm installEnvironment Variables Create a
.envfile in the root of the project with the following:# SettleGrid API Key for authenticating the MCP server SETTLEGRID_API_KEY=your_settlegrid_api_key_hereBuild the Project
npm run build
SettleGrid Discovery API Registration
To expose your tools to the SettleGrid network so agents can discover and pay for them, you must register your server using the SettleGrid Discovery API.
Send a POST request to SettleGrid's registration endpoint containing your server details and pricing:
curl -X POST https://api.settlegrid.com/v1/mcp/register \
-H "Authorization: Bearer $SETTLEGRID_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"server_name": "guardrail-pro-mcp",
"description": "Legal Compliance and PII Detection AI tools",
"tools": [
{
"name": "check_legal_compliance",
"pricing_model": "per_call",
"price": 0.05,
"currency": "USD"
},
{
"name": "detect_pii",
"pricing_model": "tiered",
"tier": "Free",
"limits": {
"callsPerDay": 5
}
}
],
"endpoint": "stdio"
}'Once registered, agents connected to the SettleGrid marketplace can discover and securely call your tools, while you automatically collect payments for the check_legal_compliance endpoint.
