MCP Best Practices
MCP Best Practices
- Don't install too many servers. Every tool description eats context.
- Scope servers:
--scope userfor universal,.mcp.jsonfor project-specific. - Only install servers you trust. They can read files, run code, make API calls.
- Pin versions in production:
npx -y package@1.2.3, not justnpx -y package. - Remove or disable servers you're not actively using.
Related: MCP, MCP Configuration, Context