{"id":4637,"date":"2026-01-25T22:59:05","date_gmt":"2026-01-25T22:59:05","guid":{"rendered":"https:\/\/thedigitalsagency.com\/services\/digital-downloadable\/connect-ai-agents-to-wordpress-com-with-oauth-2-1-and-mcp\/"},"modified":"2026-01-25T22:59:05","modified_gmt":"2026-01-25T22:59:05","slug":"attach-ai-brokers-to-wordpress-com-with-oauth-2-1-and-mcp","status":"publish","type":"post","link":"https:\/\/thedigitalsagency.com\/services\/digital-downloadable\/attach-ai-brokers-to-wordpress-com-with-oauth-2-1-and-mcp\/","title":{"rendered":"Attach AI Brokers to WordPress.com with OAuth 2.1 and MCP"},"content":{"rendered":"<p><\/p>\n<div id=\"wpblog-post-body\">\n<p class=\"wp-block-paragraph\">In October, we introduced that WordPress.com now helps MCP (Type Context Protocol), enabling AI brokers to have interaction along with your websites.<\/p>\n<p class=\"wp-block-paragraph\">As of late, WordPress.com helps OAuth 2.1, making MCP integrations more effective.\u00a0<\/p>\n<p class=\"wp-block-paragraph\">MCP shoppers paintings natively with OAuth 2.1, so authorizing the AI equipment you already use is as easy as including a URL and approving get right of entry to \u2014 no workarounds or guide configuration required.<\/p>\n<p class=\"wp-block-paragraph\">With MCP, AI brokers can lend a hand with on a regular basis duties for your WordPress.com web site, comparable to discovering posts, pulling web site main points, or drafting new content material, when you keep an eye on what they may be able to get right of entry to.<\/p>\n<h2 class=\"wp-block-heading\">How OAuth 2.1 powers MCP integrations<\/h2>\n<p class=\"wp-block-paragraph\">When an AI assistant (like Claude Desktop, ChatGPT, or a customized AI software) desires to get right of entry to your WordPress.com content material, OAuth 2.1 now handles the protected connection:<\/p>\n<ol class=\"wp-block-list\">\n<li>The MCP shopper requests authorization.<\/li>\n<li>You\u2019re redirected to WordPress.com to approve the relationship.<\/li>\n<li>After approval, the customer receives protected tokens.<\/li>\n<li>The customer makes use of the ones tokens to get right of entry to the WordPress.com MCP.<\/li>\n<li>Tokens refresh robotically as wanted.<\/li>\n<\/ol>\n<p class=\"wp-block-paragraph\">All of that is safe by means of PKCE (Evidence Key for Code Change).\u00a0<\/p>\n<p class=\"wp-block-paragraph\">Even supposing anyone intercepts the authorization code, they may be able to\u2019t use it with out the name of the game verification code that remains for your software.<\/p>\n<h2 class=\"wp-block-heading\">Easy setup: Simply upload a URL<\/h2>\n<p class=\"wp-block-paragraph\">WordPress.com supplies an MCP server that AI equipment can hook up with the usage of OAuth 2.1.<\/p>\n<p class=\"wp-block-paragraph\">All you\u2019ll want to do is:<\/p>\n<ul class=\"wp-block-list\">\n<li>Create a customized connector or app to your AI software<\/li>\n<li>Upload the WordPress.com MCP server URL<\/li>\n<li>Authenticate and approve get right of entry to thru WordPress.com the usage of OAuth 2.1<\/li>\n<\/ul>\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" data-attachment-id=\"83055\" data-permalink=\"https:\/\/wordpress.com\/blog\/2026\/01\/22\/connect-ai-agents-to-wordpress-oauth-2-1\/oauth\/\" data-orig-file=\"https:\/\/en-blog.files.wordpress.com\/2026\/01\/oauth.png\" data-orig-size=\"1470,1320\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"oAuth\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/en-blog.files.wordpress.com\/2026\/01\/oauth.png?w=300\" data-large-file=\"https:\/\/en-blog.files.wordpress.com\/2026\/01\/oauth.png?w=1024\" width=\"1470\" height=\"1320\" src=\"https:\/\/en-blog.files.wordpress.com\/2026\/01\/oauth.png\" alt=\"Apps &amp; Connectors settings page.\" class=\"wp-image-83055\" style=\"box-shadow:var(--wp--preset--shadow--natural)\" srcset=\"https:\/\/en-blog.files.wordpress.com\/2026\/01\/oauth.png 1470w, https:\/\/en-blog.files.wordpress.com\/2026\/01\/oauth.png?w=150&amp;h=135 150w, https:\/\/en-blog.files.wordpress.com\/2026\/01\/oauth.png?w=300&amp;h=269 300w, https:\/\/en-blog.files.wordpress.com\/2026\/01\/oauth.png?w=768&amp;h=690 768w, https:\/\/en-blog.files.wordpress.com\/2026\/01\/oauth.png?w=1024&amp;h=920 1024w, https:\/\/en-blog.files.wordpress.com\/2026\/01\/oauth.png?w=1440&amp;h=1293 1440w\" sizes=\"(max-width: 1470px) 100vw, 1470px\"\/><\/figure>\n<p class=\"wp-block-paragraph\">That\u2019s it.\u00a0<\/p>\n<p class=\"wp-block-paragraph\">WordPress.com handles authentication and permissions, so there\u2019s no guide credential setup and no passwords to proportion.<\/p>\n<p class=\"has-primary-light-background-color has-background wp-block-paragraph\"><strong>Tip<\/strong>: View the MCP connection information within the developer documentation for Claude Desktop and ChatGPT\u2013particular directions.<\/p>\n<h2 class=\"wp-block-heading\">What MCP shoppers can do with WordPress.com<\/h2>\n<p class=\"wp-block-paragraph\">As soon as authenticated, MCP shoppers can engage along with your WordPress.com websites during the MCP API:<\/p>\n<ul class=\"wp-block-list\">\n<li><strong>Seek and retrieve posts:<\/strong> To find content material throughout your websites<\/li>\n<li><strong>Learn put up main points:<\/strong> Get entry to complete put up content material, metadata, and feedback<\/li>\n<li><strong>Get entry to web site data:<\/strong> Get web site settings, statistics, and person information<\/li>\n<\/ul>\n<p class=\"wp-block-paragraph\">All of this occurs with the permissions you\u2019ve explicitly granted, and you&#8217;ll revoke MCP get right of entry to at any time out of your WordPress.com MCP settings.<\/p>\n<h2 class=\"wp-block-heading\">Get began with MCP and OAuth 2.1<\/h2>\n<p class=\"wp-block-paragraph\">OAuth 2.1 is to be had now for all AI brokers to hook up with WordPress.com.\u00a0<\/p>\n<p class=\"wp-block-paragraph\">Whether or not you\u2019re construction a customized integration or the usage of present MCP-compatible AI equipment, it supplies the protected authentication basis on your paintings.<\/p>\n<p class=\"wp-block-paragraph\">Should you haven\u2019t already, permit MCP for your WordPress.com account to begin connecting your AI assistants.<\/p>\n<h3 class=\"wp-block-heading\">Helpful sources<\/h3>\n<h3 class=\"wp-block-heading\">Proportion Your Comments<\/h3>\n<p class=\"wp-block-paragraph\">We\u2019d love to listen to the way you\u2019re the usage of OAuth 2.1 and MCP with WordPress.com. Have questions or tips? Drop a remark underneath or proportion your revel in within the developer boards.<\/p>\n<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>In October, we introduced that WordPress.com now helps MCP (Type Context Protocol), enabling AI brokers to have interaction along with your websites. As of late, WordPress.com helps OAuth 2.1, making MCP integrations more effective.\u00a0 MCP shoppers paintings natively with OAuth 2.1, so authorizing the AI equipment you already use is as easy as including a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":4639,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4637","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog"],"_links":{"self":[{"href":"https:\/\/thedigitalsagency.com\/services\/digital-downloadable\/wp-json\/wp\/v2\/posts\/4637","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thedigitalsagency.com\/services\/digital-downloadable\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thedigitalsagency.com\/services\/digital-downloadable\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thedigitalsagency.com\/services\/digital-downloadable\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thedigitalsagency.com\/services\/digital-downloadable\/wp-json\/wp\/v2\/comments?post=4637"}],"version-history":[{"count":1,"href":"https:\/\/thedigitalsagency.com\/services\/digital-downloadable\/wp-json\/wp\/v2\/posts\/4637\/revisions"}],"predecessor-version":[{"id":4638,"href":"https:\/\/thedigitalsagency.com\/services\/digital-downloadable\/wp-json\/wp\/v2\/posts\/4637\/revisions\/4638"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/thedigitalsagency.com\/services\/digital-downloadable\/wp-json\/wp\/v2\/media\/4639"}],"wp:attachment":[{"href":"https:\/\/thedigitalsagency.com\/services\/digital-downloadable\/wp-json\/wp\/v2\/media?parent=4637"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thedigitalsagency.com\/services\/digital-downloadable\/wp-json\/wp\/v2\/categories?post=4637"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thedigitalsagency.com\/services\/digital-downloadable\/wp-json\/wp\/v2\/tags?post=4637"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}