MCP Server demo

by legomb

332 downloads
Not rated
GitHub

About

This is a demo of an MCP server using Python, intended to be tested with vscode Copilot in Agent mode

Details

Author
legomb
Downloads
332
Categories
Other

- Demo MCP server using Python
- Designed for testing in VSCode (≥1.99.0)
- Integrates with GitHub Copilot Agent mode
- Provides tools to read CSV and Parquet files
- Runs inside a devcontainer with Devbox

Open the environment in a devcontainer in VSCode, run task mix-server:run, then select mix_server from the MCP Server list. Start it, set Copilot to Agent mode, and ask a question like “Summarize the CSV file named sample.csv.” or “How many rows are in sample.parquet?”.

MCP Server demo

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

1. Open the environment in the devcontainer (vscode command palette > Dev Containers: Reopen in Container)
2. Run task mix-server:run
3. Open the command palette and select MCP: List Servers
4. Choose mix_server
5. Start it
6. Set Copilot to Agent mode by choosing "Agent" in the dropdown option next to the prompt textbox.
7. 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.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.