Actitime自动化工具

Actitime MCP是一个基于AI生成的模型上下文协议实现,提供程序化工具和自动化功能,包括时间跟踪、请假管理和项目/任务操作。

  • by Binary12Spy
  • TypeScript
  • 本地部署
  • 更新于
在 GitHub 查看 Binary12Spy/actitime-mcp

使用说明

Actitime MCP(模型上下文协议)

该项目是Actiteme的人工智能生成的模型上下文协议(MCP)实现。

  • 目的: 为Actiteme提供程序化工具和自动化,包括时间跟踪、休假管理和项目/任务操作。
  • 世代: 代码库是使用人工智能生成的,利用了官方的Actiteme swagger.json API规范作为端点和数据模型的参考。
  • 结构:
    • src/ 包含Actiteme客户端逻辑和工具的TypeScript源文件。
    • 工具包括用户、项目、任务、时间跟踪和休假时间。

免责声明

此项目是自动生成的,可能需要审查或定制以供生产使用。请在部署之前验证所有API交互和业务逻辑。

与VSCode+GitHub Copilot一起使用

您可以直接在VSCode中使用此项目与GitHub Copilot,以实现自动化和人工智能驱动的工作流程。要连接到Actiteme实例,请按如下方式配置环境:

  1. 打开命令面板,选择您的MCP服务器或扩展。
  2. 使用以下配置片段设置您的连接(例如,在 .vscode/mcp.json 或根据您的分机提示):
{
  "inputs": [
    {
      "id": "actitime_company",
      "type": "promptString",
      "description": "actiTIME company name"
    },
    {
      "id": "actitime_username",
      "type": "promptString",
      "description": "actiTIME username"
    },
    {
      "id": "actitime_password",
      "type": "promptString",
      "description": "actiTIME password",
      "password": true
    }
  ],
  "servers": {
    "actitime": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@binary12spy/actitime-mcp",
        "${input:actitime_company}"
      ],
      "env": {
        "ACTITIME_USERNAME": "${input:actitime_username}",
        "ACTITIME_PASSWORD": "${input:actitime_password}"
      }
    }
  }
}

根据需要替换Actiteme环境的值。此设置允许您运行MCP服务器,并通过VSCode和Copilot与Actiteme交互。