taskpaper-mcp
# taskpaper-mcp
MCP server for reading and writing [TaskPaper](https://www.taskpaper.com) plain text files. No AppleScript needed, works directly with the `.taskpaper` file format.
## Install
```bash
npm install -g taskpaper-mcp
```
Or use without installing:
```bash
npx taskpaper-mcp
```
## Configuration
Set `TASKPAPER_DIR` to the directory containing your `.taskpaper` files. If not set, defaults to `$HOME`.
### Kiro CLI / Claude Desktop / any MCP client
```json
{
"mcpServers": {
"taskpaper": {
"command": "npx",
"args": ["taskpaper-mcp"],
"env": {
"TASKPAPER_DIR": "/path/to/your/taskpaper/files"
}
}
}
}
```
## Tools
| Tool | Description |
|------|-------------|
| `list_files` | List all `.taskpaper` files in the configured directory |
| `list_projects` | List all projects with task/done counts |
| `list_tasks` | List tasks, filter by project, tag, or done status |
| `list_tags` | List all unique tags with distinct value counts and values |
| `search` | Search items by text, tag, or type |
| `read_file` | Full parsed outline as structured JSON |
| `add_task` | Add a task (optionally under a project, with tags and note) |
| `add_tasks` | Batch add multiple tasks in one operation |
| `add_project` | Add a new project |
| `add_projects` | Batch add multiple projects |
| `add_note` | Add a note under a project or task |
| `add_tag` | Add any tag to matching items |
| `add_tags` | Batch add tags to multiple items |
| `remove_tag` | Remove a tag from matching items |
| `modify_tag` | Change a tag's value on matching items |
| `complete_task` | Toggle `@done` on matching tasks |
| `archive_done` | Move all `@done` items to Archive project |
| `move_task` | Move a task to a different project |
## TaskPaper Format
Plain text. Each line is an item:
- **Project**: line ending with `:` (e.g. `Groceries:`)
- **Task**: line starting with `- ` (e.g. `- Buy milk`)
- **Note**: anything else
- **Tags**: `@name` or `@name(value)` anywhere on a line
- **Hierarchy**: tab indentation
All tags are supported. Common conventions: `@done`, `@due(date)`, `@priority(n)`, `@today`, `@flagged`.
## License
MIT
TDQS
Scored across 18 tools
Most tools target a distinct resource+action, and the single-vs-batch pairs (add_tag/add_tags, add_task/add_tasks, add_project/add_projects) are explicitly differentiated in their descriptions. The main soft overlap is add_tag vs modify_tag (both mutate existing tag values) and search vs list_tasks, but descriptions make the boundaries workable.
The dominant pattern is a verb_noun snake_case form (add_tag, remove_tag, move_task, list_projects, complete_task, read_file), applied consistently. The only real deviations are the bare-verb 'search' and the verb+participle 'archive_done', which are minor and still readable.
At 18 tools it sits just above the comfortable range, and the count is inflated by batch duplicates of add_tag, add_task, and add_project that could arguably be merged or optional. Still, most tools map to a real TaskPaper operation rather than being filler, so it is borderline-heavy rather than mismatched.
Core lifecycle is covered: create tasks/projects, notes, tags, search, complete, archive, and read/list files. However, there is no operation to delete a task or remove a project/note, and no way to edit a task's text, which are notable gaps that would leave agents stuck on cleanup or text-correction workflows.