Skip to content

AI Tool Integrations

NestWeaver integrates with 16 AI coding tools through a single nestweaver setup command. It auto-detects which tools are installed in your project directory and writes the appropriate MCP server configuration for each one, so every tool gets access to your codebase graph immediately.

ToolConfig FileWhat Setup Writes
Claude Code.mcp.jsonMCP server config, skill file (.claude/skills/nestweaver/SKILL.md), hooks (.claude/settings.json)
Cursor.cursor/mcp.jsonMCP server (lite mode: 6 tools), agent rules (.cursor/rules/nestweaver.mdc)
Codex.codex/config.tomlMCP server config, codebase guide (AGENTS.md)
Windsurf~/.codeium/windsurf/mcp_config.jsonMCP server config
JetBrains.junie/mcp/mcp.jsonMCP server config
VS Code.vscode/mcp.jsonMCP server config
Gemini CLI.gemini/settings.jsonMCP server config
GitHub Copilot.github/copilot-mcp.jsonMCP server config, instructions (.github/copilot-instructions.md)
Aider.aider.conf.ymlRepo-map reference
Kiro.kiro/settings.jsonMCP server config
Continue.dev.continue/config.jsonMCP server config
Cline.cline/settings.jsonMCP server config
OpenCode.opencode/config.jsonMCP server config
Trae.trae/config.jsonMCP server config
Devindevin.jsonMCP server config
Hermes.hermes/config.jsonMCP server config
Terminal window
# Auto-detect and configure all installed tools
nestweaver setup
# Configure a specific tool only
nestweaver setup --tool claude-code
# Force-regenerate customized files (skill, cursor rules, etc.)
nestweaver setup --force

Setup is safe to run repeatedly. It merges into existing config files without overwriting your other settings, and skips files that already have NestWeaver configured. Deprecated MCP arguments are automatically stripped on re-runs.

For most tools, setup writes a single MCP server entry into the tool’s config file. The entry tells the tool how to launch the NestWeaver MCP server:

{
"mcpServers": {
"nestweaver": {
"command": "nestweaver",
"args": ["mcp", "--db", "./nestweaver.lbug"]
}
}
}

Claude Code gets additional setup beyond the MCP config:

  • A skill file at .claude/skills/nestweaver/SKILL.md that teaches Claude Code how to use NestWeaver’s tools effectively
  • Hooks in .claude/settings.json — a SessionStart hook that prints brain status so the agent knows the graph is available, and a PreToolUse hook on Bash that suggests graph alternatives when the agent falls back to grep/find

Cursor gets lite mode by default (6 core tools instead of 40) to stay within Cursor’s tool limits, plus an agent rules file at .cursor/rules/nestweaver.mdc.

Codex gets an AGENTS.md codebase guide alongside the MCP config in .codex/config.toml.

GitHub Copilot gets an instructions file at .github/copilot-instructions.md.

If you prefer to configure NestWeaver manually or need to customize the setup, add the MCP server entry to your tool’s config file directly.

For any tool that uses JSON MCP config:

{
"mcpServers": {
"nestweaver": {
"command": "nestweaver",
"args": ["mcp", "--db", "/absolute/path/to/nestweaver.lbug"]
}
}
}

For Codex (TOML format):

[mcp_servers.nestweaver]
command = "nestweaver"
args = ["mcp", "--db", "/absolute/path/to/nestweaver.lbug"]

For Aider (YAML format):

# NestWeaver code intelligence
repo-map: nestweaver mcp --db /absolute/path/to/nestweaver.lbug

Cursor and other tools with low tool-count limits can use lite mode, which exposes 6 core tools instead of the full 40:

Terminal window
nestweaver mcp --lite --db ./nestweaver.lbug

Lite mode is automatically used when setup configures Cursor. You can also use it manually for any tool where you want a smaller surface area.

For fine-grained control, pass --tools with a comma-separated list to expose only the specific tools you need:

Terminal window
nestweaver mcp --tools brain_context,read_symbols,blast_radius --db ./nestweaver.lbug

This is useful when you want more than lite mode’s 6 tools but fewer than the full 40, or when you want to tailor the available tools to a specific workflow.

Setup auto-detects tools by checking for their config directories and binaries:

ToolDetection Method
Claude Code.claude/ directory or claude binary in PATH
Cursor.cursor/ directory
Codexcodex binary in PATH
Windsurf~/.codeium/ directory
JetBrains.idea/ or .junie/ directory
VS Code.vscode/ directory
Gemini CLI.gemini/ directory or gemini binary in PATH
GitHub Copilot.github/copilot-mcp.json, .github/copilot-instructions.md, or gh binary in PATH
Aider.aider.conf.yml or aider binary in PATH
Kiro.kiro/ directory or kiro binary in PATH
Continue.dev.continue/ directory
Cline.cline/ directory
OpenCode.opencode/ directory or opencode binary in PATH
Trae.trae/ directory
Devindevin.json or devin binary in PATH
Hermes.hermes/ directory or hermes binary in PATH

Use --force to configure all 16 tools regardless of detection, which is useful when setting up a shared repository before other team members have installed their tools.