Things MCP 服务器 标志

Things MCP 服务器

社区
hald

Things.app MCP Server

发布者hald
代码仓库things-mcp
语言Python
复刻数
67
星标数
598
可用工具
0
传输类型stdio
分类
许可协议MIT
链接
  • 将工具接入 AI 工作流

    Things MCP 服务器 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 598 个 Star 和 67 个 Fork。

Things MCP Server

This Model Context Protocol (MCP) server lets you use Claude Desktop to interact with your task management data in Things 3 from Cultured Code. You can ask Claude to create tasks, analyze projects, help manage priorities, and more.

This server leverages the Things.py library and the Things URL Scheme.

Support the Project

If you find this project helpful, consider supporting its development:

ko-fi

Features

  • Access to all major Things lists (Inbox, Today, Upcoming, etc.)
  • Project and area management
  • Tag operations
  • Advanced search capabilities
  • Recent items
  • Detailed item information including checklists
  • Support for nested data (projects within areas, todos within projects)
  • Someday project filtering: tasks in Someday projects are automatically excluded from Today, Upcoming, and Anytime views, matching Things UI behavior

Installation

Prerequisites

  • macOS (Things 3 is Mac-only)
  • Things 3 app with "Enable Things URLs" turned on (Settings → General)
  • A MCP client, such as Claude Desktop or Claude Code
  • uv Python package manager: brew install uv

Install via uvx (Any MCP Client)

Things MCP is published on PyPI and can be run directly with uvx:

bash
uvx things-mcp

Configure your MCP client to use uvx with things-mcp as the argument.

Claude Desktop

Option 1: One-Click Install (Recommended)

  1. Download the latest file from the releases page
  2. Double-click the .mcpb file
  3. Done!

Option 2: Manual Config

  1. Go to Claude → Settings → Developer → Edit Config
  2. Add the Things server:
json
{
  "mcpServers": {
    "things": {
      "command": "uvx",
      "args": ["things-mcp"]
    }
  }
}
  1. Save and restart Claude Desktop

Claude Code

bash
claude mcp add-json things '{"command":"uvx","args":["things-mcp"]}'

To make it available globally (across all projects), add -s user:

bash
claude mcp add-json -s user things '{"command":"uvx","args":["things-mcp"]}'

Verify it's working

After installation:

  • If using Claude Desktop, you should see "Things MCP" in the "Search and tools" list
  • Try asking: "What's in my Things inbox?"

Sample Usage with Claude Desktop

  • "What's on my todo list today?"
  • "Create a todo to pack for my beach vacation next week, include a packing checklist."
  • "Evaluate my current todos using the Eisenhower matrix."
  • "Help me conduct a GTD-style weekly review using Things."
  • "Show me tasks that haven't been modified in over a month."

Tips

  • Create a project in Claude with custom instructions that explains how you use Things and organize areas, projects, tags, etc. Tell Claude what information you want included when it creates a new task (eg asking it to include relevant details in the task description might be helpful).
  • Try adding another MCP server that gives Claude access to your calendar. This will let you ask Claude to block time on your calendar for specific tasks, create todos from upcoming calendar events (eg prep for a meeting), etc.
  • Use task ages to identify stale items: "Which tasks in my Anytime list are older than 2 weeks?"

Available Tools

List Views

  • get-inbox - Get todos from Inbox
  • get-today - Get todos due today
  • get-upcoming - Get upcoming todos
  • get-anytime - Get todos from Anytime list
  • get-someday - Get todos from Someday list, including tasks in Someday projects
  • get-logbook - Get completed todos
  • get-trash - Get trashed todos

Basic Operations

  • get-todos - Get todos, optionally filtered by project
  • get-projects - Get all projects
  • get-areas - Get all areas

Tag Operations

  • get-tags - Get all tags
  • get-tagged-items - Get items with a specific tag
  • get-tag-usage - Report how many items use each tag, sorted by usage; flag unused tags for cleanup

Search Operations

  • search-todos - Simple search by title/notes
  • search-advanced - Advanced search with multiple filters

Time-based Operations

  • get-recent - Get recently created items

Things URL Scheme Operations

  • add-todo - Create a new todo
  • add-project - Create a new project
  • add-area - Create a new Area (via AppleScript; Things URL scheme has no add-area command)
  • update-area - Update an existing Area: rename or set tags (via AppleScript)
  • update-todo - Update an existing todo
  • bulk-update-todos - Apply the same update to many todos in a single operation
  • update-project - Update an existing project
  • show-item - Show a specific item or list in Things
  • search-items - Search for items in Things

Tool Parameters

Pagination (most read tools)

The list/search read tools (get-inbox, get-today, get-upcoming, get-anytime, get-someday, get-logbook, get-trash, get-todos, get-projects, get-areas, get-tags, get-tagged-items, get-headings, search-todos, search-advanced, get-recent) accept optional pagination:

  • limit - Maximum number of items to return (default: all; get-logbook defaults to 50)
  • offset - Number of items to skip from the start (default: 0)

When neither is set, output is unchanged. When set, a Showing X-Y of Z items header is prepended so you know how much more there is. An offset past the end is reported distinctly from an empty result.

These same read tools also return structured content alongside the human-readable text: MCP clients receive the raw item dicts plus count/total/offset/limit under structured_content, so data can be consumed programmatically without parsing the formatted text.

get-todos

  • project_uuid (optional) - Filter todos by project
  • include_items (optional, default: true) - Include checklist items

get-projects / get-areas / get-tags

  • include_items (optional, default: false) - Include contained items

search-advanced

  • status - Filter by status (incomplete/completed/canceled)
  • start_date - Filter by start date (YYYY-MM-DD)
  • deadline - Filter by deadline (YYYY-MM-DD)
  • tag - Filter by tag
  • area - Filter by area UUID
  • type - Filter by item type (to-do/project/heading)
  • last - Filter by creation date (e.g., '3d' for last 3 days, '1w' for last week)

get-recent

  • period - Time period (e.g., '3d', '1w', '2m', '1y')

get-logbook

  • period (optional, default: '7d') - Look-back window by completion date. Accepts d/w/m/y (e.g., '3d', '1w', '2m', '1y'); months ≈ 30 days, years ≈ 365 days
  • limit (optional, default: 50) - Maximum number of completed items to return

get-tag-usage

  • only_unused (optional, default: false) - Return only tags that no item references (cleanup candidates)

update-todo (checklist & tags)

  • tags - Replace all tags on the todo
  • add_tags - Append tags without removing existing ones
  • checklist_items - Replace the entire checklist with this list
  • prepend_checklist_items - Add these items to the top of the checklist
  • append_checklist_items - Add these items to the bottom of the checklist

bulk-update-todos

Applies the same change to every todo in ids in a single operation. Requires the Things auth token to be enabled (Things → Settings → General → Enable Things URLs → Manage); the server reads it automatically.

  • ids (required) - List of todo UUIDs to update
  • list / list_id - Move all into a project/area (by title or UUID)
  • tags / add_tags - Replace or append tags on all
  • when - Reschedule all (keyword or YYYY-MM-DD)
  • deadline - Set deadline on all (YYYY-MM-DD)
  • heading / heading_id - Move all under a heading (by title or UUID)
  • completed / canceled - Mark all completed or canceled

Scheduling with Reminders (add-todo, add-project, update-todo, update-project)

  • when - Accepts multiple formats:
    • Keywords: today, tomorrow, evening, anytime, someday
    • Date: YYYY-MM-DD (e.g., 2024-01-15)
    • DateTime with reminder: YYYY-MM-DD@HH:MM (e.g., 2024-01-15@14:30)

Troubleshooting

If it's not working:

  1. Make sure Things 3 is installed and has been opened at least once

    • The Things database needs to exist for the server to work
  2. Check that "Enable Things URLs" is turned on

    • Open Things → Settings → General → Enable Things URLs
  3. Claude Desktop can't find uvx

    • Install uv globally with Homebrew (brew install uv)
    • Alternative: Use the full path to uvx in your config. Find it with which uvx (typically /Users/USERNAME/.local/bin/uvx)

Development

Running Tests

The project includes a comprehensive unit test suite for the URL scheme and formatter modules.

bash
# Install test dependencies
uv sync --extra test

# Run all tests
uv run pytest

# Run tests with verbose output
uv run pytest -v

# Run a specific test file
uv run pytest tests/test_url_scheme.py

# Run tests matching a pattern
uv run pytest -k "test_add_todo"

MCP Integration Test

The project includes an integration test plan that can be executed by Claude (via Claude Cowork or Claude Code) to verify all MCP tools work correctly against a live Things database.

See docs/mcp_integration_test_plan.md for the full test plan.

Project Structure

things-mcp/
├── src/things_mcp/      # Main package
│   ├── __init__.py      # Package exports
│   ├── __main__.py      # Entry point for python -m
│   ├── server.py        # MCP server implementation
│   ├── url_scheme.py    # Things URL scheme implementation
│   └── formatters.py    # Data formatting utilities
├── tests/               # Unit tests
│   ├── conftest.py      # Test fixtures and configuration
│   ├── test_url_scheme.py
│   ├── test_formatters.py
│   ├── test_someday_filtering.py
│   └── test_mcp_server_filtering.py
├── docs/                # Documentation
│   └── mcp_integration_test_plan.md  # Claude-executable integration test
├── manifest.json        # MCPB package manifest
├── build_mcpb.sh        # MCPB package build script
├── pyproject.toml       # Project dependencies, build config, and pytest config
├── .env.example         # Sample environment configuration
└── run.sh               # Convenience runner script

HTTP Transport

By default, the server uses stdio transport for communication with MCP clients. For remote access scenarios, you can run the server with HTTP transport.

Configuration

Set these environment variables to enable HTTP transport:

VariableDefaultDescription
THINGS_MCP_TRANSPORTstdioTransport type: stdio or http
THINGS_MCP_HOST127.0.0.1HTTP server bind address
THINGS_MCP_PORT8000HTTP server port

Example

bash
# Using uvx
THINGS_MCP_TRANSPORT=http THINGS_MCP_HOST=0.0.0.0 THINGS_MCP_PORT=8000 uvx things-mcp

# Or from source
THINGS_MCP_TRANSPORT=http THINGS_MCP_HOST=0.0.0.0 THINGS_MCP_PORT=8000 uv run things-mcp

See .env.example for a sample configuration file.

安装

TypingMind
{
  "mcpServers": {
    "things-mcp": {
      "command": "uv",
      "args": [
        "--directory",
        "/ABSOLUTE/PATH/TO/PARENT/FOLDER/things-mcp",
        "run",
        "things_server.py"
      ]
    }
  }
}

将 Things MCP 服务器 MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 Things MCP 服务器 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过您设备上的 TypingMind MCP 连接器在本地运行。

本地连接器设置指南

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请保持终端窗口及其中的进程运行。
3

将 Things MCP 服务器 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 Things MCP 服务器 MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "things-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 Things MCP 服务器 MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 Things MCP 服务器 MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 Things MCP 服务器 帮我完成这项任务吗?
Things MCP 服务器
当然。我已阅读。
以下是我使用 Things MCP 服务器 得到的结果。

常见问题

Things MCP 服务器 MCP 服务器有什么用途?

Things MCP 服务器 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 Things MCP 服务器 MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您可以让 Claude、ChatGPT、Gemini 等不同 AI 模型,或您在 TypingMind 中配置的其他模型使用 Things MCP 服务器,而无需为每个模型单独配置 MCP 服务器。

为什么在 TypingMind 中使用 Things MCP 服务器 MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是优秀的大语言模型聊天前端之一。连接 Things MCP 服务器 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 Things MCP 服务器 MCP 连接到 TypingMind?

Things MCP 服务器 通过 TypingMind 本地 MCP 连接器运行。当 MCP 服务器需要访问您计算机上的本地文件、桌面应用、命令行工具或私有资源时,这种方式最合适。

Things MCP 服务器 MCP 在 TypingMind 中提供哪些工具?

Things MCP 服务器 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 Things MCP 服务器 MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行掌控模型提供商、API 密钥、提示词和 MCP 配置。如果 Things MCP 服务器 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇