Skip to content

Commit ac6ceaa

Browse files
Add api_read and api_write MCP tools for raw Productive API passthrough
Add api_read and api_write MCP tools for raw Productive API passthrough
2 parents b1267c0 + b99b58f commit ac6ceaa

36 files changed

Lines changed: 53912 additions & 16 deletions

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.10.11] - 2026.05.19
11+
12+
### Added
13+
14+
- **API**: Add `requestRaw()` public method on `ProductiveApi` for passthrough requests reusing existing auth and rate limiting ([876da24], [#172])
15+
- **Core**: Add `apiRead` executor with auto-pagination support (up to 50 pages, configurable via `max_pages`) ([876da24], [#172])
16+
- **Core**: Add `apiWrite` executor for raw POST/PATCH/PUT/DELETE requests ([876da24], [#172])
17+
- **MCP**: Add `api_read` tool — read-only passthrough to any documented Productive API GET endpoint, validated against the official OpenAPI reference ([1ea8a23], [#172])
18+
- **MCP**: Add `api_write` tool — gated write access to documented endpoints, requires `PRODUCTIVE_MCP_ENABLE_API_WRITE=true` and `confirm: true` per call, supports `dry_run` preview ([1ea8a23], [#172])
19+
- **MCP**: Add OpenAPI reference generator script (`npm run api-reference:update`) producing a typed TypeScript reference for 362 endpoints with filters, sort fields, path params, and HTTP methods ([80fc190], [#172])
20+
- **MCP**: Add `describe: true` mode on `api_read` to return endpoint documentation (filters, sort values, supported methods) without fetching data ([c57f884], [#172])
21+
- **MCP**: Document `api_read` / `api_write` filter syntax, pagination, and workflow examples in SKILL.md ([1ea8a23], [#172])
22+
23+
[0.10.11]: https://github.com/studiometa/productive-tools/compare/0.10.10...0.10.11
24+
[876da24]: https://github.com/studiometa/productive-tools/commit/876da24
25+
[80fc190]: https://github.com/studiometa/productive-tools/commit/80fc190
26+
[1ea8a23]: https://github.com/studiometa/productive-tools/commit/1ea8a23
27+
[c57f884]: https://github.com/studiometa/productive-tools/commit/c57f884
28+
[#172]: https://github.com/studiometa/productive-tools/pull/172
29+
1030
## [0.10.10] - 2026.04.08
1131

1232
### Added

docs/mcp-api-tools-plan/README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# MCP API Tools Plan
2+
3+
This folder contains the persistent planning files for adding secure Productive API passthrough tools to the MCP server.
4+
5+
## Files
6+
7+
- [`task_plan.md`](./task_plan.md) — progress tracker and decisions.
8+
- [`notes.md`](./notes.md) — research notes and OpenAPI findings.
9+
- [`implementation-plan.md`](./implementation-plan.md) — full feature implementation plan.
10+
11+
## Scope
12+
13+
Add two MCP tools:
14+
15+
- `api_read`: GET-only, documented, spec-validated raw Productive API access.
16+
- `api_write`: gated write access for documented Productive API endpoints.
17+
18+
The tools should validate and document filters/query parameters against Productive's official OpenAPI reference:
19+
20+
```text
21+
https://developer.productive.io/reference/download_spec
22+
```
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Final Output: MCP API Tools Plan
2+
3+
The full plan has been saved in this folder.
4+
5+
Primary deliverable:
6+
7+
- [`implementation-plan.md`](./implementation-plan.md)
8+
9+
Supporting files:
10+
11+
- [`task_plan.md`](./task_plan.md)
12+
- [`notes.md`](./notes.md)
13+
- [`README.md`](./README.md)
14+
15+
Current status: planning complete, pending review before implementation.

0 commit comments

Comments
 (0)