mcp-security-governance

Pin MCP agent tools and enforce allowlists during external-server interactions.

Updated Jan 20, 2026
One-click install
npx skills add https://github.com/abhishekmmgn/skills --skill mcp-security-governance
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: mcp-security-governance
Source: https://github.com/abhishekmmgn/skills/tree/main/mcp/mcp-security-governance
Command: npx skills add https://github.com/abhishekmmgn/skills --skill mcp-security-governance

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

MCP agents face risks from dynamic capability changes, tool shadowing, and unsafe actions initiated by untrusted external servers.

Core Features & Use Cases

  • Defensive Pinning: Pin tool definitions to trusted versions to prevent runtime changes.
  • Allowlisting & Scoped Credentials: Enforce explicit allowlists and constrained credentials for high-risk tasks.
  • Threat Mitigation: Detect and reject tool name collisions and enforce policy boundaries during agent-server interactions.

Quick Start

Configure a trusted server, enable tool pinning, and run a connection test to ensure only approved tools are exposed to the MCP agent.

Frequently Asked Questions about mcp-security-governance

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent prompt injection attacks in MCP agents?▼

To prevent prompt injection in MCP agents, you apply input and output sanitization alongside taint tracking during external-server interactions to detect and constrain malicious payloads before execution.

What is tool shadowing in MCP and how do I stop it?▼

Tool shadowing in MCP occurs when untrusted external servers dynamically override trusted tool definitions. You stop it by pinning tool definitions to trusted versions to prevent runtime changes.

How do I enforce an allowlist for high-risk actions in MCP agents?▼

You enforce an allowlist for high-risk actions in MCP agents by applying scoped credentials and policy boundaries during agent-server interactions, ensuring only explicitly approved tools execute.

Can I add human-in-the-loop controls to secure MCP server connections?▼

Yes, you can add human-in-the-loop controls to secure MCP server connections by configuring policy enforcement rules that require explicit human approval for high-risk actions and credential usage.

Does this tool mitigate dynamic capability injection from untrusted MCP servers?▼

Yes, this tool mitigates dynamic capability injection from untrusted MCP servers by detecting tool name collisions, enforcing policy boundaries, and pinning trusted tool versions during runtime interactions.