✨ From vibe coding to vibe deployment. UBOS MCP turns ideas into infra with one message.

Learn more

MyFirstMcpServer

基于MCP框架的桌面TXT文件管理工具,提供以下功能:

  1. 统计桌面上的TXT文件数量
  2. 列出桌面上的所有TXT文件
  3. 在桌面创建新的TXT文件(带用户交互确认)

安装

# 克隆仓库
git clone https://github.com/YingHe-1/MyFirstMcpServer.git
cd MyFirstMcpServer

# 安装依赖
pip install -r requirements.txt

使用方法

python add_num.py

工具函数

  • count_desktop_txt_files(): 统计桌面TXT文件数量
  • list_desktop_txt_files(): 列出桌面TXT文件
  • create_desktop_txt_file(filename, content): 创建桌面TXT文件

技术栈

  • Python 3
  • MCP (Model-Context-Protocol) 框架

Featured Templates

View More
AI Agents
AI Video Generator
252 2007 5.0
Data Analysis
Pharmacy Admin Panel
252 1957
AI Engineering
Python Bug Fixer
119 1433
Customer service
Multi-language AI Translator
136 921
AI Assistants
AI Chatbot Starter Kit v0.1
140 913
AI Assistants
Image to text with Claude 3
152 1366

Start your free trial

Build your solution today. No credit card required.

Sign In

Register

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.