MCP HubMCP Hub
biegehydra

BifrostMCP

by: biegehydra

VSCode Extension with an MCP server that exposes semantic tools like Find Usages and Rename to LLMs

68created 06/03/2025
Visit
VSCode
LLM

📌Overview

Purpose: The Bifrost VSCode extension aims to provide a Model Context Protocol (MCP) server that integrates VSCode's development tools with AI coding assistants, enhancing code navigation and manipulation capabilities.

Overview: Bifrost serves as a bridge between VSCode's powerful development environment and AI tools by exposing a range of language features and functionalities through the MCP protocol. This allows users to leverage advanced coding capabilities while working with AI assistants.

Key Features:

  • Language Server Integration: Leverages VSCode's language server features for supported programming languages, facilitating improved coding experiences.

  • Code Navigation: Enables easy access to references, definitions, and implementations, streamlining code exploration.

  • Symbol Search: Provides functionality to quickly find symbols across the entire workspace, making project management efficient.

  • Code Analysis: Offers detailed semantic token information and document symbols, aiding in understanding code structure.

  • Smart Selection: Facilitates intelligent code selection through semantic selection ranges, enhancing editing precision.

  • Code Actions: Provides refactoring suggestions and quick fixes, promoting cleaner and more maintainable code.

  • HTTP/SSE Server: Exposes language features through a MCP-compatible HTTP server for seamless integration with AI assistants.

  • AI Assistant Integration: Specifically designed to work well with any AI tools that support the MCP protocol, expanding the capabilities of coding assistants.


Bifrost - VSCode Dev Tools MCP Server

This VS Code extension provides a Model Context Protocol (MCP) server that exposes VSCode's powerful development tools and language features to AI tools. It enables advanced code navigation, analysis, and manipulation capabilities when using AI coding assistants that support the MCP protocol.

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.

Installation

  1. Install this extension from the VS Code marketplace.
  2. Install any language-specific extensions needed for your development.
  3. Open your project in VS Code.

Usage

The extension will automatically start an MCP server when activated on port 8008 by default. To configure an AI assistant to use this server, connect to:

  • SSE endpoint: http://localhost:8008/sse
  • Message endpoint: http://localhost:8008/message

Available Commands

  • Bifrost MCP: Start Server - Manually start the MCP server.
  • Bifrost MCP: Stop Server - Stop the running MCP server.
  • Bifrost MCP: Open Debug Panel - Open the debug panel to test available tools.

Available Tools

The extension provides access to many VSCode language features including:

  • find_usages: Locate all symbol references.
  • go_to_definition: Jump to symbol definitions.
  • find_implementations: Discover implementations.
  • get_hover_info: Get rich symbol docs on hover.
  • get_document_symbols: Outline all symbols in a file.
  • get_workspace_symbols: Search symbols across your entire workspace.

Debugging

Use the MCP: Open Debug Panel command to assist with troubleshooting.

Troubleshooting

If you encounter issues:

  1. Ensure you have the appropriate language extensions installed.
  2. Verify that port 8008 is available on your system.
  3. Check the VSCode output panel for any error messages.

Contributing

Feel free to submit issues or pull requests to the GitHub repository.

License

This extension is licensed under the APGL-3.0 License.