
Mcp Config
If you've ever wondered why MCPs are loading in every Claude Code session and eating your context budget, this is your fix. The key insight: never put MCP servers in the global mcpServers section of ~/.claude.json. Instead, use project-level .mcp.json files so MCPs only load when you're actually working in that project. The skill walks through checking all three config locations (user config, project config, settings.json), moving servers to the right place, and cleaning up permission overrides that can silently re-enable things. It's essentially a field guide to the MCP config priority system, with ready-to-run Python snippets for each cleanup task.
- skills.sh installs
- 505
- GitHub stars
- 5.2K
- last updated
- Mar 26, 2026
Install
$ npx -y skills add libukai/awesome-agent-skills --skill mcp-config --agent claude-codeInstalls into .claude/skills of the current project.
Files
If you've ever wondered why MCPs are loading in every Claude Code session and eating your context budget, this is your fix. The key insight: never put MCP servers in the global mcpServers section of ~/.claude.json. Instead, use project-level .mcp.json files so MCPs only load when you're actually working in that project. The skill walks through checking all three config locations (user config, project config, settings.json), moving servers to the right place, and cleaning up permission overrides that can silently re-enable things. It's essentially a field guide to the MCP config priority system, with ready-to-run Python snippets for each cleanup task.
Browse the repository on GitHubSponsors
Details
- Repository
- github.com/libukai/awesome-agent-skills
- Category
- AI & Agent Building
- First seen
- Jun 11, 2026