MCP Server Extension
@ranjanbinwani
About MCP Server Extension
A basic MCP server for tool exposure using FastMCP and VS code extension distribution
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-server-extension": {
"command": "python",
"args": [
"mcp_server.py"
]
}
}
}Tools
3Add two numbers together
Get weather forecast (simulated)
List files in a directory
Overview
What is MCP Server Extension?
MCP Server Extension is a simple VS Code extension that automatically starts an MCP (Model Context Protocol) server for GitHub Copilot tool discovery. It provides three built-in tools (add numbers, get weather, list files) with no configuration required.
How to use MCP Server Extension?
Install the .vsix file, restart VS Code, open GitHub Copilot Chat, and ask questions like "Add 15 and 27", "What's the weather forecast for New York?", or "List files in the current directory". The extension automatically configures the MCP server on load.
Key features of MCP Server Extension
- Auto-starts MCP server when extension loads
- Three built-in tools for GitHub Copilot
- No configuration required from user
- Installs Python dependencies automatically (fastmcp)
- Configures MCP server via stdio protocol
- Creates configuration files for Copilot discovery
Use cases of MCP Server Extension
- Adding two numbers through GitHub Copilot Chat
- Fetching simulated weather forecasts for any location
- Listing files in the current directory via Copilot
- Extending Copilot with custom MCP tools (by editing
mcp_server.py)
FAQ from MCP Server Extension
What are the requirements for MCP Server Extension?
Python 3.x must be available in your PATH. You need VS Code 1.80.0 or later and the GitHub Copilot extension installed.
How do I troubleshoot if GitHub Copilot doesn’t discover the tools?
Restart VS Code completely, check that Python 3.x is in your PATH, and verify configuration files at %USERPROFILE%\.vscode\mcp_servers.json. You can also test the server independently by running python mcp_server.py.
Where does MCP Server Extension store its configuration files?
The extension creates configuration at %USERPROFILE%\.vscode\mcp_servers.json and %USERPROFILE%\AppData\Roaming\Claude\claude_desktop_config.json.
How does MCP Server Extension work under the hood?
The extension automatically installs fastmcp Python dependencies, configures MCP server files for GitHub Copilot discovery, and makes tools available through the stdio protocol.
Can I add my own custom tools to MCP Server Extension?
Yes. Edit mcp_server.py to add new tools using the @server.tool() decorator, then rebuild the extension with vsce package and reinstall the .vsix file.
Frequently asked questions
What are the requirements for MCP Server Extension?
Python 3.x must be available in your PATH. You need VS Code 1.80.0 or later and the GitHub Copilot extension installed.
How do I troubleshoot if GitHub Copilot doesn’t discover the tools?
Restart VS Code completely, check that Python 3.x is in your PATH, and verify configuration files at `%USERPROFILE%\.vscode\mcp_servers.json`. You can also test the server independently by running `python mcp_server.py`.
Where does MCP Server Extension store its configuration files?
The extension creates configuration at `%USERPROFILE%\.vscode\mcp_servers.json` and `%USERPROFILE%\AppData\Roaming\Claude\claude_desktop_config.json`.
How does MCP Server Extension work under the hood?
The extension automatically installs fastmcp Python dependencies, configures MCP server files for GitHub Copilot discovery, and makes tools available through the stdio protocol.
Can I add my own custom tools to MCP Server Extension?
Yes. Edit `mcp_server.py` to add new tools using the `@server.tool()` decorator, then rebuild the extension with `vsce package` and reinstall the `.vsix` file.
Basic information
More Developer Tools MCP servers
MCP Unity Editor (Game Engine)
CoderGamesterModel Context Protocol (MCP) plugin to connect with Unity Editor — designed for Cursor, Claude Code, Codex, Windsurf and other IDEs

Air Pipe
airpipeBuild, validate, deploy — HTTP APIs, cron jobs, webhooks and MCP tools — from your AI client.
AptiBuild AI — Career Intelligence
ParklandBuildsAptiBuild AI MCP Server — career, labor market, and business idea intelligence for AI agents. 11 tools covering real-time FRED labor market signals, BLS wage data (126 occupations), AI-generated app ideas, career paths,
Grafana MCP server
grafanaMCP server for Grafana
FastAPI-MCP
tadata-orgExpose your FastAPI endpoints as Model Context Protocol (MCP) tools, with Auth!
Comments