taskchampion-mcp 1.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- taskchampion_mcp-1.0.0/.gitignore +47 -0
- taskchampion_mcp-1.0.0/LICENSE +199 -0
- taskchampion_mcp-1.0.0/NOTICE +11 -0
- taskchampion_mcp-1.0.0/PKG-INFO +232 -0
- taskchampion_mcp-1.0.0/README.md +204 -0
- taskchampion_mcp-1.0.0/pyproject.toml +87 -0
- taskchampion_mcp-1.0.0/src/taskchampion_mcp/__init__.py +3 -0
- taskchampion_mcp-1.0.0/src/taskchampion_mcp/audit.py +112 -0
- taskchampion_mcp-1.0.0/src/taskchampion_mcp/cli.py +283 -0
- taskchampion_mcp-1.0.0/src/taskchampion_mcp/config.py +354 -0
- taskchampion_mcp-1.0.0/src/taskchampion_mcp/init_schema.py +511 -0
- taskchampion_mcp-1.0.0/src/taskchampion_mcp/onboarding.py +1207 -0
- taskchampion_mcp-1.0.0/src/taskchampion_mcp/rate_limiter.py +86 -0
- taskchampion_mcp-1.0.0/src/taskchampion_mcp/sanitizer.py +178 -0
- taskchampion_mcp-1.0.0/src/taskchampion_mcp/schema.py +227 -0
- taskchampion_mcp-1.0.0/src/taskchampion_mcp/schema_gen.py +963 -0
- taskchampion_mcp-1.0.0/src/taskchampion_mcp/schemas/authors_custom_example.toml +316 -0
- taskchampion_mcp-1.0.0/src/taskchampion_mcp/schemas/gtd.toml +145 -0
- taskchampion_mcp-1.0.0/src/taskchampion_mcp/schemas/kanban.toml +146 -0
- taskchampion_mcp-1.0.0/src/taskchampion_mcp/schemas/minimal.toml +75 -0
- taskchampion_mcp-1.0.0/src/taskchampion_mcp/schemas/scrum.toml +146 -0
- taskchampion_mcp-1.0.0/src/taskchampion_mcp/server.py +1541 -0
- taskchampion_mcp-1.0.0/src/taskchampion_mcp/tools.py +1269 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# Python
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
*.so
|
|
6
|
+
*.egg-info/
|
|
7
|
+
*.egg
|
|
8
|
+
dist/
|
|
9
|
+
build/
|
|
10
|
+
.eggs/
|
|
11
|
+
|
|
12
|
+
# Virtual environments
|
|
13
|
+
.venv/
|
|
14
|
+
venv/
|
|
15
|
+
env/
|
|
16
|
+
|
|
17
|
+
# uv
|
|
18
|
+
.python-version
|
|
19
|
+
|
|
20
|
+
# IDE
|
|
21
|
+
.vscode/
|
|
22
|
+
.idea/
|
|
23
|
+
*.swp
|
|
24
|
+
*.swo
|
|
25
|
+
*~
|
|
26
|
+
.windsurf/
|
|
27
|
+
|
|
28
|
+
# Testing
|
|
29
|
+
.pytest_cache/
|
|
30
|
+
.coverage
|
|
31
|
+
htmlcov/
|
|
32
|
+
.tox/
|
|
33
|
+
.nox/
|
|
34
|
+
|
|
35
|
+
# OS
|
|
36
|
+
.DS_Store
|
|
37
|
+
Thumbs.db
|
|
38
|
+
|
|
39
|
+
# Logs
|
|
40
|
+
*.log
|
|
41
|
+
audit.log
|
|
42
|
+
|
|
43
|
+
# Local config overrides
|
|
44
|
+
config.local.toml
|
|
45
|
+
|
|
46
|
+
# unittest.mock MagicMock leakage when audit_log_path is mocked without spec
|
|
47
|
+
MagicMock/
|
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to the Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by the Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding any notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. Please also get an
|
|
185
|
+
"Alarm or alarm" (alarm alarm) if possible.
|
|
186
|
+
|
|
187
|
+
Copyright 2026 gabiup2
|
|
188
|
+
|
|
189
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
190
|
+
you may not use this file except in compliance with the License.
|
|
191
|
+
You may obtain a copy of the License at
|
|
192
|
+
|
|
193
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
194
|
+
|
|
195
|
+
Unless required by applicable law or agreed to in writing, software
|
|
196
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
197
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
198
|
+
See the License for the specific language governing permissions and
|
|
199
|
+
limitations under the License.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
TaskChampion MCP
|
|
2
|
+
Copyright 2026 gabiup2
|
|
3
|
+
|
|
4
|
+
This product includes software developed by gabiup2.
|
|
5
|
+
https://github.com/gabiup2/TaskChampion_MCP
|
|
6
|
+
|
|
7
|
+
Licensed under the Apache License, Version 2.0.
|
|
8
|
+
|
|
9
|
+
This project integrates with the following upstream tools (all MIT-licensed):
|
|
10
|
+
- Taskwarrior / TaskChampion — Gothenburg Bit Factory (https://taskwarrior.org)
|
|
11
|
+
- Timewarrior — Gothenburg Bit Factory (https://timewarrior.net)
|
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: taskchampion-mcp
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: Model Context Protocol server for Taskwarrior 3.x, TaskChampion, and Timewarrior
|
|
5
|
+
Author: gabiup2
|
|
6
|
+
License-Expression: Apache-2.0
|
|
7
|
+
License-File: LICENSE
|
|
8
|
+
License-File: NOTICE
|
|
9
|
+
Keywords: llm,mcp,model-context-protocol,taskchampion,taskwarrior,timewarrior
|
|
10
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
13
|
+
Classifier: Programming Language :: Python :: 3
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
18
|
+
Classifier: Topic :: Software Development :: Libraries
|
|
19
|
+
Requires-Python: >=3.10
|
|
20
|
+
Requires-Dist: mcp>=1.8.0
|
|
21
|
+
Requires-Dist: tomli>=2.0.0; python_version < '3.11'
|
|
22
|
+
Provides-Extra: dev
|
|
23
|
+
Requires-Dist: pytest-asyncio>=0.24; extra == 'dev'
|
|
24
|
+
Requires-Dist: pytest-cov>=5.0; extra == 'dev'
|
|
25
|
+
Requires-Dist: pytest>=8.0; extra == 'dev'
|
|
26
|
+
Requires-Dist: ruff>=0.4; extra == 'dev'
|
|
27
|
+
Description-Content-Type: text/markdown
|
|
28
|
+
|
|
29
|
+
# TaskChampion MCP
|
|
30
|
+
|
|
31
|
+
**A Model Context Protocol server for Taskwarrior 3.x, TaskChampion, and Timewarrior.**
|
|
32
|
+
|
|
33
|
+
> *For the bearded Unix jockeys and keyboard cowboys who manage their life from the terminal — and now want their LLM to lend a hand.* 🧔⌨️
|
|
34
|
+
|
|
35
|
+
<!-- mcp-name: io.github.GabiUp2/taskchampion-mcp -->
|
|
36
|
+
|
|
37
|
+
[](https://pypi.org/project/taskchampion-mcp/)
|
|
38
|
+
[](LICENSE)
|
|
39
|
+
[](https://python.org)
|
|
40
|
+
[](https://registry.modelcontextprotocol.io)
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
## What Is This?
|
|
45
|
+
|
|
46
|
+
TaskChampion MCP is a [Model Context Protocol](https://modelcontextprotocol.io) server that lets LLMs read, create, modify, and manage your Taskwarrior tasks and Timewarrior time entries. It wraps the `task` and `timew` CLI tools and exposes them as structured MCP tools that any compatible AI assistant can call.
|
|
47
|
+
|
|
48
|
+
**Why?** The author self-hosts [TaskChampion](https://github.com/GothenburgBitFactory/taskchampion-sync-server) on a home server and wanted a clean way for LLMs to cooperate on project planning, task decomposition, and time tracking — without giving up control of the task database.
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
## Supported Platforms
|
|
53
|
+
|
|
54
|
+
| Platform | Transport | Status |
|
|
55
|
+
|---|---|---|
|
|
56
|
+
| **Neovim** (via Claude Code CLI) | stdio | v1.0.0 |
|
|
57
|
+
| **Cursor** | stdio | v1.0.0 |
|
|
58
|
+
| **Windsurf** | stdio | v1.0.0 |
|
|
59
|
+
| **VS Code** (Copilot MCP) | stdio | v1.0.0 |
|
|
60
|
+
| **Claude Desktop** | stdio | v1.0.0 |
|
|
61
|
+
| **HTTP/SSE transports** | HTTP/SSE | Deferred to v1.x |
|
|
62
|
+
|
|
63
|
+
**Requirements:**
|
|
64
|
+
- Python 3.10+
|
|
65
|
+
- Taskwarrior 3.x (TaskChampion sync)
|
|
66
|
+
- Timewarrior (optional, for time tracking features)
|
|
67
|
+
|
|
68
|
+
---
|
|
69
|
+
|
|
70
|
+
## Quick Install
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
# With uv (recommended)
|
|
74
|
+
uv tool install taskchampion-mcp
|
|
75
|
+
|
|
76
|
+
# With pip
|
|
77
|
+
pip install taskchampion-mcp
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
Then configure your IDE's MCP settings to use:
|
|
81
|
+
```json
|
|
82
|
+
{
|
|
83
|
+
"mcpServers": {
|
|
84
|
+
"taskchampion": {
|
|
85
|
+
"command": "taskchampion-mcp-server",
|
|
86
|
+
"args": []
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
Per-target install guides: [Claude Desktop](docs/manuals/targets/claude_desktop.md) | [Windsurf](docs/manuals/targets/windsurf.md) | [Cursor](docs/manuals/targets/cursor.md) | [Neovim](docs/manuals/targets/neovim.md)
|
|
93
|
+
|
|
94
|
+
---
|
|
95
|
+
|
|
96
|
+
## First Run
|
|
97
|
+
|
|
98
|
+
On a fresh install with no `config.toml`, the server boots in **onboarding mode**. All tools are visible in `tools/list`, but operational tools return structured `schema_unset` errors until onboarding completes (ADR 19). You finish onboarding by persisting two keys in `~/.config/taskchampion-mcp/config.toml`:
|
|
99
|
+
|
|
100
|
+
- `role` — what the LLM can do (CONTRIBUTOR / GENERATOR / MANAGER)
|
|
101
|
+
- `schema` *or* `schema_path` — which task schema the server validates against
|
|
102
|
+
|
|
103
|
+
Three ways to get there:
|
|
104
|
+
|
|
105
|
+
1. **Let the LLM walk you through it.** Connect your IDE to the MCP server with no config and ask: *"Help me set up TaskChampion MCP."* The LLM calls `get_runtime_capabilities` first, sees `mode: "onboarding"`, then uses `get_initialization_status` -> `propose_initialization_options` -> `use_preset_schema` (or `save_initial_schema`). The server auto-reloads on success -- **no restart needed**.
|
|
106
|
+
2. **Run the CLI wizard:** `./dev.sh init` (interactive) or `./dev.sh init --preset gtd --role CONTRIBUTOR --non-interactive` (scripted).
|
|
107
|
+
3. **Edit `config.toml` by hand** -- see [quick_start.md](docs/manuals/quick_start.md). Two keys, then call `reload_configuration` from the LLM (or restart the IDE).
|
|
108
|
+
|
|
109
|
+
The three paths are interchangeable and produce identical state. Pick by who should be doing the typing -- see [initialization_flows.md](docs/manuals/initialization_flows.md) for the decision guide.
|
|
110
|
+
|
|
111
|
+
---
|
|
112
|
+
|
|
113
|
+
## Permission Levels
|
|
114
|
+
|
|
115
|
+
Control what the LLM can do with your tasks via three cumulative roles:
|
|
116
|
+
|
|
117
|
+
| Role | Can Read | Can Annotate/Modify | Can Create | Can Complete/Delete |
|
|
118
|
+
|---|---|---|---|---|
|
|
119
|
+
| **CONTRIBUTOR** | ✅ | ✅ | ❌ | ❌ |
|
|
120
|
+
| **GENERATOR** | ✅ | ✅ | ✅ | ❌ |
|
|
121
|
+
| **MANAGER** | ✅ | ✅ | ✅ | ✅ |
|
|
122
|
+
|
|
123
|
+
Set the role in `~/.config/taskchampion-mcp/config.toml`:
|
|
124
|
+
```toml
|
|
125
|
+
[server]
|
|
126
|
+
role = "GENERATOR" # CONTRIBUTOR | GENERATOR | MANAGER
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
---
|
|
130
|
+
|
|
131
|
+
## Task Schemas
|
|
132
|
+
|
|
133
|
+
Taskwarrior supports custom workflows via UDAs (User Defined Attributes). TaskChampion MCP ships with schema presets that teach the LLM your task structure:
|
|
134
|
+
|
|
135
|
+
| Schema | Description |
|
|
136
|
+
|---|---|
|
|
137
|
+
| `minimal` | Built-in fields only (priority, project, tags) |
|
|
138
|
+
| `gtd` | Getting Things Done (contexts, energy, next-actions) |
|
|
139
|
+
| `scrum` | Sprint-based (story points, sprint IDs, acceptance criteria) |
|
|
140
|
+
| `kanban` | Board columns, WIP limits, classes of service |
|
|
141
|
+
| `authors_custom_example` | Advanced real-world example with lifecycle phases, hypothesis-driven research, and LLM provenance tracking |
|
|
142
|
+
|
|
143
|
+
On first run, the MCP will prompt you to select a schema or auto-generate one from your existing tasks.
|
|
144
|
+
|
|
145
|
+
---
|
|
146
|
+
|
|
147
|
+
## Security
|
|
148
|
+
|
|
149
|
+
This tool gives an LLM indirect access to your task management CLI. Security is not optional:
|
|
150
|
+
|
|
151
|
+
- **No shell execution** — all CLI calls use subprocess argument lists, never `shell=True`
|
|
152
|
+
- **Input sanitization** — all LLM inputs validated against allowlists before passing to CLI
|
|
153
|
+
- **Rate limiting** — configurable per-minute/per-hour caps prevent runaway loops
|
|
154
|
+
- **Audit logging** — every operation logged with timestamp, tool, parameters, result, and `result_code`
|
|
155
|
+
- **Code-tagged envelopes** — every tool response includes a stable `code` field for machine-safe branching
|
|
156
|
+
- **Dry-run mode** — every destructive operation supports `dry_run` preview without mutation
|
|
157
|
+
- **Confirmation mode** — lifecycle operations use explicit confirmation tokens when confirmation is enabled
|
|
158
|
+
- **Sensitive field redaction** — configurable fields hidden from LLM responses
|
|
159
|
+
|
|
160
|
+
See [ADR 9](docs/adrs/ADRs.md), [ADR 13](docs/adrs/ADRs.md), and [ADR 14](docs/adrs/ADRs.md) for the full security and observability design.
|
|
161
|
+
|
|
162
|
+
---
|
|
163
|
+
|
|
164
|
+
## Taskwarrior Compatibility
|
|
165
|
+
|
|
166
|
+
| Version | Status |
|
|
167
|
+
|---|---|
|
|
168
|
+
| **Taskwarrior 3.x** (TaskChampion) | ✅ Fully supported |
|
|
169
|
+
| **Taskwarrior 2.x** (Taskserver/taskd) | ⏳ Planned for future release |
|
|
170
|
+
|
|
171
|
+
We focus on the modern Taskwarrior 3.x + TaskChampion stack. Taskserver (taskd) is deprecated and will receive limited support in a future version. See [ADR 8](docs/adrs/ADRs.md).
|
|
172
|
+
|
|
173
|
+
---
|
|
174
|
+
|
|
175
|
+
## Documentation
|
|
176
|
+
|
|
177
|
+
| Folder / file | Contents |
|
|
178
|
+
|---|---|
|
|
179
|
+
| [`docs/adrs/`](docs/adrs/) | Architecture Decision Records |
|
|
180
|
+
| [`docs/references/`](docs/references/) | Upstream tool reference (Taskd, TaskChampion, Timewarrior) |
|
|
181
|
+
| [`docs/manuals/quick_start.md`](docs/manuals/quick_start.md) | Manual `config.toml` setup |
|
|
182
|
+
| [`docs/manuals/configuration_reference.md`](docs/manuals/configuration_reference.md) | Full config key reference with precedence rules |
|
|
183
|
+
| [`docs/manuals/schema_authoring.md`](docs/manuals/schema_authoring.md) | Writing custom task schemas |
|
|
184
|
+
| [`docs/manuals/security_model.md`](docs/manuals/security_model.md) | Security controls for end-users |
|
|
185
|
+
| [`docs/manuals/initialization_flows.md`](docs/manuals/initialization_flows.md) | Which init path to use (LLM-driven vs CLI vs hand-edit) |
|
|
186
|
+
| [`docs/manuals/targets/`](docs/manuals/targets/) | Per-IDE install guides (Claude Desktop, Windsurf, Cursor, Neovim) |
|
|
187
|
+
| [`docs/manuals/logrotate.md`](docs/manuals/logrotate.md) | Audit log rotation |
|
|
188
|
+
| [`docs/llm_context/`](docs/llm_context/) | LLM agent guidelines and tracked assumptions |
|
|
189
|
+
| [`docs/CONTRIBUTING.md`](docs/CONTRIBUTING.md) | How to contribute (branching, PRs, versioning) |
|
|
190
|
+
| [`docs/ROADMAP.md`](docs/ROADMAP.md) | Feature roadmap (v0.1.0 → v1.0.0) |
|
|
191
|
+
| [`src/taskchampion_mcp/schemas/`](src/taskchampion_mcp/schemas/) | Bundled task schema presets (TOML) |
|
|
192
|
+
| [`scripts/setup_remote.sh`](scripts/setup_remote.sh) | One-shot remote-host bootstrap |
|
|
193
|
+
|
|
194
|
+
---
|
|
195
|
+
|
|
196
|
+
## Troubleshooting
|
|
197
|
+
|
|
198
|
+
Common first-run and config issues. Detailed walkthroughs live in [docs/manuals/quick_start.md](docs/manuals/quick_start.md) and [docs/manuals/initialization_flows.md](docs/manuals/initialization_flows.md).
|
|
199
|
+
|
|
200
|
+
| Symptom | Likely cause | Fix |
|
|
201
|
+
|---|---|---|
|
|
202
|
+
| Tools return `schema_unset` errors after connecting | `~/.config/taskchampion-mcp/config.toml` is missing either `role` or `schema`/`schema_path` | Add both under `[server]` and call `reload_configuration` (or restart). |
|
|
203
|
+
| Linux Claude Desktop install completes but taskchampion never appears | Pre-v0.3.0 lowercase path bug in dev.sh | Update to v0.3.0+. Linux: capital `C` in `~/.config/Claude/`. |
|
|
204
|
+
| `set_role("MANAGER")` returns `role_elevation_forbidden` | Self-elevation via MCP is forbidden ([ADR 17](docs/adrs/ADRs.md)) | Hand-edit `config.toml`, then call `reload_configuration`. |
|
|
205
|
+
| MCP server fails on startup with `Taskwarrior not found on PATH` | `task` not installed or not on the MCP server's `PATH` | Install Taskwarrior 3.x. Set `task_binary` in config if needed. |
|
|
206
|
+
| Cowork / Claude Desktop: install JSON overwritten on quit | Wrote config while Claude Desktop was running | Quit Claude Desktop first, or use `./dev.sh reinstall claude -r`. |
|
|
207
|
+
| Tool surface includes neither onboarding nor contributor tools | Server failed to start (check stderr) | Run `taskchampion-mcp-server` from a shell to see the error. |
|
|
208
|
+
|
|
209
|
+
For deeper failure modes, every MCP tool returns a stable `error_code` field ([ADR 14](docs/adrs/ADRs.md)) and every call is audit-logged ([ADR 13](docs/adrs/ADRs.md)) at `~/.local/share/taskchampion-mcp/audit.log` by default.
|
|
210
|
+
|
|
211
|
+
---
|
|
212
|
+
|
|
213
|
+
## Contributing
|
|
214
|
+
|
|
215
|
+
See [`docs/CONTRIBUTING.md`](docs/CONTRIBUTING.md) for the full guide. Key points:
|
|
216
|
+
|
|
217
|
+
- Branch from `dev`, PR to `qa`, release from `qa` to `main`
|
|
218
|
+
- Semantic versioning (`vMAJOR.MINOR.PATCH`)
|
|
219
|
+
- LLM-assisted contributions must be attributed (see [`docs/llm_context/AGENTS.md`](docs/llm_context/AGENTS.md))
|
|
220
|
+
- All unverified assumptions must be logged in [`docs/llm_context/assumptions_and_ideas.md`](docs/llm_context/assumptions_and_ideas.md)
|
|
221
|
+
|
|
222
|
+
---
|
|
223
|
+
|
|
224
|
+
## License
|
|
225
|
+
|
|
226
|
+
[Apache License 2.0](LICENSE) — use freely for private and commercial purposes. Attribution required via the [NOTICE](NOTICE) file.
|
|
227
|
+
|
|
228
|
+
Copyright 2026 gabiup2
|
|
229
|
+
|
|
230
|
+
---
|
|
231
|
+
|
|
232
|
+
*This project was bootstrapped with assistance from Claude claude-sonnet-4-20250514 via Windsurf Cascade.*
|