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. - Installation/Usage - Multi-Project Support - Available Tools - Available Commands - Troubleshooting - Co
Add this skill
npx mdskills install biegehydra/bifrostmcpComprehensive MCP server exposing VSCode language features with excellent multi-project support and setup docs
1# Bifrost - VSCode Dev Tools MCP Server2<a href="https://marketplace.visualstudio.com/items?itemName=ConnorHallman.bifrost-mcp">3 <img src="https://img.shields.io/visual-studio-marketplace/d/ConnorHallman.bifrost-mcp?label=VSCode%20Extension%20Downloads&cacheSeconds=3600"4 alt="VSCode Extension Downloads"5 width="250">6</a>78This 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.9101112## Table of Contents13- [Features](#features)14- [Installation/Usage](#usage)15- [Multi-Project Support](#multiple-project-support)16- [Available Tools](#available-tools)17- [Available Commands](#available-commands)18- [Troubleshooting](#troubleshooting)19- [Contributing](#contributing)20- [Debugging](#debugging)21- [License](#license)2223## Features2425- **Language Server Integration**: Access VSCode's language server capabilities for any supported language26- **Code Navigation**: Find references, definitions, implementations, and more27- **Symbol Search**: Search for symbols across your workspace28- **Code Analysis**: Get semantic tokens, document symbols, and type information29- **Smart Selection**: Use semantic selection ranges for intelligent code selection30- **Code Actions**: Access refactoring suggestions and quick fixes31- **HTTP/SSE Server**: Exposes language features over an MCP-compatible HTTP server32- **AI Assistant Integration**: Ready to work with AI assistants that support the MCP protocol3334## Usage3536### Installation37381. Install [the extension](https://marketplace.visualstudio.com/items?itemName=ConnorHallman.bifrost-mcp) from the VS Code marketplace392. Install any language-specific extensions you need for your development403. Open your project in VS Code4142### Configuration4344The extension will automatically start an MCP server when activated. To configure an AI assistant to use this server:45461. The server runs on port 8008 by default (configurable with `bifrost.config.json`)472. Configure your MCP-compatible AI assistant to connect to:48 - SSE endpoint: `http://localhost:8008/sse`49 - Message endpoint: `http://localhost:8008/message`5051### LLM Rules52I have also provided sample rules that can be used in .cursorrules files for better results.5354[Example Cursor Rules](https://github.com/biegehydra/BifrostMCP/blob/master/ExampleCursorRules.md)5556[Example MDC Rules](https://github.com/biegehydra/BifrostMCP/blob/master/example.mdc)5758### Cline Installation59- Step 1. Install [Supergateway](https://github.com/supercorp-ai/supergateway)60- Step 2. Add config to cline61- Step 3. It will show up red but seems to work fine6263#### Windows Config64```json65{66 "mcpServers": {67 "Bifrost": {68 "command": "cmd",69 "args": [70 "/c",71 "npx",72 "-y",73 "supergateway",74 "--sse",75 "http://localhost:8008/sse"76 ],77 "disabled": false,78 "autoApprove": [],79 "timeout": 60080 }81 }82}83```8485#### Mac/Linux Config86```json87{88 "mcpServers": {89 "Bifrost": {90 "command": "npx",91 "args": [92 "-y",93 "supergateway",94 "--sse",95 "http://localhost:8008/sse"96 ],97 "disabled": false,98 "autoApprove": [],99 "timeout": 600100 }101 }102}103```104105### Roo Code Installation106- Step 1: Add the SSE config to your global or project-based MCP configuration107```json108{109 "mcpServers": {110 "Bifrost": {111 "url": "http://localhost:8008/sse"112 }113 }114}115```116117118119Follow this video to install and use with cursor120121#### FOR NEW VERSIONS OF CURSOR, USE THIS CODE122```json123{124 "mcpServers": {125 "Bifrost": {126 "url": "http://localhost:8008/sse"127 }128 }129}130```131132## Multiple Project Support133134When 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.135136### Project Configuration137138Create a `bifrost.config.json` file in your project root:139140```json141{142 "projectName": "MyProject",143 "description": "Description of your project",144 "path": "/my-project",145 "port": 5642146}147```148149The server will use this configuration to:150- Create project-specific endpoints (e.g., `http://localhost:5642/my-project/sse`)151- Provide project information to AI assistants152- Use a dedicated port for each project153- Isolate project services from other running instances154155### Example Configurations1561571. Backend API Project:158```json159{160 "projectName": "BackendAPI",161 "description": "Node.js REST API with TypeScript",162 "path": "/backend-api",163 "port": 5643164}165```1661672. Frontend Web App:168```json169{170 "projectName": "FrontendApp",171 "description": "React frontend application",172 "path": "/frontend-app",173 "port": 5644174}175```176177### Port Configuration178179Each project should specify its own unique port to avoid conflicts when multiple VS Code instances are running:180181- The `port` field in `bifrost.config.json` determines which port the server will use182- If no port is specified, it defaults to 8008 for backwards compatibility183- Choose different ports for different projects to ensure they can run simultaneously184- The server will fail to start if the configured port is already in use, requiring you to either:185 - Free up the port186 - Change the port in the config187 - Close the other VS Code instance using that port188189### Connecting to Project-Specific Endpoints190191Update your AI assistant configuration to use the project-specific endpoint and port:192193```json194{195 "mcpServers": {196 "BackendAPI": {197 "url": "http://localhost:5643/backend-api/sse"198 },199 "FrontendApp": {200 "url": "http://localhost:5644/frontend-app/sse"201 }202 }203}204```205206### Backwards Compatibility207208If no `bifrost.config.json` is present, the server will use the default configuration:209- Port: 8008210- SSE endpoint: `http://localhost:8008/sse`211- Message endpoint: `http://localhost:8008/message`212213This maintains compatibility with existing configurations and tools.214215## Available Tools216217The extension provides access to many VSCode language features including:218219* **find\_usages**: Locate all symbol references.220* **go\_to\_definition**: Jump to symbol definitions instantly.221* **find\_implementations**: Discover implementations of interfaces/abstract methods.222* **get\_hover\_info**: Get rich symbol docs on hover.223* **get\_document\_symbols**: Outline all symbols in a file.224* **get\_completions**: Context-aware auto-completions.225* **get\_signature\_help**: Function parameter hints and overloads.226* **get\_rename\_locations**: Safely get location of places to perform a rename across the project.227* **rename**: Perform rename on a symbol228* **get\_code\_actions**: Quick fixes, refactors, and improvements.229* **get\_semantic\_tokens**: Enhanced highlighting data.230* **get\_call\_hierarchy**: See incoming/outgoing call relationships.231* **get\_type\_hierarchy**: Visualize class and interface inheritance.232* **get\_code\_lens**: Inline insights (references, tests, etc.).233* **get\_selection\_range**: Smart selection expansion for code blocks.234* **get\_type\_definition**: Jump to underlying type definitions.235* **get\_declaration**: Navigate to symbol declarations.236* **get\_document\_highlights**: Highlight all occurrences of a symbol.237* **get\_workspace\_symbols**: Search symbols across your entire workspace.238239## Requirements240241- Visual Studio Code version 1.93.0 or higher242- Appropriate language extensions for the languages you want to work with (e.g., C# extension for C# files)243244### Available Commands245246- `Bifrost MCP: Start Server` - Manually start the MCP server on port 8008247- `Bifrost MCP: Start Server on port` - Manually start the MCP server on specified port248- `Bifrost MCP: Stop Server` - Stop the running MCP server249- `Bifrost MCP: Open Debug Panel` - Open the debug panel to test available tools250251252253## Star History254255[](https://star-history.com/#biegehydra/BifrostMCP&Date)256257## Example Tool Usage258259### Find References260```json261{262 "name": "find_usages",263 "arguments": {264 "textDocument": {265 "uri": "file:///path/to/your/file"266 },267 "position": {268 "line": 10,269 "character": 15270 },271 "context": {272 "includeDeclaration": true273 }274 }275}276```277278### Workspace Symbol Search279```json280{281 "name": "get_workspace_symbols",282 "arguments": {283 "query": "MyClass"284 }285}286```287288## Troubleshooting289290If you encounter issues:2912921. Ensure you have the appropriate language extensions installed for your project2932. Check that your project has loaded correctly in VSCode2943. Verify that port 8008 is available on your system2954. Check the VSCode output panel for any error messages296297## Contributing298Here are [Vscodes commands](https://github.com/microsoft/vscode-docs/blob/main/api/references/commands.md?plain=1) if you want to add additional functionality go ahead. I think we still need rename and a few others.299Please feel free to submit issues or pull requests to the [GitHub repository](https://github.com/biegehydra/csharplangmcpserver).300301`vsce package`302303## Debugging304Use the `MCP: Open Debug Panel` command305306307## License308309This extension is licensed under the APGL-3.0 License.310
Full transparency — inspect the skill content before installing.