Bifrost

Bifrost

VSCode Dev Tools exposed via the Model Context Protocol for AI tool integration.

184
Stars
33
Forks
184
Watchers
8
Issues
Bifrost is a Visual Studio Code extension that launches a Model Context Protocol (MCP) server, enabling external AI coding assistants to access advanced code navigation, analysis, and manipulation features from VSCode. It exposes language server capabilities, symbol search, semantic code analysis, and refactoring tools through MCP-compatible HTTP and SSE endpoints. The extension is designed for seamless integration with AI assistants, supporting multi-project environments and configuration via JSON files.

Key Features

Exposes VSCode's language server protocol capabilities to external tools
Provides an MCP-compatible HTTP and SSE server
Advanced code navigation (references, definitions, implementations)
Workspace-wide symbol search
Semantic tokens and document symbol analysis
Smart semantic selection features
Code actions including refactoring suggestions and quick fixes
Supports multi-project environments
Configurable via bifrost.config.json and project files
Sample rules and integration guidance for various AI assistants

Use Cases

Integrating AI coding assistants with VSCode's development tools
Providing LLMs with context-aware code analysis and navigation data
Enabling AI-driven refactoring and code manipulation in projects
Supporting multi-language codebases with language server integration
Facilitating advanced symbol and type searches for AI assistants
Assisting in automated code review workflows using AI
Enhancing AI-based autocomplete and code generation with detailed context
Improving developer productivity through AI-augmented coding
Customizing code selection logic for AI with semantic ranges
Connecting external tools to VSCode's context via standardized protocol endpoints

README

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.

image

Table of Contents

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

Usage

Installation

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

Configuration

The extension will automatically start an MCP server when activated. To configure an AI assistant to use this server:

  1. The server runs on port 8008 by default (configurable with bifrost.config.json)
  2. Configure your MCP-compatible AI assistant to connect to:
    • SSE endpoint: http://localhost:8008/sse
    • Message endpoint: http://localhost:8008/message

LLM Rules

I have also provided sample rules that can be used in .cursorrules files for better results.

Example Cursor Rules

Example MDC Rules

Cline Installation

  • Step 1. Install Supergateway
  • Step 2. Add config to cline
  • Step 3. It will show up red but seems to work fine

Windows Config

json
{
  "mcpServers": {
    "Bifrost": {
      "command": "cmd",
      "args": [
        "/c",
        "npx",
        "-y",
        "supergateway",
        "--sse",
        "http://localhost:8008/sse"
      ],
      "disabled": false,
      "autoApprove": [],
      "timeout": 600
    }
  }
}

Mac/Linux Config

json
{
  "mcpServers": {
    "Bifrost": {
      "command": "npx",
      "args": [
        "-y",
        "supergateway",
        "--sse",
        "http://localhost:8008/sse"
      ],
      "disabled": false,
      "autoApprove": [],
      "timeout": 600
    }
  }
}

Roo Code Installation

  • Step 1: Add the SSE config to your global or project-based MCP configuration
json
{
  "mcpServers": {
    "Bifrost": {
      "url": "http://localhost:8008/sse"
    }
  }
}

Screenshot_78

Follow this video to install and use with cursor

FOR NEW VERSIONS OF CURSOR, USE THIS CODE

json
{
  "mcpServers": {
    "Bifrost": {
      "url": "http://localhost:8008/sse"
    }
  }
}

Multiple Project Support

When working with multiple projects, each project can have its own dedicated MCP server endpoint and port. This is useful when you have multiple VS Code windows open or are working with multiple projects that need language server capabilities.

Project Configuration

Create a bifrost.config.json file in your project root:

json
{
    "projectName": "MyProject",
    "description": "Description of your project",
    "path": "/my-project",
    "port": 5642
}

The server will use this configuration to:

  • Create project-specific endpoints (e.g., http://localhost:5642/my-project/sse)
  • Provide project information to AI assistants
  • Use a dedicated port for each project
  • Isolate project services from other running instances

Example Configurations

  1. Backend API Project:
json
{
    "projectName": "BackendAPI",
    "description": "Node.js REST API with TypeScript",
    "path": "/backend-api",
    "port": 5643
}
  1. Frontend Web App:
json
{
    "projectName": "FrontendApp",
    "description": "React frontend application",
    "path": "/frontend-app",
    "port": 5644
}

Port Configuration

Each project should specify its own unique port to avoid conflicts when multiple VS Code instances are running:

  • The port field in bifrost.config.json determines which port the server will use
  • If no port is specified, it defaults to 8008 for backwards compatibility
  • Choose different ports for different projects to ensure they can run simultaneously
  • The server will fail to start if the configured port is already in use, requiring you to either:
    • Free up the port
    • Change the port in the config
    • Close the other VS Code instance using that port

Connecting to Project-Specific Endpoints

Update your AI assistant configuration to use the project-specific endpoint and port:

json
{
  "mcpServers": {
    "BackendAPI": {
      "url": "http://localhost:5643/backend-api/sse"
    },
    "FrontendApp": {
      "url": "http://localhost:5644/frontend-app/sse"
    }
  }
}

Backwards Compatibility

If no bifrost.config.json is present, the server will use the default configuration:

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

This maintains compatibility with existing configurations and 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 instantly.
  • find_implementations: Discover implementations of interfaces/abstract methods.
  • get_hover_info: Get rich symbol docs on hover.
  • get_document_symbols: Outline all symbols in a file.
  • get_completions: Context-aware auto-completions.
  • get_signature_help: Function parameter hints and overloads.
  • get_rename_locations: Safely get location of places to perform a rename across the project.
  • rename: Perform rename on a symbol
  • get_code_actions: Quick fixes, refactors, and improvements.
  • get_semantic_tokens: Enhanced highlighting data.
  • get_call_hierarchy: See incoming/outgoing call relationships.
  • get_type_hierarchy: Visualize class and interface inheritance.
  • get_code_lens: Inline insights (references, tests, etc.).
  • get_selection_range: Smart selection expansion for code blocks.
  • get_type_definition: Jump to underlying type definitions.
  • get_declaration: Navigate to symbol declarations.
  • get_document_highlights: Highlight all occurrences of a symbol.
  • get_workspace_symbols: Search symbols across your entire workspace.

Requirements

  • Visual Studio Code version 1.93.0 or higher
  • Appropriate language extensions for the languages you want to work with (e.g., C# extension for C# files)

Available Commands

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

image

Star History

Star History Chart

Example Tool Usage

Find References

json
{
  "name": "find_usages",
  "arguments": {
    "textDocument": {
      "uri": "file:///path/to/your/file"
    },
    "position": {
      "line": 10,
      "character": 15
    },
    "context": {
      "includeDeclaration": true
    }
  }
}

Workspace Symbol Search

json
{
  "name": "get_workspace_symbols",
  "arguments": {
    "query": "MyClass"
  }
}

Troubleshooting

If you encounter issues:

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

Contributing

Here are Vscodes commands if you want to add additional functionality go ahead. I think we still need rename and a few others. Please feel free to submit issues or pull requests to the GitHub repository.

vsce package

Debugging

Use the MCP: Open Debug Panel command image

License

This extension is licensed under the APGL-3.0 License.

Star History

Star History Chart

Repository Owner

biegehydra
biegehydra

User

Repository Details

Language TypeScript
Default Branch master
Size 411 KB
Contributors 5
License GNU Affero General Public License v3.0
MCP Verified Nov 12, 2025

Programming Languages

TypeScript
97.72%
JavaScript
2.28%

Tags

Topics

cline cursor cursor-ai developer-tools mcp mcp-server vscode vscode-extension windsurf

Join Our Newsletter

Stay updated with the latest AI tools, news, and offers by subscribing to our weekly newsletter.

We respect your privacy. Unsubscribe at any time.

Related MCPs

Discover similar Model Context Protocol servers

  • Azure MCP Server

    Azure MCP Server

    Connect AI agents with Azure services through Model Context Protocol.

    Azure MCP Server provides a seamless interface between AI agents and Azure services by implementing the Model Context Protocol (MCP) specification. It enables integration with tools like GitHub Copilot for Azure and supports a wide range of Azure resource management tasks directly via conversational AI interfaces. Designed for extensibility and compatibility, it offers enhanced contextual capabilities for agents working with Azure environments.

    • 1,178
    • MCP
    • Azure/azure-mcp
  • Webvizio MCP Server

    Webvizio MCP Server

    Bridge between Webvizio feedback and AI coding agents via the Model Context Protocol

    Webvizio MCP Server is a TypeScript-based server implementing the Model Context Protocol to securely and efficiently interface with the Webvizio API. It transforms web page feedback and bug reports into structured, actionable developer tasks, providing AI coding agents with comprehensive task context and data. It offers methods to fetch project and task details, retrieve logs and screenshots, and manage task statuses. The server standardizes communication between Webvizio and AI agent clients, facilitating automated issue resolution.

    • 4
    • MCP
    • Webvizio/mcp
  • Exa MCP Server

    Exa MCP Server

    Fast, efficient web and code context for AI coding assistants.

    Exa MCP Server provides a Model Context Protocol (MCP) server interface that connects AI assistants to Exa AI’s powerful search capabilities, including code, documentation, and web search. It enables coding agents to retrieve precise, token-efficient context from billions of sources such as GitHub, StackOverflow, and documentation sites, reducing hallucinations in coding agents. The platform supports integration with popular tools like Cursor, Claude, and VS Code through standardized MCP configuration, offering configurable access to various research and code-related tools via HTTP.

    • 3,224
    • MCP
    • exa-labs/exa-mcp-server
  • Vectorize MCP Server

    Vectorize MCP Server

    MCP server for advanced vector retrieval and text extraction with Vectorize integration.

    Vectorize MCP Server is an implementation of the Model Context Protocol (MCP) that integrates with the Vectorize platform to enable advanced vector retrieval and text extraction. It supports seamless installation and integration within development environments such as VS Code. The server is configurable through environment variables or JSON configuration files and is suitable for use in collaborative and individual workflows requiring vector-based context management for models.

    • 97
    • MCP
    • vectorize-io/vectorize-mcp-server
  • Azure DevOps MCP Server

    Azure DevOps MCP Server

    Standardized AI access to Azure DevOps via Model Context Protocol.

    Implements the Model Context Protocol (MCP) to enable AI assistants to securely and efficiently interact with Azure DevOps resources. Provides a standardized bridge for managing projects, work items, repositories, pull requests, and pipelines through natural language interfaces. Supports modular authentication and a feature-based architecture for scalability and integration. Facilitates seamless integration with AI tools such as Claude Desktop and Cursor AI.

    • 306
    • MCP
    • Tiberriver256/mcp-server-azure-devops
  • MyMCP Server (All-in-One Model Context Protocol)

    MyMCP Server (All-in-One Model Context Protocol)

    Powerful and extensible Model Context Protocol server with developer and productivity integrations.

    MyMCP Server is a robust Model Context Protocol (MCP) server implementation that integrates with services like GitLab, Jira, Confluence, YouTube, Google Workspace, and more. It provides AI-powered search, contextual tool execution, and workflow automation for development and productivity tasks. The system supports extensive configuration and enables selective activation of grouped toolsets for various environments. Installation and deployment are streamlined, with both automated and manual setup options available.

    • 93
    • MCP
    • nguyenvanduocit/all-in-one-model-context-protocol
  • Didn't find tool you were looking for?

    Be as detailed as possible for better results