MCP Server demo

MCP Server demo

By legomb GitHub

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

python mcp
Overview

What is MCP Server Demo?

MCP Server Demo is a demonstration of an MCP server built using Python, designed to be tested with Visual Studio Code (VSCode) in Agent mode.

How to use MCP Server Demo?

To use the MCP Server Demo, start a new Devbox shell, open the environment in the devcontainer, run the server, and set GitHub Copilot to Agent mode to interact with the server.

Key features of MCP Server Demo?

  • Integration with GitHub Copilot in Agent mode
  • Ability to process commands related to CSV and Parquet files
  • Easy setup and testing within VSCode

Use cases of MCP Server Demo?

  1. Summarizing CSV files using GitHub Copilot.
  2. Querying the number of rows in Parquet files.
  3. Demonstrating the capabilities of an MCP server in a development environment.

FAQ from MCP Server Demo?

  • What is required to run the MCP Server Demo?

You need VSCode version 1.99.0 or higher and a Devbox environment set up with the necessary packages.

  • Can I use this demo for production?

This demo is intended for testing and development purposes only, not for production use.

  • How do I set Copilot to Agent mode?

In the dropdown option next to the prompt textbox in VSCode, select "Agent" to enable Agent mode.

Content

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 tools information available.
School MCP
School MCP by 54yyyu

A Model Context Protocol (MCP) server for academic tools, integrating with Canvas and Gradescope platforms.

canvas mcp
View Details
repo-template
repo-template by loonghao

A Model Context Protocol (MCP) server for Python package intelligence, providing structured queries for PyPI packages and GitHub repositories. Features include dependency analysis, version tracking, and package metadata retrieval for LLM interactions.

-

google-calendar mcp
View Details
strava-mcp
strava-mcp by jeremysilva1098

MCP server for strava

strava mcp
View Details

Model Context Protocol (MCP) server implementation for Rhinoceros/Grasshopper integration, enabling AI models to interact with parametric design tools

grasshopper mcp
View Details

The open-source multi-agent chat interface that lets you manage multiple agents in one dynamic conversation and add MCP servers for deep research

python typescript
View Details

MCP configuration to connect AI agent to a Linux machine.

security mcp
View Details