MCP ExplorerExplorer

Schedules Extension For Mcp

@Damon-lawon 14 days ago
1 MIT
FreeCommunity
AI Systems
A scheduling plugin for MCP that allows users to manage events via natural language in VSCode.

Overview

What is Schedules Extension For Mcp

schedules-extension-for-mcp is a scheduling plugin that supports MCP, providing an Express service for communication with the MCP Server to manage schedules through natural language interactions.

Use cases

Use cases include setting reminders for tasks, managing personal schedules, and automating notifications for recurring events, enhancing productivity in software development.

How to use

To use schedules-extension-for-mcp, install the plugin and configure the MCP Server in your development environment (e.g., Cursor or Trae) by specifying the command to start the server. Ensure the port matches the one set in your MCP plugin.

Key features

Key features include adding schedules (one-time and recurring), querying schedules, deleting schedules, and setting reminders within the editor. Currently, editing existing schedules requires deletion and recreation.

Where to use

schedules-extension-for-mcp can be used in various development environments that support MCP, particularly in IDEs like VSCode, Cursor, and Trae.

Content

MCP日程表 README

这个是一个支持MCP的日程表插件,使用了libp2p技术和mDNS协议实现局域网内的对等网络和配套的MCP Server进行通讯交互, 提供增、删、查取日程的功能。

Cursor和Trae在配置 MCP Server 后 在Chat中通过 “增加日程”、“今天三点提醒我抢票”、“每天中午十一点提醒我点外卖”、“帮我查询今天下午有什么安排”、 “删除第一个日程”等自然语言进行交互。 并在提醒时间到后在 VSCode 内进行提醒,点击后可查看日程详情。

MCP Server 地址:

  1. Github: Damon-law/mcp_server_for_schedules

  2. Gitee: MCP日程表的MCPServer: 与MCP日程表( VSCode/Trae/Cursor拓展) 交互的 MCP Server

功能 Features

- [x]  通过MCP新增日程 (一次性日程, 循环性日程: 每日、 每周、 每年)
- [x]  通过MCP查询日程 
- [x]  通过MCP删除日程
- [x]  通过MCP清空日程
- [ ]  通过MCP更改日程内容 (目前可以删了重建)
- [x]  编辑器内定时提醒日程
- [ ]  ...  

界面展示:

MCP日程表.png

常见编辑器简易使用教程:

Cursor中使用

Cursor中使用方法:

  1. 安装插件

  2. 配置MCP Server

        {
            "mcpServers": {
                "schedules": {
                // 配置了fnm的情况下,先指定你使用的node版本
                "command": "fnm exec --using=20.10.0 node 你的路径\\mcp_server_for_schedules\\build\\index.js"
                // 正常node
                "command": "node 你的路径\\mcp_server_for_schedules\\build\\index.js"
                }
            }
        }
    

    MCP配置成功.png

  3. 新增循环日程

    新增循环日程.png

  4. 新增一次性日程

    新增一次性日程.png

  5. 到时间显示提醒

    提醒.png

  6. 查看提醒详情

    查看提醒详情.png

  7. 查询日程

    查询日程.png

    查询日程TreeView.png

  8. 删除日程

    删除日程.png

Trae中使用

Trae中使用方法:

Trae 中的 通知好像是默认设置为勿打扰模式,需要手动打开通知:

打开通知.png

  1. 安装插件

  2. 配置MCP Server

        {
            "mcpServers": {
                "schedules": {
                // 配置了fnm的情况下,先指定你使用的node版本
                "command": "fnm exec --using=20.10.0 node 你的路径\\mcp_server_for_schedules\\build\\index.js"
                // 正常node
                "command": "node 你的路径\\mcp_server_for_schedules\\build\\index.js"
                }
            }
        }
    

    MCP配置成功.png

  3. 再对下中选择智能体MCP即可使用

    MCP选择智能体.png

  4. 新增循环日程

    新增循环日程.png

  5. 新增一次性日程

    新增一次性日程.png

  6. 到时间显示提醒

    提醒.png

  7. 查看提醒详情

    查看提醒详情.png

  8. 查询日程

    查询日程.png

    查询日程TreeView.png

  9. 删除日程

    删除日程.png

  10. 清空所有日程

    清空日程.png

使用要求 Requirements

MCP日程表的增、删、查操作均由MCP Server通过libp2p建立的对等网络通讯,因此需要先安装对应的 MCP Server

  1. Github: Damon-law/mcp_server_for_schedules

  2. Gitee: MCP日程表的MCPServer: 与MCP日程表( VSCode/Trae/Cursor拓展) 交互的 MCP Server

下载到本地后

pnpm install

npm  install

然后

pnpm build

npm  run build

编译完成后,在 build 文件夹下会生成一个 index.js 文件,这就是我们需要的 MCP Server.

在对应的IDE内配置MCP Server:

       {
           "mcpServers": {
               "schedules": {
               // 配置了fnm的情况下,先指定你使用的node版本
               "command": "fnm exec --using=20.10.0 node 你的路径\\mcp_server_for_schedules\\build\\index.js"
               // 正常node
               "command": "node 你的路径\\mcp_server_for_schedules\\build\\index.js"
               }
           }
       }

拓展配置 Extension Settings

暂无

已知问题 Known Issues

暂无

版本更新 Release Notes

0.0.4

转为使用libp2p进行对等网络通讯, 使用mDNS协议自动发现链接节点。

0.0.3

更新了README.md, 更改为github的图片路径

0.0.2

更新了README.md, 更改为gitee的图片路径

0.0.1

初版发布

更多 More

本拓展开源。

详细内容和开发可查看掘金:

赛博丁真Damon 的个人主页 - 动态 - 掘金

Tools

No tools

Comments