Integrations Overview
NestWeaver integrates with any AI tool that supports the Model Context Protocol (MCP). Run nestweaver setup to auto-configure supported tools, or add NestWeaver as an MCP server manually.
One-command setup
Section titled “One-command setup”nestweaver setupThis auto-detects installed AI tools and writes the MCP server configuration for each one, with the database as an absolute path. It reports each file it wrote, and exits non-zero if any tool failed. It currently supports 16 adapters. A written file is not proof that the client loaded it; follow the manual steps where noted and verify activation:
| Tool | Config Path | Notes |
|---|---|---|
| Claude Code | .mcp.json + .claude/settings.json | Deepest integration — includes enrichment hooks |
| HermesAgent | .hermes/config.json | Ignored by HermesAgent today; configure ~/.hermes/config.yaml by hand |
| Cursor | .cursor/mcp.json | Setup writes the 6-tool lite mode |
| Codex | .codex/config.toml | Also writes AGENTS.md |
| Windsurf | ~/.codeium/windsurf/mcp_config.json | Global config |
| JetBrains | .junie/mcp/mcp.json | |
| VS Code | .vscode/mcp.json | Under the servers key |
| Gemini CLI | .gemini/settings.json | |
| GitHub Copilot | .vscode/mcp.json | Under servers; also .github/copilot-instructions.md |
| Aider | — | No MCP client; setup writes nothing |
| Kiro | .kiro/settings/mcp.json | |
| Continue.dev | .continue/mcpServers/nestweaver.json | |
| Cline | — | Setup prints the entry to add in Cline’s panel |
| OpenCode | opencode.json | Under the mcp key |
| Trae | .trae/config.json | Path not confirmed by Trae’s docs; check Trae’s MCP settings |
| Devin | devin.json | Devin reads .devin/mcp_config.json; add the entry there by hand |
Tools not covered by setup
Section titled “Tools not covered by setup”Some MCP-compatible tools require manual configuration:
- OpenClaw — Configure via
openclaw mcp addCLI or edit~/.openclaw/openclaw.jsondirectly
Manual configuration
Section titled “Manual configuration”For any MCP-compatible tool not listed above, add NestWeaver as a stdio MCP server. The command is:
nestweaver mcp --db /path/to/your.lbugMost tools use a JSON config like:
{ "command": "nestweaver", "args": ["mcp", "--db", "/path/to/your.lbug"]}The exact config format varies by tool — see the individual integration guides for details.
Tool filtering
Section titled “Tool filtering”NestWeaver exposes 43 MCP tools by default. If your tool has limited tool slots or you want a focused set:
Lite mode — 6 core tools:
nestweaver mcp --lite --db /path/to/your.lbugThe 6 lite-mode tools are: brain_context, brain_search, brain_impact, brain_status, brain_guide, and detect_changes.
Allowlist — specific tools by name:
nestweaver mcp --tools brain_context,brain_search,read_symbols,blast_radius --db /path/to/your.lbugAdditional MCP flags:
| Flag | Description |
|---|---|
--lite | Expose only the 6 core tools |
--tools <list> | Comma-separated allowlist of tool names |
--track-interactions | Enable usage-based ranking (learns from query patterns over time) |
--config <path> | Load instance config for [limits], [response], [ranking] settings |
Guide generation
Section titled “Guide generation”NestWeaver can generate agent instruction files tailored to your codebase:
nestweaver generate-guide --format markdown --db ./your.lbug --output ./guide.mdnestweaver generate-guide --format claude-md --db ./your.lbug --output ./CLAUDE.mdnestweaver generate-guide --format cursor-rule --db ./your.lbugnestweaver generate-guide --format agents-md --db ./your.lbugnestweaver generate-guide --format skill --db ./your.lbugAvailable formats: markdown (default), claude-md, cursor-rule, agents-md, skill. Without --output the guide is printed to stdout. --output creates the file with <!-- nestweaver:begin --> / <!-- nestweaver:end --> markers when it is missing, and afterwards replaces only the text between them; it refuses an existing file without exactly one pair of markers.
These files give the agent a head start — architecture overview, key entry points, and conventions derived from the graph.
Verify after setup or an upgrade
Section titled “Verify after setup or an upgrade”Use the same absolute --db for indexing, setup and queries. Preserve the usual
--config binding on commands that accept it; setup accepts --db but no
--config option. Reconnect the client and inspect tool discovery (43 full tools, six in
lite mode, or your explicit allowlist), then query brain_status, a known symbol
with brain_search and its caller with brain_impact. A written config or a
successful CLI command alone does not prove MCP activation. See the
verification walkthrough and
12.2.8 upgrade procedure.
The package’s mcpName and server.json prepare official MCP Registry identity;
installation does not create a registry listing. See the separate
registry checklist.