Repository navigation
feat(mcp-server): listings, expiry and structured data for agents (RFC-0042 step 4) - #106
Merged
Merged
Conversation
…C-0042 step 4) - list_collections returns list fields with their operators and the preset's path table; update_collection takes listFields, expiry and structuredData, checked in precheck, with approval lines in words (including how many published entries are already past an expiry). - list_entries takes where, orderBy, limit and cursor. - create_page / update_page check contentList queries in precheck. - New preview_structured_data (content:read, read-only): the JSON-LD an entry emits, from the renderer's entryStructuredData, plus issues. 109 → 110 tools. - Hints for invalid_query, structured_data_invalid, invalid_expiry, list_field_in_use and gates_unsupported; server instructions. - astro-renderer: ./structured-data subpath. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Madraka <8898640+Madraka@users.noreply.github.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Step 4 of RFC-0042's rollout (ADR-0044), built on #103–#105.
Tools (109 → 110)
list_collections: each list field with its operators and whether it sorts, and the preset's path table: required paths, groups, accepted sources and vocabularies, plus warnings.update_collection: takeslistFields,expiryandstructuredData;nullremoves one.unknown_field,invalid_expiry,structured_data_invalid,list_field_in_useandgates_unsupported, with paths.expiry: … leave listings … 1 hour after "Ends at"; 1 published entry is already past it, orstructured data: Event, maps startDate ← field startsAt ….list_entries: takeswhere,orderBy,limitandcursor. Without them the answer is unchanged.create_page/update_page: changedcontentListqueries are checked in precheck (invalid_query).preview_structured_data(content:read, read-only): the JSON-LD the site emits for an entry (the renderer'sentryStructuredData), plus issues.gates_unsupportedfor both expiry and availability, and a "Listings, expiry and structured data" paragraph in the server instructions.@cloudhal/astro-renderer/structured-datais a new subpath, so mcp-server doesn't pull in the root (same pattern asnavigation,previewandtaxonomy).Choices
create_collectiondoesn't take these settings, since it takes nofieldseither.Checks
turbo typecheck: 20/20, tests included.Changeset: minor (
mcp-server), patch (astro-renderer).🤖 Generated with Claude Code