VSCodeMCP
@Ollama-Agent-Roll-Cage
A simple, robust, mcp inference server for groq. Tailored specifically for vscode copilot mcp access.
Overview
What is VSCodeMCP?
VSCodeMCP is a Python module for creating and managing MCP (Model Context Protocol) servers for Visual Studio Code’s Copilot agent feature, with optional Groq LLM integration. It allows users to define tools, resources, and prompts, generate VS Code configuration files, and install servers.
How to use VSCodeMCP?
Install required dependencies (pip install fastmcp and optionally pip install groq), then create a VSCodeMCP or GroqVSCodeMCP instance, add tools, and call setup_vscode_workspace(). A CLI is also available (python -m vscode_mcp create / install) for creating and installing servers.
Key features of VSCodeMCP
- Easy tool definition with simple Python functions
- Automatic VS Code configuration generation
- Seamless integration with the FastMCP library
- Optional Groq LLM support for AI-driven tools
- URL generation for easy server installation
- Secure input handling and auto-generated server scripts
Use cases of VSCodeMCP
- Creating custom MCP servers for VS Code’s Copilot agent
- Integrating Groq-powered chat and code generation tools
- Sharing reusable MCP configuration files across workspace
- Building and testing MCP tools locally with FastMCP
FAQ from VSCodeMCP
What are the dependencies for VSCodeMCP?
Requires Python 3.7+, the fastmcp library, and Visual Studio Code with Copilot. The groq library and a Groq API key are needed only for Groq integration.
How do I install a server into VS Code?
Use the CLI command python -m vscode_mcp install path/to/server.py --user, or use the --install flag with the create command.
Where does the configuration get saved?
The module generates a .vscode/mcp.json file and a Python server script in the workspace.
What Groq models are available?
Text models (e.g., LLAMA_3_70B, LLAMA_3_2_11B), vision models (e.g., LLAMA_3_1_70B_VISION), and code models (e.g., QWEN_CODER, DEEPSEEK_DISTILL_LLAMA_70B) are listed.
Can VSCodeMCP be used without Groq?
Yes. The core VSCodeMCP class works without Groq; GroqVSCodeMCP is an optional extension for Groq-powered tools.