- The 6 most common mistakes when working with MCP (Model Context Protocol): overly broad permissions, untrusted servers, Prompt Injection, and how to connect tools to AI safely.
Most MCP security problems stem from overly broad permissions. Give each server only the access it actually needs.
Most MCP problems come from overly broad permissions and connecting untrusted servers, not from the protocol itself. MCP (Model Context Protocol) is safe when used correctly. Here are 6 common mistakes and how to avoid them.
1. Overly Broad Permissions
An MCP server with full system access is dangerous. The fix: minimal permissions, read before write, and access only to what is actually needed. Background in the MCP guide.
2. Connecting Untrusted Servers
Installing any random server without vetting it first. The fix: connect only servers from recognized sources, and check reputation and code. See 10 Recommended MCP Servers.
3. Ignoring Prompt Injection
A server that fetches external content (websites, emails) can return text containing malicious instructions. The fix: connect from trusted sources only, and apply controls on incoming content.
4. No Human in the Loop for Sensitive Actions
Letting an agent perform irreversible actions on its own. The fix: require human approval before actions like deletion, payment, or sending.
5. Storing Keys in Code
Hardcoding API keys directly in the code. The fix: environment variables or a secure secrets manager.
6. Unnecessary Server Sprawl
Connecting dozens of servers "just in case." The fix: only what you actually need. Every server adds attack surface and permission overhead.
The bottom line
MCP is safe when built correctly: minimal permissions, trusted sources, and human oversight. Want to connect your tools to AI securely? That is part of AI implementation in your organization. Talk to us.

