VSCode Devtools logo

VSCode Devtools

Free

连接到 VSCode IDE 并使用语义工具,如 `find_usages`。

FreeFree tier
Type
Open Source

About VSCode Devtools

Bifrost is a VS Code extension that exposes a Model Context Protocol (MCP) server, enabling AI coding assistants to leverage VSCode's powerful development tools and language features. It provides advanced code navigation (find references, definitions, implementations), symbol search, code analysis (semantic tokens, document symbols), smart selection using semantic ranges, and code actions (refactoring suggestions, quick fixes). The server runs over HTTP/SSE on localhost:8008 and can be integrated with AI assistants like Cursor, Cline, and Roo Code. It supports multi-project setups and works with any language supported by VSCode's language server.

Key Features

Language Server Integration: Access VSCode's language server capabilities for any supported language
Code Navigation: Find references, definitions, implementations, and more
Symbol Search: Search for symbols across your workspace
Code Analysis: Get semantic tokens, document symbols, and type information
Smart Selection: Use semantic selection ranges for intelligent code selection
Code Actions: Access refactoring suggestions and quick fixes
HTTP/SSE Server: Exposes language features over an MCP-compatible HTTP server
AI Assistant Integration: Ready to work with AI assistants that support the MCP protocol
Multi-Project Support: Works with multiple projects simultaneously

Pros & Cons

Pros
  • Bridges VSCode's rich language features to any MCP-compatible AI assistant
  • Easy to set up: install extension, configure assistant to connect to localhost:8008
  • Supports all languages that VSCode supports via language servers
  • Free and open source (MIT license implied)
  • Provides multiple semantic tools out of the box (find usages, rename, etc.)
Cons
  • Requires a locally running VS Code instance with the extension active
  • Only works with AI assistants that support the Model Context Protocol (MCP)
  • Setup requires manual configuration of SSE endpoints for each assistant
  • Limited to code features available in the user's VS Code environment and installed extensions

Best For

Enhancing AI code assistants with deep code understanding and navigationAutomating code refactoring and quick fixes via AIRetrieving semantic code context (definitions, references) for AI promptsPowering IDE-like code features in AI chat interfacesBuilding custom development tools that leverage VSCode language servers

FAQ

How do I install Bifrost?
Install the Bifrost extension from the VS Code marketplace. Then install any language-specific extensions you need for your development. The extension automatically starts an MCP server on port 8008 by default.
How do I connect an AI assistant to Bifrost?
Configure your MCP-compatible AI assistant to connect to the SSE endpoint at http://localhost:8008/sse and message endpoint at http://localhost:8008/message. Specific configurations for Cursor, Cline, and Roo Code are provided in the repository documentation.
What tools does Bifrost expose?
It exposes tools like find references, find definitions, find implementations, symbol search, semantic tokens, document symbols, smart selection ranges, and code actions (refactoring, quick fixes).
Is Bifrost free?
Yes, Bifrost is free and open source under the MIT license (as indicated by the LICENSE file in the repository).