Woocommerce End Points Via MCP
-
Hello,
Does the MCP adapter support Woocomerce end points? I can only see normal wordpress on the list once they are enabled.
Thanks
-
Hi @jamesc91,
Not yet actually! 😊 I don’t want to just expose every WooCommerce REST endpoint blindly through MCP. That wouldn’t really work well in practice.
My plan is to build a proper wrapper around WooCommerce’s API and core functions so it’s truly usable by AI agents (for example, browsing products, tracking orders, or managing content in a structured way).
This will require quite a bit of work: the basics are easy, but I’d like to go deeper and make it robust and intelligent. It will also need OAuth integration in AI Engine so that different WordPress users can access MCP with the right permissions and roles: all the way from editors to customers of the WooCommerce site.
I don’t believe I’ll be able to make it into the free version, as it would need a lot of support/care to make it truly work. But it’s definitely something I’m excited about.
How would you like to use WooCommerce through MCP? Any ideas?
Thanks for the quick reply Jordy.
I would definitely pay for something stable and had roles.
Currently I use the depreciated mcp plugin by wordpress but its been bad from the start. I would also really like a chat gpt integration to work and not rely on claude.
Mainly I use it for product descriptions with claude and it pulls all the product data via the id and it creates a product description based of the images analysis, attributes and title then uploads it to the product along with meta description. It is the only way I can get accurate descriptions.
I also use it to for writing my alts text, captions, and image titles by pulling the product title and using claudes image analysis it then writes these and updates all the product images.
I would honestly do a lot more but even trying to get to the descriptions done with how unstable things are is hard.
Actually, what you’re describing should already work with the Free Version of AI Engine through MCP! 👍
You can create products (since they’re just a post type) based on uploaded images, and my MCP implementation already supports Vision, so it can analyze images directly from your Media Library. You could even handle things like product descriptions, alt text, captions, and image titles exactly as you mentioned.
Have a look at this: https://meowapps.com/chatgpt-wordpress-mcp/
Once connected, try creating a product from one of your existing images. That should already work nicely. The only limitation for now is that WooCommerce-specific metadata (like prices or stock) isn’t yet handled, that’ll need the dedicated WooCommerce wrapper I mentioned earlier.
But go ahead and test the image analysis and content generation. It should already let you do a lot! Let me know what works and what doesn’t, so we can see where to go from there! 😊
Thank you very much Jordy you are correct it works.
I just also want to apologise for the chat gpt response below but I did not know how best to explain this to you as under the current mcp we can’t get all taxonomy terms in one call. If a product has 20 data points it is having to call 20 different times rather than calling once and getting all the product data back in one go.
**
I need a couple of endpoint tweaks and one optional addition to simplify product data retrieval. ✅ 1. Update or Extendwp_get_post_termsPlease modify this endpoint so that:
- When the
taxonomyparameter is omitted, it returns all taxonomies and terms attached to the given post/product. - Response should include
{ taxonomy, term_id, name, slug }for each term. - It should loop through all registered taxonomies for that post type (e.g.,
get_object_taxonomies( get_post_type( $ID ) )).
👉 This allows a single call per product instead of multiple per taxonomy. ✅ 2. (Optional but Preferred) Add
wc_get_productIf possible, create a new MCP route named
wc_get_productthat proxies to:GET /wp-json/wc/v3/products/{id}?context=viewReturn the full WooCommerce REST object (attributes, images, meta_data, etc.).
This gives a complete product snapshot in one request. ✅ 3. Maintain Existing ToolsKeep these available:
wp_get_post_metawp_get_post_terms(enhanced as above)
No changes needed to argument names — just the behavior when
taxonomyis omitted. 💡 WhyThis change cuts product data calls from 10–15 down to 2 (or even 1 with
wc_get_product)Hi @jamesc91,
Just to let you know, I added a new MCP tool called
wp_get_post_snapshot. It does exactly what you were asking for: one single call that returns everything about a post: the post fields, all meta, all terms and taxonomies, the featured image, and the author.It’s basically a clean replacement for using
wp_get_post,wp_get_post_meta, andwp_get_post_termsseparately. Perfect for products, events, or any custom post type with a lot of metadata.Here’s an example of the output:
{
"post": {...},
"meta": {...},
"terms": {...},
"thumbnail": {...},
"author": {...}
}I’ll release it over the weekend. Once it’s out, make sure to refresh the MCP in ChatGPT (it doesn’t refresh automatically yet), and you’ll see the new tool appear.
That should make your setup much simpler and faster. Let me know how it goes once you try it! 😊
Hey @fuzzysa, this is unrelated to this current thread here really, but I wanted to reach out here since my reply in the other thread is stuck in moderation (probably because I included a tutorial link). I didn’t want to leave you waiting, so here’s a quick reply here: MCP is definitely available in the free version! 😊 You can find it in the Settings menu; there’s a submenu specifically for MCP.
Also worth noting that @jamesc91 (who started this thread) is successfully using MCP with ChatGPT and the free version of AI Engine, so you should be good to go.
Thank you very much Jordy everything is working perfectly now!
Thanks @jamesc91, very happy to hear that! If you have more ideas (or issues), don’t hesitate. I’d love to make this MCP integration better and better.
- When the
The topic ‘Woocommerce End Points Via MCP’ is closed to new replies.