Skip to content

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.

Terminal window
nestweaver setup

This 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:

ToolConfig PathNotes
Claude Code.mcp.json + .claude/settings.jsonDeepest integration — includes enrichment hooks
HermesAgent.hermes/config.jsonIgnored by HermesAgent today; configure ~/.hermes/config.yaml by hand
Cursor.cursor/mcp.jsonSetup writes the 6-tool lite mode
Codex.codex/config.tomlAlso writes AGENTS.md
Windsurf~/.codeium/windsurf/mcp_config.jsonGlobal config
JetBrains.junie/mcp/mcp.json
VS Code.vscode/mcp.jsonUnder the servers key
Gemini CLI.gemini/settings.json
GitHub Copilot.vscode/mcp.jsonUnder 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
OpenCodeopencode.jsonUnder the mcp key
Trae.trae/config.jsonPath not confirmed by Trae’s docs; check Trae’s MCP settings
Devindevin.jsonDevin reads .devin/mcp_config.json; add the entry there by hand

Some MCP-compatible tools require manual configuration:

  • OpenClaw — Configure via openclaw mcp add CLI or edit ~/.openclaw/openclaw.json directly

For any MCP-compatible tool not listed above, add NestWeaver as a stdio MCP server. The command is:

Terminal window
nestweaver mcp --db /path/to/your.lbug

Most 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.

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:

Terminal window
nestweaver mcp --lite --db /path/to/your.lbug

The 6 lite-mode tools are: brain_context, brain_search, brain_impact, brain_status, brain_guide, and detect_changes.

Allowlist — specific tools by name:

Terminal window
nestweaver mcp --tools brain_context,brain_search,read_symbols,blast_radius --db /path/to/your.lbug

Additional MCP flags:

FlagDescription
--liteExpose only the 6 core tools
--tools <list>Comma-separated allowlist of tool names
--track-interactionsEnable usage-based ranking (learns from query patterns over time)
--config <path>Load instance config for [limits], [response], [ranking] settings

NestWeaver can generate agent instruction files tailored to your codebase:

Terminal window
nestweaver generate-guide --format markdown --db ./your.lbug --output ./guide.md
nestweaver generate-guide --format claude-md --db ./your.lbug --output ./CLAUDE.md
nestweaver generate-guide --format cursor-rule --db ./your.lbug
nestweaver generate-guide --format agents-md --db ./your.lbug
nestweaver generate-guide --format skill --db ./your.lbug

Available 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.

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.