Bridge IDE refactoring capabilities to AI coding tools
Project description
IDE Bridge
Bridge IDE refactoring capabilities to AI coding tools
IDE Bridge exposes your IDE's semantic operations (rename, find references, go to definition) to AI coding assistants like Claude Code, enabling accurate refactoring without text-based search/replace.
Why?
| Operation | Without IDE Bridge | With IDE Bridge |
|---|---|---|
| Rename variable | grep + sed (breaks strings/comments) | Semantic rename (100% accurate) |
| Find references | Text search (false positives) | Actual code references only |
| Go to definition | Search for "def X" (misses re-exports) | Exact definition location |
Quick Start
Plugin-First Installation (Recommended)
- Install the IDE Bridge extension from VS Code Marketplace
- The extension will guide you through Claude Code integration
- Done! Claude Code now has access to IDE refactoring tools
Manual Installation
# Install Python package
pip install ide-bridge
# Register with Claude Code
ide-bridge mcp install
# Verify connection
ide-bridge status
Usage
CLI
# Rename a symbol
ide-bridge rename symbol src/main.py 42 10 newName
# Find all references
ide-bridge refs find src/main.py 42 10
# Go to definition
ide-bridge definition find src/main.py 42 10
With Claude Code
Once installed, Claude Code automatically discovers IDE Bridge tools:
User: Rename the getUserById function to fetchUser
Claude: I'll use the IDE's rename functionality to safely rename this.
[Uses ide_rename_symbol]
Done! Renamed in 4 files.
Architecture
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ Claude Code │────▶│ IDE Bridge │────▶│ VSCode │
│ (MCP) │ │ (Sidecar) │ │ (Extension) │
└─────────────┘ └─────────────┘ └─────────────┘
- MCP Server: Primary integration for Claude Code
- CLI: Universal access for any AI tool
- WebSocket: Low-latency communication with IDE
Documentation
| Document | Description |
|---|---|
| ARCHITECTURE.md | System design |
| IMPLEMENTATION_GUIDE.md | Build guide |
| USAGE_GUIDE.md | Usage examples |
| TECHNOLOGY_DECISIONS.md | Tech stack rationale |
Development
# Clone
git clone https://github.com/GvsSriRam/Claude_IDE_Bridge
cd Claude_IDE_Bridge
# Install Python dependencies
uv sync --all-extras --dev
# Install VSCode extension dependencies
cd packages/adapters/vscode && npm install && npm run build
cd ../../..
# Run tests
uv run pytest
# Type check
uv run mypy packages/ide-bridge/src
# Lint
uv run ruff check .
Project Structure
ide-bridge/
├── packages/
│ ├── ide-bridge/ # Single Python package
│ │ ├── src/ide_bridge/
│ │ │ ├── core/ # Models, protocols, engine
│ │ │ ├── cli/ # CLI interface (Typer)
│ │ │ ├── mcp/ # MCP server (FastMCP)
│ │ │ ├── providers/ # IDE providers (VSCode, etc.)
│ │ │ └── transports/ # Communication (WebSocket)
│ │ └── tests/
│ └── adapters/
│ └── vscode/ # VSCode extension (TypeScript)
└── docs/ # Documentation
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ide_bridge-0.2.0-py3-none-any.whl.
File metadata
- Download URL: ide_bridge-0.2.0-py3-none-any.whl
- Upload date:
- Size: 37.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c0fb0698ef13c15b4accdecdf81974476dcd92112000f600e0b162340eff27a4
|
|
| MD5 |
6529e654468c51c6a72d97163992d945
|
|
| BLAKE2b-256 |
30e78c83951944b449d7aeeb036b879e526a8fd70abd9c7a2279111205f3a817
|