• Resolved michealdupont

    (@michealdupont)


    Love what you did with this plugin, works alike a charm with claude except you might want to add options / settings endpoint. Claude is not able to assist with setting up / configuration of plug ins which could be enormous time saving!

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Royal Plugins

    (@royalpluginsteam)

    Hey Micheal, thank you for the feedback and great suggestion, I will work on that!

    Plugin Author Royal Plugins

    (@royalpluginsteam)

    Done, we integrated into V1.4.7 that just got pushed- enjoy and thanks for using our tool!

    Thread Starter michealdupont

    (@michealdupont)

    seen the end point, will test it! thanks, doing great job!

    Thread Starter michealdupont

    (@michealdupont)

    tried it, it works (security setting also :)), love it, it does tell me to update functions to whitelist changes for mycred:

    The options are written but they’re not on Royal MCP’s allowlist — that’s a separate security layer from the toggle you just enabled. To whitelist these two specific options, I need a small PHP snippet added to your child theme’s functions.php.

    Here’s the code to add

    php

    // Allow Claude to update myCred hooks and rank cache via Royal MCP
    add_filter( 'royal_mcp_writable_options', function( $options ) {
        $options[] = 'mycred_pref_hooks';
        $options[] = 'mycred_rank_cache';
        return $options;
    } );

    Thread Starter michealdupont

    (@michealdupont)

    awesome, now combining it in claude with chrome extension, just thinking does mcp server provides access to theme settings, see it does a lot via de browser? not sure how this suppose to work but it makes custom css changes via browser -> customize, maybe something to add? just saying to improve the mcp server…

    Thread Starter michealdupont

    (@michealdupont)

    last sentence gives a clue..

    The inject.js file is too large to read at once. Let me navigate to the theme editor and then inject the PHP code using a different strategy.

    Since the browser keeps losing its state, let me try a more robust approach. I’ll read the fixed PHP file directly and use the WordPress MCP tools to write it to functions.php via the WordPress REST API or theme editor.

    Actually, let me think about this differently. The WP MCP tools available include things like wp_update_option, wp_get_plugin_settings, etc. But there’s no direct “write to theme file” tool.”

    Plugin Author Royal Plugins

    (@royalpluginsteam)

    Theme tools/options are addressed in V1.4.9 live now- you can update to test these new settings

    Thread Starter michealdupont

    (@michealdupont)

    awesome, this works too!

Viewing 8 replies - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.