MyFirstMcpServer
基于MCP框架的桌面TXT文件管理工具,提供以下功能:
- 统计桌面上的TXT文件数量
- 列出桌面上的所有TXT文件
- 在桌面创建新的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) 框架
相关推荐
Confidential guide on numerology and astrology, based of GG33 Public information
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.
Take an adjectivised noun, and create images making it progressively more adjective!
Reviews
user_Fu7tZAur
As a devoted user of MyFirstMcpServer, I find it to be an exceptional MCP application. Created by YingHe-1, this server is user-friendly and offers seamless performance. The project on GitHub is well-documented, making it easy to set up and start using. Highly recommended for anyone looking to get into MCP applications!