mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
fix
This commit is contained in:
parent
19194a53f3
commit
f594ff8793
1 changed files with 32 additions and 0 deletions
|
|
@ -1120,5 +1120,37 @@
|
|||
],
|
||||
"guardrails_remove": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "mcp-security-unregistered-server-block",
|
||||
"title": "MCP Security: Block Unregistered Servers",
|
||||
"description": "Blocks requests that reference MCP servers not registered on this LiteLLM gateway. Prevents unauthorized tool access via unregistered MCP endpoints.",
|
||||
"type": "MCP Security",
|
||||
"region": "Global",
|
||||
"icon": "ShieldCheckIcon",
|
||||
"iconColor": "text-red-500",
|
||||
"iconBg": "bg-red-50",
|
||||
"guardrails": ["mcp-security-block"],
|
||||
"complexity": "Low",
|
||||
"guardrailDefinitions": [
|
||||
{
|
||||
"guardrail_name": "mcp-security-block",
|
||||
"litellm_params": {
|
||||
"guardrail": "mcp_security",
|
||||
"mode": "pre_call",
|
||||
"default_on": true,
|
||||
"on_violation": "block"
|
||||
},
|
||||
"guardrail_info": {
|
||||
"description": "Blocks requests referencing MCP servers not in the gateway registry"
|
||||
}
|
||||
}
|
||||
],
|
||||
"templateData": {
|
||||
"policy_name": "mcp-security-unregistered-server-block",
|
||||
"description": "Blocks requests referencing MCP servers not registered on this gateway.",
|
||||
"guardrails_add": ["mcp-security-block"],
|
||||
"guardrails_remove": []
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue