-
Notifications
You must be signed in to change notification settings - Fork 42
Add MCP payload/response reduction (read + write) and verification fixes #280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
yakky
wants to merge
58
commits into
feature/issue-267-add-mcp
from
feature/267-mcp-write-payload-reduction
Open
Changes from all commits
Commits
Show all changes
58 commits
Select commit
Hold shift + click to select a range
0431a2c
Release 2.0.0b2
yakky e7dc9c5
fix(mcp): make project optional on list_milestones/list_wiki_pages
yakky 1650b3b
docs: add evaluation report and activity log for project-param fix
yakky 4536dc5
feat(mcp): add include_user_stories option to list_milestones/get_mil…
yakky bbf8395
refactor(mcp): narrow _strip_user_stories type hint, add direct unit …
yakky f25992c
docs(mcp): document include_user_stories flag on milestone tools
yakky aaef67e
docs: add evaluation report and activity log for milestone user_stori…
yakky 63e3389
Release 2.0.0b3
yakky 29960d2
chore: remove files from git
yakky a1a83a9
feat(mcp): add strip_avatar_fields helper
yakky 8a6ad19
feat(mcp): add select_fields projection helper
yakky 6c680bc
feat(mcp): add collapse_extra_info helper
yakky 32901bf
feat(mcp): add MINIMAL_FIELDS and apply_payload composition
yakky b66dd00
feat(mcp): add payload/fields/strip_media/expand to project and membe…
yakky dbfedd5
feat(mcp): add payload/fields/strip_media/expand to user story tools
yakky 53d0fc2
feat(mcp): add payload/fields/strip_media/expand to task tools
yakky 9ad6338
feat(mcp): add payload/fields/strip_media/expand to issue tools
yakky 50afc7f
feat(mcp): add payload/fields/strip_media/expand to epic tools
yakky 179abcf
feat(mcp): add payload/fields/strip_media/expand to milestone tools
yakky 1f3084a
feat(mcp): add payload/fields/strip_media/expand to wiki page tools
yakky f079603
feat(mcp): add _resolve_assigned_users helper
yakky 335f84f
feat(mcp): add resolve_assigned_users to user story tools
yakky ab246ec
feat(mcp): add strict_filters to list tools
yakky 9dcd6b0
docs(mcp): document payload/fields/strip_media/expand/resolve_assigne…
yakky 476b218
fix(mcp): type payload as Literal, include assigned_users_extra_info …
yakky 24183db
docs(mcp): compress payload-param docstrings, point to docs/mcp.rst
yakky 528e1b0
docs(mcp): restore minimal-field-set enumeration lost in docstring co…
yakky 99356e7
docs(mcp): add docstring to _select_from_item
yakky e2b7dd7
docs(changes): add towncrier fragment for payload-reduction feature
yakky 87a889f
Bump develop version [ci skip]
yakky d239ebe
feat(mcp): add _represent helper for return_representation
yakky 130cef7
feat(mcp): add return_representation to user story write tools
yakky f8f2f7c
feat(mcp): add return_representation to task write tools
yakky 1fa5876
feat(mcp): add return_representation to issue write tools
yakky 841de31
feat(mcp): add return_representation to epic write tools
yakky 2b2a398
feat(mcp): add return_representation to create_milestone
yakky a43f7c1
feat(mcp): add return_representation to wiki page write tools
yakky a3cd159
feat(mcp): add update_work_items batch-write tool
yakky aeefea9
fix(mcp): keep update_work_items per-item isolation for malformed items
yakky 483f9dc
docs(mcp): document return_representation and update_work_items
yakky bd708ff
fix(mcp): correct _represent merge order, scope version doc claim, im…
yakky 4314a91
docs(changes): add towncrier fragment for write-response payload-redu…
yakky 46a38b1
fix(mcp): read membership display name from full_name, not full_name_…
yakky 806b726
docs(changes): add towncrier fragment for resolve_assigned_users fiel…
yakky 83b91fe
fix(mcp): improve minimal-field-set accuracy for milestone/userstory/…
yakky b451399
docs(changes): add towncrier fragment for M4/M5/M8/M11 minimal-field-…
yakky efd92cd
docs(mcp): document strict_filters' limits prominently
yakky 9de1354
Release 2.0.0.b5
yakky 6ab4737
fix(mcp): surface real error messages instead of a generic wrapper (N3)
yakky 6044524
fix(mcp): collapse invited_by under payload=compact/minimal (M7)
yakky 7d3ab97
fix(mcp): strip media from expand'd blocks too (M6)
yakky 492bd3b
docs(mcp): document a client-side 'default means required' validation…
yakky 96eec52
docs(mcp): document that embedded user_stories lack assigned_users (N4)
yakky c6f3706
docs(mcp): document that a list-valued filter silently drops all but …
yakky a1f3247
chore: release 2.0.0b6
yakky 9eb1f28
docs(changes): add towncrier fragments for N3/M7/M6 bugfixes
yakky 903cce4
test(mcp): cover minimal/none write representations and assigned-user…
yakky 16acdb7
fix(mcp): don't derive default media stripping from payload when fiel…
yakky File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Fix `expand` reintroducing avatar/logo fields that `strip_media` otherwise removes from the rest of the response - an expanded block now goes through the same strip pass as everything else. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Fix `invited_by` (on membership records) escaping the `payload="compact"`/`"minimal"` collapsing every other user/project block gets, since it doesn't end in `_extra_info`. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Fix the MCP server's `minimal` payload projection: milestones now include `project_extra_info.name`/`.slug`, user stories now include the bare `assigned_users` id list, and both user stories and issues drop the redundant per-project `status` id in favour of the cross-project-comparable `status_extra_info.name`. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Add opt-in payload-reduction parameters (`payload`, `fields`, `strip_media`, `expand`, `resolve_assigned_users`, `strict_filters`) to the MCP server's read tools, shrinking oversized responses on request while leaving default behaviour byte-for-byte unchanged. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Fix `resolve_assigned_users` always returning `null` display names by reading the correct `full_name` field from Taiga membership records instead of the nonexistent `full_name_display`. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Fix the MCP server swallowing anticipated failure messages (a `strict_filters` violation, a stale/missing `version` on a single-item `update_*` call) into a generic "Error executing tool" with no detail. These now surface the real message, matching what `update_work_items` already returned per-row for the same failures. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Add opt-in `return_representation` (`full`/`minimal`/`none`) to the MCP server's write tools, and a new `update_work_items` batch-write tool, shrinking write-response payloads and collapsing many-item write sequences into one call while leaving default behaviour byte-for-byte unchanged. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.