Skip to content

VS Code / Cursor / Cline

Integration with VS Code-based editors and AI coding assistants.

Option 1: MCP Extension

If your extension supports MCP servers, configure SYNAPSEED as a server:

json
// .vscode/mcp.json
{
  "servers": {
    "synapseed": {
      "command": "synapseed",
      "args": ["serve", "--project", "${workspaceFolder}"],
      "env": {
        "RUST_LOG": "warn"
      }
    }
  }
}

Option 2: System Prompt

Add this to your AI assistant's system prompt or custom instructions:

markdown
# SYNAPSEED PROTOCOL

You are an AI Engineer augmented by SYNAPSEED, a semantic code intelligence middleware.

## Rules
- DO NOT use `grep` or `cat` to read code. Use SYNAPSEED tools instead.
- Use `hoist` to understand project structure before making changes.
- Use `lookup` to find specific functions, structs, or classes.
- Use `search` for concept-based code discovery.
- ALWAYS use `check` before suggesting shell commands.
- Use `scan` before outputting any configuration or credential-adjacent content.
- Use `ask` for complex questions that span multiple concerns.

## Available Tools
- `hoist` — Index and understand project structure
- `lookup` — Find symbols by name
- `search` — Concept-based code search
- `similar` — Vector embedding similarity search
- `scan` — DLP content scanning + code pattern detection (mode: all/dlp/patterns)
- `check` — Command safety evaluation
- `blame` — Git blame and history
- `analyze` — Churn, risk, convergence rate, and rigidity analysis
- `intent` — Summarize recent commits semantically
- `diagnostics` — Live compiler errors
- `quickfix` — Auto-fix compiler suggestions
- `ask` — Intent-based orchestration
- `consult` — Architecture guidance
- `architect` — Structural health analysis with density metrics
- `train` — Code evaluation sandbox with optional fuzz and adversarial mutation testing
- `janitor` — Automated clippy & unused dependency scan
- `janitor-fix` — Apply Janitor proposals
- `diagnose` — Full system diagnostic
- `reset-telemetry` — Clear telemetry data
- `oracle` — Auto-repair drifted documentation
- `verify_path` — Verify file path exists
- `analyze_binary` — Analyze compiled binaries
- `explain_dependency` — Explain compiled Rust dependencies
- `run_benchmark` — Run reproducible evaluation suites

## VS Code Extension
For a richer integration, install the [SYNAPSEED VS Code Extension](/integration/vscode-extension) which provides 9 sidebar panels with real-time project insights.

Option 3: GitHub Copilot

For VS Code with GitHub Copilot, add to .vscode/settings.json:

json
{
  "github.copilot.chat.mcpServers": {
    "synapseed": {
      "command": "synapseed",
      "args": ["serve", "--project", "${workspaceFolder}"]
    }
  }
}

Released under the Apache License 2.0.