Sponsored by Deepsite.site

Deepin MCP Server

Created By
N0rthHXD8 months ago
deepin-mcp-servers
Content

Deepin MCP Server

这是一个基于FastMCP框架的Deepin桌面环境系统服务接口实现。它提供了多种系统功能的控制接口,包括应用启动、邮件发送、日程管理、系统主题切换等功能。

功能列表

1. 应用管理

  • 启动应用:支持通过应用ID启动Deepin桌面环境中的应用
  • 支持的应用包括:日历、文件管理器、终端、浏览器等

2. 邮件功能

  • 发送邮件:支持通过系统默认邮件客户端发送邮件
  • 支持设置收件人、抄送、密送、主题和正文

3. 日程管理

  • 创建日程:支持在系统日历中创建新的日程
  • 支持设置日程标题、开始时间、结束时间和提醒时间

4. 系统设置

  • 壁纸切换:支持切换系统壁纸
  • 任务栏模式切换:支持在时尚模式和高效模式之间切换
  • 勿扰模式:支持开启/关闭系统勿扰模式
  • 系统主题切换:支持切换系统主题(deepin、deepin-dark、deepin-auto)
  • 系统信息:支持获取系统内存信息

使用方法

启动服务器

uv --directory {deepin-mcp-servers} run src/deepin_mcp_server/server.py

接口调用示例

  1. 启动应用
await launch_app("dde-calendar")
  1. 发送邮件
email_data = {
    "subject": "测试邮件",
    "content": "这是一封测试邮件",
    "to": "test@example.com"
}
await send_mail(email_data)
  1. 创建日程
schedule_data = {
    "subject": "测试会议",
    "startTime": "2024-03-20T14:00:00",
    "endTime": "2024-03-20T15:00:00"
}
await create_schedule(json.dumps(schedule_data))
  1. 切换壁纸
await switch_wallpaper()
  1. 切换任务栏模式
await dock_mode_switch(0)  # 0: 时尚模式, 1: 高效模式
  1. 切换勿扰模式
await no_disturb(True)  # True: 开启, False: 关闭
  1. 切换系统主题
await system_theme_switch(0)  # 0: deepin, 1: deepin-dark, 2: deepin-auto
  1. 获取系统内存
await get_system_memory()

系统要求

  • Deepin 20 或 Deepin 23 操作系统
  • Python 3.6+
  • 必要的系统权限

注意事项

  1. 部分功能需要系统权限才能正常使用
  2. 邮件功能依赖于系统默认邮件客户端
  3. 日程功能依赖于系统日历服务
  4. 主题切换功能需要系统支持相应的主题包

错误处理

系统会返回标准化的错误信息,包括:

  • 0: 成功
  • 1: 未实现
  • 2: 服务不可用
  • 3: 参数错误
  • 4: 应用未找到
  • 5: 应用启动失败

"""json { "deepin-mcp-servers": { "command": "uv", "args": ["--directory", "{deepin-mcp-servers}", "run", "src/deepin_mcp_server/server.py"], "env": None } } """

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
CursorThe AI Code Editor
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
WindsurfThe new purpose-built IDE to harness magic
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
Serper MCP ServerA Serper MCP Server
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
ChatWiseThe second fastest AI chatbot™
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Amap Maps高德地图官方 MCP Server
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
DeepChatYour AI Partner on Desktop
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Playwright McpPlaywright MCP server
Tavily Mcp