FastMCP server demo exposing an application upgrade tool

FastMCP server demo exposing an application upgrade tool

mcp-server-demo-hannguyendd•byhannguyendd

A FastMCP demonstration server that communicates over stdio and exposes a single tool, upgrade_apps, which runs a shell script to upgrade applications.

License: Not specified•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Exposes an upgrade_apps tool that executes the update-apps.sh script found in the folder named by the COMMAND_FOLDER_PATH environment variable.
  • •Uses subprocess command execution and stdio transport for client-server communication.
  • •Is configured through environment variables, with the command folder path set in a .env file.

BEST FOR

  • •Demonstrating how an MCP tool can wrap a shell script for application upgrades.
  • •Testing an MCP server's available tools with the MCP Inspector.

ABOUT MCP-SERVER-DEMO-HANNGUYENDD

FastMCP server demo exposing an application upgrade tool is cataloged as an MCP server attributed to hannguyendd. A FastMCP demonstration server that communicates over stdio and exposes a single tool, upgrade_apps, which runs a shell script to upgrade applications. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for FastMCP server demo exposing an application upgrade tool are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

How does the server locate the upgrade script?

It reads the COMMAND_FOLDER_PATH environment variable and runs update-apps.sh from that folder.

Which transport does the server use?

The server uses stdio transport for client-server communication.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 91a81ad81402 · 采集于 2026-11-13 12:48:30 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

MCP Server Demo

A simple demonstration of a Model Context Protocol (MCP) server implementation that provides tool functionality to upgrade applications via a shell script.

Overview

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)

Installation

  1. Clone the repository:

    git clone <repository-url>
    cd mcp-server-demo
    
  2. Install dependencies using uv:

    uv pip install -e .
    
  3. Create a .env file in the project root with the following content:

    COMMAND_FOLDER_PATH=/path/to/your/command/folder
    

    Make sure the command folder contains the update-apps.sh script.

Usage

The server can be run directly with Python:

python main.py

Using with VS Code MCP Extension

You can use the VS Code MCP extension with the provided mcp.json configuration:

  1. Install the MCP extension in VS Code
  2. Open the project in VS Code
  3. Use the "Connect to MCP Server" command and select "commander" server

Using with MCP Inspector

To test and inspect the MCP server using the MCP Inspector tool:

npx @modelcontextprotocol/inspector \
  uv \
  --directory ${PWD} \
  run \
  main.py

This command runs the Inspector tool which connects to the MCP server and allows you to interact with the available tools for testing purposes.

Available Tools

upgrade_apps

This tool executes the update-apps.sh script located in the folder specified by the COMMAND_FOLDER_PATH environment variable.

Example client usage:

result = await client.upgrade_apps()
print(result)

Project Structure

  • main.py - Main server implementation
  • pyproject.toml - Project dependencies and metadata
  • .vscode/mcp.json - VS Code MCP configuration
  • uv.lock - Dependency lock file for uv package manager
  • .env - Environment variables (not included in repository)

Dependencies

  • mcp[cli] (>=1.6.0)
  • python-dotenv (required but not explicitly mentioned in pyproject.toml)

Development

This project uses uv for Python package management, which provides faster dependency resolution and installation compared to traditional pip.

To update dependencies:

uv pip install -e .

License

[Include license information here]

Contributing

[Include contribution guidelines here]

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for FastMCP server demo exposing an application upgrade tool from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-server-demo-hannguyendd)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools