Logo Things3 MCP Server

Things3 MCP Server

Cộng đồng
urbanogardun

MCP server for Things3 integration on macOS

Nhà phát hànhurbanogardun
Kho mãthings3-mcp
Ngôn ngữTypeScript
Bản fork
9
Sao
24
Công cụ có sẵn
25
Phương thức truyền tảistdio
Danh mục
Giấy phépMIT
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    Things3 MCP Server cung cấp các chức năng MCP cho các ứng dụng khách AI và tác nhân AI tương thích.

  • 25 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Mẫu cấu hình có thể sao chép ngay

    Dùng các đoạn cấu hình mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Mức độ quan tâm của cộng đồng đến kho mã

    24 sao và 9 bản fork từ kho mã được liên kết.

Things3 MCP Server

Test npm version

An MCP (Model Context Protocol) server that provides comprehensive integration with Things3 on macOS. This server enables AI assistants and other MCP clients to interact with Things3 through 25 specialized tools, offering complete task management capabilities with intelligent error correction and automatic tag creation.

Features

  • Complete Things3 Integration: 25 tools covering all aspects of Things3
  • TODO Management: Create, read, update, delete, complete, and uncomplete tasks
  • Project & Area Management: Full project lifecycle support with area organization and deletion
  • Tag System: Hierarchical tag support with creation, deletion, and bulk tag operations
  • Bulk Operations: Efficiently move or update multiple items at once
  • Automatic Tag Creation: Tags are automatically created when referenced in TODO/project operations
  • Error Correction: Automatic fixing of common issues (date conflicts, missing titles)
  • Logbook Search: Search completed items with date range filtering
  • Performance Optimized: Connection pooling and AppleScript optimization

Requirements

  • macOS (Things3 is macOS-only)
  • Node.js >= 16.0.0
  • Things3 app installed
  • AppleScript access enabled in System Settings

Installation

Quick Start (Recommended)

You can use the server without any installation:

json
{
  "mcpServers": {
    "things3": {
      "command": "npx",
      "args": ["things3-mcp@latest"],
      "env": {
        "THINGS3_AUTH_TOKEN": "your_auth_token_here"
      }
    }
  }
}

Install from npm

bash
npm install -g things3-mcp

Then add to your MCP client configuration:

json
{
  "mcpServers": {
    "things3": {
      "command": "things3-mcp",
      "env": {
        "THINGS3_AUTH_TOKEN": "your_auth_token_here"
      }
    }
  }
}

Install from Source

bash
# Clone the repository
git clone https://github.com/urbanogardun/things3-mcp.git
cd things3-mcp

# Install dependencies
npm install

# Build the project
npm run build

Configuration

Environment Variables

For update operations (modify, complete, delete), you need to set your Things3 authorization token:

bash
export THINGS3_AUTH_TOKEN="your_auth_token_here"

To find your authorization token:

  1. Open Things3
  2. Go to Settings → General
  3. Click "Enable Things URLs"
  4. Click "Manage"
  5. Copy the authorization token value

You can also create a .env file (see .env.example).

For Claude Desktop

  1. Open Claude Desktop configuration:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  2. Add the Things3 MCP server using one of these methods:

    Method 1: Using npx (easiest, no installation required)

    json
    {
      "mcpServers": {
        "things3": {
          "command": "npx",
          "args": ["things3-mcp@latest"],
          "env": {
            "THINGS3_AUTH_TOKEN": "your_auth_token_here"
          }
        }
      }
    }

    Method 2: Global npm install

    json
    {
      "mcpServers": {
        "things3": {
          "command": "things3-mcp",
          "env": {
            "THINGS3_AUTH_TOKEN": "your_auth_token_here"
          }
      }
    }

    Method 3: Local installation

    json
    {
      "mcpServers": {
        "things3": {
          "command": "node",
          "args": ["/absolute/path/to/things3-mcp/dist/index.js"]
        }
      }
    }
  3. Restart Claude Desktop

For Other MCP Clients

Use any of the methods above, adapting the configuration to your MCP client's format.

Available Tools

TODO Tools (7)

todos_list

List TODOs with flexible filtering options.

Parameters:

  • filter: "inbox" | "today" | "upcoming" | "anytime" | "someday" | "logbook" (optional)
  • searchText: Search within titles and notes (optional)

Example:

json
{
  "filter": "today",
  "searchText": "meeting"
}

todos_get

Get detailed information about a specific TODO.

Parameters:

  • id: The TODO's unique identifier (required)

todos_create

Create a new TODO with full property support (automatically creates tags if they don't exist).

Parameters:

  • title: Task title (required)
  • notes: Additional notes (optional)
  • whenDate: ISO 8601 date string for scheduling (optional)
  • deadline: ISO 8601 date string for due date (optional)
  • tags: Array of tag names (optional)
  • checklistItems: Array of checklist item titles (optional) *
  • projectId: Assign to project (optional)
  • areaId: Assign to area (optional)
  • heading: Title of heading within project to add to (optional)

Example:

json
{
  "title": "Review Q4 Report",
  "notes": "Focus on revenue metrics",
  "whenDate": "2024-12-15T09:00:00Z",
  "deadline": "2024-12-20T17:00:00Z",
  "tags": ["work", "urgent"],
  "checklistItems": ["Review revenue", "Check expenses", "Update forecast"],
  "projectId": "project-id-here"
}

* Note on Checklists: When checklistItems are provided, the TODO is created using Things3's URL scheme instead of AppleScript. This approach has some limitations:

  • Things3 may briefly come to the foreground
  • The created TODO's ID cannot be directly retrieved, so the server searches for it by title
  • If multiple TODOs have identical titles, the wrong TODO might be returned
  • URL scheme support must be enabled in Things3 settings (Settings → General → Enable Things URLs)

todos_update

Update an existing TODO's properties (automatically creates tags if they don't exist).

Parameters:

  • id: TODO identifier (required)
  • All parameters from todos_create (optional)

todos_complete

Mark one or more TODOs as complete.

Parameters:

  • ids: Single ID or array of IDs (required)

todos_uncomplete

Mark one or more TODOs as incomplete.

Parameters:

  • ids: Single ID or array of IDs (required)

todos_delete

Delete one or more TODOs permanently.

Parameters:

  • ids: Single ID or array of IDs (required)

Project Tools (6)

projects_list

List projects with optional filtering.

Parameters:

  • areaId: Filter by area (optional)
  • includeCompleted: Include completed projects (optional, default: false)

projects_get

Get detailed project information.

Parameters:

  • id: Project identifier (required)

projects_create

Create a new project (automatically creates tags if they don't exist).

Parameters:

  • name: Project name (required)
  • notes: Project description (optional)
  • areaId: Assign to area (optional)
  • whenDate: Start date (optional)
  • deadline: Due date (optional)
  • tags: Array of tag names (optional)
  • headings: Array of section headings (optional)

projects_update

Update project properties (automatically creates tags if they don't exist).

Parameters:

  • id: Project identifier (required)
  • All parameters from projects_create except headings (optional)

projects_complete

Mark a project as complete.

Parameters:

  • id: Project identifier (required)

projects_delete

Delete projects completely from Things3.

Parameters:

  • ids: Single project ID or array of project IDs (required)

Area Tools (3)

areas_list

List all areas.

Parameters:

  • includeHidden: Include hidden areas (optional, default: false)

areas_create

Create a new area.

Parameters:

  • name: Area name (required)

areas_delete

Delete areas completely from Things3.

Parameters:

  • ids: Single area ID or array of area IDs (required)

Tag Tools (5)

tags_list

List all tags with hierarchy information.

Returns: Array of tags with parentTagId for nested tags

tags_create

Create a new tag.

Parameters:

  • name: Tag name (required)
  • parentTagId: Parent tag for nesting (optional)

tags_add

Add tags to items (automatically creates tags if they don't exist).

Parameters:

  • itemIds: Single ID or array of TODO/Project IDs (required)
  • tags: Array of tag names to add (required)

tags_remove

Remove tags from items.

Parameters:

  • itemIds: Single ID or array of TODO/Project IDs (required)
  • tags: Array of tag names to remove (required)

tags_delete

Delete tags completely from Things3.

Parameters:

  • names: Single tag name or array of tag names (required)

Bulk Tools (2)

bulk_move

Move multiple TODOs to a project or area.

Parameters:

  • todoIds: Array of TODO IDs (required)
  • projectId: Target project (optional)
  • areaId: Target area (optional)

bulk_updateDates

Update dates for multiple TODOs.

Parameters:

  • todoIds: Array of TODO IDs (required)
  • whenDate: New scheduled date or null to clear (optional)
  • deadline: New deadline or null to clear (optional)

Logbook Tool (1)

logbook_search

Search completed items in the logbook.

Parameters:

  • searchText: Search in titles and notes (optional)
  • fromDate: Start date for range (optional)
  • toDate: End date for range (optional)
  • limit: Maximum results (optional, default: 50)

System Tools (1)

system_launch

Ensure Things3 is running and ready.

Error Correction

The server automatically corrects common issues:

  • Date Conflicts: Swaps when/deadline if deadline is before scheduled date
  • Missing Titles: Generates title from notes or uses "Untitled"
  • Invalid References: Moves items to Inbox if project/area doesn't exist
  • Tag Names: Cleans special characters that Things3 doesn't support

Usage Examples

With Claude Desktop

Human: Create a new project for the website redesign with tasks for planning, design, and implementation

Claude: I'll create a website redesign project with those tasks for you.

[Creates project and tasks using the Things3 MCP tools]

Direct Tool Usage

Create a TODO:

json
{
  "tool": "todos_create",
  "parameters": {
    "title": "Prepare presentation",
    "notes": "Include Q4 metrics and projections",
    "whenDate": "2024-12-10T14:00:00Z",
    "tags": ["work", "presentation"]
  }
}

List today's tasks:

json
{
  "tool": "todos_list",
  "parameters": {
    "filter": "today"
  }
}

Development

Setup Development Environment

bash
# Install dependencies
npm install

# Run in development mode with watch
npm run dev

# Run tests
npm test

# Run integration tests (requires Things3)
npm run test:integration

# Lint code
npm run lint

# Type check
npm run type-check

Project Structure

things3-mcp/
├── src/
│   ├── index.ts          # Entry point
│   ├── server.ts         # MCP server implementation
│   ├── config.ts         # Configuration management
│   ├── tools/            # Tool implementations
│   │   ├── todos.ts      # TODO operations
│   │   ├── projects.ts   # Project operations
│   │   ├── areas.ts      # Area operations
│   │   ├── tags.ts       # Tag operations
│   │   ├── bulk.ts       # Bulk operations
│   │   ├── logbook.ts    # Logbook search
│   │   └── system.ts     # System utilities
│   ├── templates/        # AppleScript templates
│   ├── utils/            # Utility functions
│   │   ├── applescript.ts     # AppleScript bridge
│   │   ├── cache-manager.ts   # Caching system
│   │   ├── error-correction.ts # Error correction
│   │   └── date-handler.ts    # Date formatting
│   └── types/            # TypeScript definitions
├── tests/
│   ├── unit/            # Unit tests
│   └── integration/     # Integration tests
└── dist/                # Compiled JavaScript

Troubleshooting

Things3 Not Responding

  1. Ensure Things3 is installed and running
  2. Check AppleScript permissions in System Settings > Privacy & Security > Privacy > Automation
  3. Grant your terminal or IDE permission to control Things3

Permission Errors

  • macOS may require you to grant automation permissions
  • Run this command to test AppleScript access:
    bash
    osascript -e 'tell application "Things3" to return name of first to do'

MCP Connection Issues

  1. Verify the path in your configuration is absolute
  2. Check that the server builds successfully: npm run build
  3. Look for error messages in your MCP client's logs
  4. Try running the server directly: node dist/index.js

Date Format Issues

  • Dates must be in ISO 8601 format (e.g., "2024-12-25T10:00:00Z")
  • The server automatically handles timezone conversion
  • If dates appear incorrect, check your system's date format settings

Performance Issues

  • For large operations, use bulk tools instead of individual operations
  • Tag operations automatically create missing tags, which may slow down initial operations

Known Limitations

  1. Checklist Items:
    • Things3's AppleScript API doesn't support checklist manipulation
    • We use URL schemes as a workaround when creating TODOs with checklists
    • This may cause Things3 to briefly come to the foreground
    • Existing checklist items cannot be modified after creation
  2. Deleted Items Recovery: Deleted items cannot be recovered via the API
  3. Reminder Details: Limited reminder information available through AppleScript
  4. Tag Hierarchy: Tag parent-child relationships are read-only (but tags can be created and deleted)
  5. URL Scheme Limitations:
    • When using URL schemes (for checklists), the newly created TODO's ID cannot be directly retrieved
    • The server performs a search to find the created TODO, which may fail if multiple TODOs have identical titles

Contributing

Contributions are welcome! Please follow conventional commit format and ensure all tests pass before submitting pull requests.

Acknowledgments

Cài đặt

TypingMind
Yêu cầu:

Node.js 18+

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

Công cụ có sẵn

  • todos_list

    List TODOs with optional filtering

  • todos_get

    Get full details of a specific TODO

  • todos_create

    Create a new TODO

  • todos_update

    Update an existing TODO

  • todos_complete

    Mark TODO(s) as complete

  • todos_uncomplete

    Mark TODO(s) as incomplete

  • todos_delete

    Delete TODO(s)

  • projects_list

    List all projects in Things3

  • projects_get

    Get detailed information about a specific project

  • projects_create

    Create a new project in Things3

  • projects_update

    Update an existing project

  • projects_complete

    Mark a project as completed

  • projects_delete

    Delete projects in Things3 (moves to trash)

  • areas_list

    List all areas in Things3

  • areas_create

    Create a new area in Things3

  • areas_delete

    Delete areas in Things3 (moves to trash)

  • tags_list

    List all tags in Things3 with hierarchy information

  • tags_create

    Create a new tag in Things3

  • tags_add

    Add tags to TODOs or projects

  • tags_remove

    Remove tags from TODOs or projects

  • tags_delete

    Delete tags completely from Things3

  • bulk_move

    Move multiple TODOs to a project or area

  • bulk_updateDates

    Update dates for multiple TODOs at once

  • logbook_search

    Search completed items in the logbook with optional filters

  • system_launch

    Launch Things3 application if not already running

Dùng MCP Things3 MCP Server với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối Things3 MCP Server, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Thiết lập trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Thiết lập trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh thiết lập trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Để tiến trình tiếp tục chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Để tiến trình tiếp tục chạy trong cửa sổ Terminal khi bạn dùng các công cụ MCP.
3

Thêm Things3 MCP Server làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của Things3 MCP Server.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "urbanogardun-things3-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "things3-mcp"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của Things3 MCP Server, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của Things3 MCP Server.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện trên TypingMind dùng các công cụ MCP đã bật với mô hình AI đã chọn
Bạn có thể dùng Things3 MCP Server giúp tôi làm việc này không?
Things3 MCP Server
Được. Tôi đọc rồi.
Đây là kết quả tôi tìm được bằng Things3 MCP Server.

Câu hỏi thường gặp

Máy chủ MCP Things3 MCP Server dùng để làm gì?

Things3 MCP Server là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP Things3 MCP Server với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng Things3 MCP Server với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP Things3 MCP Server với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối Things3 MCP Server, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP Things3 MCP Server với TypingMind?

Things3 MCP Server hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP Things3 MCP Server cung cấp những công cụ nào trong TypingMind?

Things3 MCP Server cung cấp 25 công cụ MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP Things3 MCP Server không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu Things3 MCP Server yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇