Skip to content

Add defer_loading: true to installer MCP configs#189

Merged
malcolndandaro merged 1 commit intomainfrom
feat/defer-loading
Feb 26, 2026
Merged

Add defer_loading: true to installer MCP configs#189
malcolndandaro merged 1 commit intomainfrom
feat/defer-loading

Conversation

@calreynolds
Copy link
Collaborator

@calreynolds calreynolds commented Feb 26, 2026

Claude docs: https://www.anthropic.com/engineering/advanced-tool-use#:~:text=How%20the%20Tool%20Search%20Tool%20works

Basically, this should reduce the amount of context that our skills take when installed and make the llm selectively use them

Summary

  • Adds "defer_loading": true to the MCP JSON configs generated by install.sh for Claude Code and Cursor
  • This was already documented in the README and used in the repo's own .mcp.json, but the installer wasn't setting it for end users
  • Improves startup time by deferring tool loading until tools are actually needed

Test plan

  • Run install.sh with --tools claude and verify .mcp.json includes defer_loading: true
  • Run install.sh with --tools cursor and verify .cursor/mcp.json includes defer_loading: true
  • Verify existing configs are updated correctly (Python JSON merger path)
  • Verify fresh installs include it (heredoc fallback path)

Made with Cursor

Improves startup time for Claude Code and Cursor by deferring
tool loading. This was documented in the README but not actually
set by the installer.

Made-with: Cursor
Copy link
Collaborator

@malcolndandaro malcolndandaro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGMT!! nice find!

@malcolndandaro malcolndandaro merged commit b168a6d into main Feb 26, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants