Servers
MCP Server demo
@legomb
This is a demo of an MCP server using Python, intended to be tested with vscode Copilot in Agent mode
This is a demo of an MCP server and it's intended to be tested in vscode.
Based on Building a Basic MCP Server with Python by Alex Merced
Development
Start a new Devbox shell that has your packages and tools installed:
devbox shell
Testing it in vscode
Requirements
- VSCode Version =>1.99.0
Instructions
- Open the environment in the devcontainer (vscode command palette >
Dev Containers: Reopen in Container) - Run
task mix-server:run - Open the command palette and select
MCP: List Servers - Choose
mix_server - Start it
- Set Copilot to
Agent modeby choosing "Agent" in the dropdown option next to the prompt textbox. - Ask Github copilot something like "Summarize the CSV file named sample.csv." or "How many rows are in sample.parquet?" Copilot will detect the appropriate tool, call the MCP server, and respond with the results—powered by the Python code.