DM

drjforrest/mcp-things3

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

76 stars 12 forks 质量 59 趋势 0

drjforrest/mcp-things3 是从 https://github.com/drjforrest/mcp-things3. 导入的 MCP 服务器候选

概览

drjforrest/mcp-things3 是从 https://github.com/drjforrest/mcp-things3. 导入的 MCP 服务器候选

概述(AI 翻译)

一个强大的MCP(模型上下文协议)服务器,全面集成Things3,允许您通过MCP协议创建、管理和搜索任务和项目。具备改进的错误处理、安全的URL编码以及增强的AppleScript集成。

特色

  • ✅ 创建项目:在Things3中创建新项目,支持完整的元数据
  • ✅ 创建待办事项:创建带有详细属性(包括检查表、标签和日期)的新待办事项
  • ✅ 查看任务:从收件箱、今日列表或所有项目中列出任务
  • ✅ 完成任务:通过搜索待办事项的标题标记为已完成
  • ✅ 搜索功能:按标题或内容搜索所有待办事项
  • ✅ 鲁棒错误处理:全面的验证和错误恢复
  • ✅ 安全URL编码:特殊字符和Unicode的正确处理
  • ✅ AppleScript集成:安全的非JSON字符串串接方法

安装

先决条件

  • 安装 Things3 的 macOS
  • Python 3.8+
  • 运行中的 Things3(用于实时操作)

安装服务器

  1. 克隆此仓库:

  2. 使用pip安装:

  3. 服务器将以[[T0]形式开放]

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

MCP Server for Things3

A robust MCP (Model Context Protocol) server providing comprehensive integration with Things3, allowing you to create, manage, and search tasks and projects through the MCP protocol. Features improved error handling, secure URL encoding, and enhanced AppleScript integration.

Features

  • ✅ Create Projects: Create new projects in Things3 with full metadata support
  • ✅ Create Todos: Create new to-dos with detailed properties including checklists, tags, and dates
  • ✅ View Tasks: List tasks from inbox, today’s list, or all projects
  • ✅ Complete Tasks: Mark todos as completed by searching for their title
  • ✅ Search Functionality: Search through all todos by title or content
  • ✅ Robust Error Handling: Comprehensive validation and error recovery
  • ✅ Secure URL Encoding: Proper handling of special characters and unicode
  • ✅ AppleScript Integration: Safe, non-JSON string concatenation approach

Installation

Prerequisites

  • macOS with Things3 installed
  • Python 3.8+
  • Things3 running (for real-time operations)

Install the Server

  1. Clone this repository:

    git clone 
    cd mcp-things3
    
  2. Install using pip:

    pip install -e .
    
  3. The server will be available as mcp-server-things3

Tools Available

View Operations

view-inbox

View all todos in the Things3 inbox.

  • Parameters: None
  • Returns: List of inbox todos with due dates and scheduling info

view-projects

View all projects in Things3.

  • Parameters: None
  • Returns: List of all projects with their titles

view-todos

View all todos in today’s list.

  • Parameters: None
  • Returns: List of today’s todos with metadata

Creation Operations

create-things3-project

Creates a new project in Things3.

  • Required: title (string)
  • Optional:
    • notes (string)
    • area (string)
    • when (string) - Date/time to start
    • deadline (string) - Due date
    • tags (array of strings)

Example:

{
  "title": "Website Redesign",
  "notes": "Complete overhaul of company website",
  "area": "Work",
  "deadline": "2024-03-15",
  "tags": ["urgent", "web-dev"]
}

create-things3-todo

Creates a new to-do in Things3.

  • Required: title (string)
  • Optional:
    • notes (string)
    • when (string) - Date/time to start
    • deadline (string) - Due date
    • checklist (array of strings)
    • tags (array of strings)
    • list (string) - Project or area to assign to
    • heading (string) - Group under this heading

Example:

{
  "title": "Review design mockups",
  "notes": "Check the new homepage designs",
  "list": "Website Redesign", 
  "deadline": "2024-02-20",
  "tags": ["review"],
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "things3": { "command": "mcp-server-things3", "args": [] } } }