mcp-server-demo

mcp-server-demo

2.2

The MCP Server Demo project is a demonstration of a Model Context Protocol server with functionality for upgrading applications. It features command execution via subprocess and stdio communication, targeting integration with MCP-compatible clients.

MCP Server Demo

This project implements a FastMCP server that exposes a custom tool for upgrading applications. The server communicates via stdio transport and can be integrated with MCP-compatible clients.

Features

  • MCP server with a custom tool to upgrade applications
  • Command execution via subprocess
  • Environment variable configuration
  • Stdio transport for client-server communication

Prerequisites

  • Python 3.12 or higher
  • uv package manager (for dependency management)
  • Environment variables setup (COMMAND_FOLDER_PATH)

Usage

The server can be run directly with Python. You can also use the VS Code MCP extension with the provided mcp.json configuration to connect to the MCP Server. Additionally, the MCP Inspector tool can be used to test and inspect the server.