Skip to content

Add admin-update-blog-post MCP tool - #514

Merged
shanerbaner82 merged 1 commit into
mainfrom
feature/admin-update-blog-post
Sep 11, 2026
Merged

shanerbaner82 merged 1 commit into
mainfrom
feature/admin-update-blog-post

Conversation

@shanerbaner82

Copy link
Copy Markdown
Contributor

Summary

  • Adds admin-update-blog-post on AdminNativePhpServer to patch title / content / excerpt / slug by article id or lookup slug.
  • Does not change published_at. Refuses slug changes on published articles (Filament parity) and rejects empty updates / missing articles / slug conflicts.
  • Extends AdminMcpOAuthTest coverage for the happy path and those error cases.

Test plan

  • php artisan test --filter=AdminMcpOAuthTest
  • vendor/bin/pint --dirty

Lets Admin MCP update draft/published article title, content, and excerpt without publishing. Slug changes work on drafts only and match Filament's published-slug lock.
@shanerbaner82
shanerbaner82 merged commit c9391e7 into main Sep 11, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant