Back to Browse

Things Applescript MCP Server

by Runeb
Developer ToolsModerate5.6MCP RegistryLocal
Free

Server data from the Official MCP Registry

Things 3 to-dos via AppleScript/JXA only: no database, no Full Disk Access needed.

About

Things 3 to-dos via AppleScript/JXA only: no database, no Full Disk Access needed.

Security Report

5.6
Moderate5.6Moderate Risk

This is a well-scoped Things 3 MCP server that talks to the app only via osascript, with fixed script strings and user values passed as argv/JSON rather than interpolated into code, so no injection path was found. The server requires macOS Automation permission and no API keys (appropriate for a local app), and its permissions (shell_exec via osascript, database-free app control) match its stated purpose. Remaining concerns are minor: no separate authentication layer beyond OS-level Automation consent, and the tool-level input handling could be tightened, but none drive the score meaningfully down. Supply chain analysis found 5 known vulnerabilities in dependencies (0 critical, 1 high severity). Package verification found 1 issue.

5 files analyzed · 10 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

process_spawn

Check that this permission is expected for this type of plugin.

Shell Command Execution

Runs commands on your machine. Be cautious — only use if you trust this plugin.

database

Check that this permission is expected for this type of plugin.

system_info

Check that this permission is expected for this type of plugin.

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "things-applescript-mcp": {
      "command": "uvx",
      "args": [
        "things-applescript-mcp==0.1.0"
      ]
    }
  }
}

Some servers take additional arguments. See the repository for details.

Documentation

View on GitHub

From the project's GitHub README.

things-applescript-mcp

A small local MCP server for Things 3 that talks to Things only through osascript (JXA and AppleScript).

It never reads the Things SQLite database, so it doesn't need Full Disk Access. It needs only Automation permission to control Things3.

This is an unofficial project. It isn't made, endorsed or supported by Cultured Code. Things is a trademark of Cultured Code GmbH & Co. KG.

Tools

Every tool that acts on one to-do takes its id as id. Each tool's MCP description lists its exact parameters and accepted values.

Reading

ToolParametersReturns
list_todoslist_name: Inbox, Today, Anytime, Upcoming or SomedayOpen to-dos: id, title, notes, deadline, start_date, tags, project, area
get_todoidOne to-do: the list_todos fields plus status and list
search_todosquery, include_completed (default false), limit (default 50, max 500){results, truncated}; each result has the get_todo fields
list_projectsnoneOpen projects: id, title, area
list_areasnoneAreas: id, title

Changing

ToolParametersWhat it does
add_todotitle; optional notes, list_name (default Inbox), deadline, when, tagsCreates a to-do and returns it as get_todo would
update_todoid; optional title, notes, append_notes, when, deadline, tagsChanges only the fields you pass and returns the updated to-do
move_todoid, destination: Inbox, Today, Anytime, Someday or a project nameMoves a to-do
complete_todoidMarks a to-do completed
delete_todoidMoves a to-do to the Things Trash

Accepted values:

  • when: today, tomorrow, anytime, someday, or a date as YYYY-MM-DD (today or later). A future date puts the to-do in Upcoming.
  • deadline: YYYY-MM-DD. In update_todo, none removes the deadline.
  • tags: a list of existing tag names, matched without regard to case. It replaces all of the to-do's tags; [] removes them all.
  • list_name (in add_todo): Inbox, Today, Anytime, Someday or a project name. Combine when with a project or the default Inbox; with Today, Anytime or Someday the two conflict and the call is rejected.
  • notes / append_notes: notes replaces the notes; append_notes adds a new line at the end. Pass one or the other, not both.

How the tools behave

  • List and project names: list names ignore case. Project names ignore case and leading or trailing spaces. If more than one open project has the same name, the tool returns an error listing their ids.
  • Upcoming: you can list it, but you can't move a to-do there. Use update_todo with a future when date instead.
  • Projects and lists: moving a to-do to Inbox takes it out of its project. Moving it to Today, Anytime or Someday, or scheduling it with when, keeps it in its project. This is how Things itself works.
  • Open to-dos only: list_todos skips completed and canceled to-dos. Things leaves them in Today until it logs them.
  • Search: case-insensitive substring match on title and notes. It looks in Inbox, Today, Upcoming, Anytime and Someday, plus the Logbook when include_completed is true. Trashed to-dos are never returned. Use it to check for duplicates before add_todo.
  • list field: the first of Inbox, Today, Upcoming, Anytime, Someday, Logbook or Trash that contains the to-do. It's null when Things shows the to-do only inside its project, for example a project's to-do set to Someday.
  • Projects aren't to-dos: in Things' scripting model a project is a kind of to-do. The to-do tools reject project ids so you can't complete or trash a whole project by mistake.
  • Area: a to-do inside a project shows that project's area.
  • Dates: deadline and start_date are local dates as YYYY-MM-DD, or null.

Limits of Things' AppleScript

  • No This Evening. Things' AppleScript has no way to set or read This Evening, so when: "evening" returns an error rather than pretending.
  • No moving into Tomorrow. Things refuses to move a to-do into its Tomorrow list (error 301). when: "tomorrow" and future dates use Things' schedule command instead, which puts the to-do in Upcoming with that start date.
  • Unknown tags are rejected. Setting a tag that doesn't exist makes Things create it silently, so a typo would leave a stray tag. The tools return an error listing the existing tags instead.
  • Past dates are rejected for when. Things would put the to-do in Today but keep the old start date.

Setup

Requires macOS, Things 3 and uv.

Add the server to ~/Library/Application Support/Claude/claude_desktop_config.json, under mcpServers:

"things": {
  "command": "/Users/<you>/.local/bin/uvx",
  "args": ["things-applescript-mcp"]
}

uvx downloads the package from PyPI and runs it. Use the absolute path to uvx (which uvx shows it): Claude Desktop doesn't use your shell's PATH. Restart Claude afterwards.

Other MCP clients work the same way: run uvx things-applescript-mcp as a stdio server.

Upgrading: uvx keeps using the version it first downloaded. To get a new release, run uv cache clean things-applescript-mcp and restart Claude.

Running from a checkout

git clone https://github.com/runeb/things-applescript-mcp.git
cd things-applescript-mcp
uv sync

Then point the client at uv with "args": ["--directory", "/absolute/path/to/things-applescript-mcp", "run", "things-applescript-mcp"].

Automation permission

The first time a tool runs, macOS asks whether the app running the server (for example Claude) may control Things3. Allow it.

If you declined, or the tools return a permission error, open System Settings → Privacy & Security → Automation, find that app, and turn on Things3.

Errors

Failures come back as MCP tool errors with a readable message, for example:

  • Automation permission is missing (macOS error -1743), with steps to fix it
  • Things isn't installed, isn't running, or didn't respond in time
  • No to-do with that id, a project id where a to-do id is expected, or no list or project with that name
  • An invalid when, deadline or tag, or conflicting arguments
  • osascript timed out after 90 seconds, often because a permission prompt is waiting for an answer

How it works

  • No user data in script text. Every script is a fixed string. JXA scripts get their arguments as a single JSON-encoded argv entry. AppleScript scripts get positional argv entries. Both are passed after --, so a value like -e can't be read as an osascript option.
  • Bulk reads. list_todos and search_todos fetch each property for a whole list in one Apple Event (toDos.name(), toDos.id() and so on) instead of looping over to-dos. list_todos takes about 0.25s; a search that includes the Logbook takes under a second.
  • JXA and AppleScript. JXA handles reads and most writes, including Things' schedule command and removing a deadline. Moving a to-do to a list uses a small fixed AppleScript, because JXA's move command fails against Things with error -1700. Moving into a project sets the to-do's project property.
  • Validate, then write. update_todo and add_todo check every argument (dates, tags, destination) before changing anything, so a bad value doesn't leave a to-do half-updated.
  • Logged and trashed to-dos. Things' general to-do list only holds open to-dos. A logged to-do can still be read through it but can't be deleted that way, so the server addresses logged and trashed to-dos through the Logbook or Trash list instead.
  • Adding to a list other than Inbox. add_todo checks the destination first, creates the to-do in the Inbox, then schedules or moves it. If that fails, it moves the new to-do to the Trash so nothing half-done is left in the Inbox.
  • Locale-independent lists. Built-in lists are looked up by their internal ids (TMInboxListSource, TMTodayListSource, TMNextListSource, TMCalendarListSource, TMSomedayListSource), not by their names, which change with the UI language.

Development

See CLAUDE.md for how the code is organised, the Things scripting quirks it works around, the live test script and the release process.

License

MIT

Reviews

No reviews yet

Be the first to review this server!