Skip to content

Abilities API: Plugin Settings: Member Content#1120

Draft
n7studios wants to merge 9 commits into
abilities-api-plugin-settings-broadcastfrom
abilities-api-plugin-settings-restrict-content
Draft

Abilities API: Plugin Settings: Member Content#1120
n7studios wants to merge 9 commits into
abilities-api-plugin-settings-broadcastfrom
abilities-api-plugin-settings-restrict-content

Conversation

@n7studios

@n7studios n7studios commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Summary

Registers get and update abilities (MCP tools) for the Plugin's Member Content Settings (Settings > Kit > Member Content), so an MCP client can fetch and update settings.

Screenshot 2026-06-24 at 13 44 18
Ability Description Required input Output
kit/settings-restrict-content-get Returns the current values of the Kit Member Content settings group. none { permit_crawlers, no_access_text_form, subscribe_heading, subscribe_text, no_access_text, subscribe_heading_tag, subscribe_text_tag, require_tag_login, no_access_text_tag, subscribe_button_label, email_text, email_button_label, email_heading, email_description_text, email_check_heading, email_check_text, container_css_classes }
kit/settings-restrict-content-update Updates one or more values in the Kit Member Content settings group. Only keys declared in the input schema can be updated. Unknown keys are rejected. partial object of any subset of: permit_crawlers, no_access_text_form, subscribe_heading, subscribe_text, no_access_text, subscribe_heading_tag, subscribe_text_tag, require_tag_login, no_access_text_tag, subscribe_button_label, email_text, email_button_label, email_heading, email_description_text, email_check_heading, email_check_text, container_css_classes same shape as kit/settings-restrict-content-get (post-save state)

Testing

  • MCPSettingsRestrictContentTest: Tests that MCP tools are registered, permissions are honored and get/update tools work for the Plugin's member content settings.

Checklist

@n7studios n7studios added this to the 3.4.0 milestone Jun 24, 2026
@n7studios n7studios self-assigned this Jun 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant