The WordPress MCP connector routes your AI agent's tool calls to WordPress's own MCP server through Scalekit. Each user signs in to WordPress once, and Scalekit stores and refreshes their tokens, so your agent never handles credentials. It comes with 6 tools.
- Tools
- 6
- What they doRead · write · destructive
- 3 · 3 · 03 read3 write0 destructive
- Users sign in with
- OAuth
- OAuth app
- Scalekit's or your own
Setup
Install the SDK
Terminal window npm install @scalekit-sdk/node dotenvTerminal window pip install scalekit-sdk-python python-dotenvSet your credentials
Add your Scalekit credentials to your
.envfile. Find values in app.scalekit.com > Developers > API Credentials..env SCALEKIT_ENVIRONMENT_URL=<your-environment-url>SCALEKIT_CLIENT_ID=<your-client-id>SCALEKIT_CLIENT_SECRET=<your-client-secret>Create the WordPress MCP connection
In AgentKit > Connections, create a WordPress MCP connection. The name you give it is the
connection_nameyour code passes. See Configure connections.Scalekit credentials are available for WordPress MCP server, so you don't need to register an OAuth app.
Authorize a user and make your first call
quickstart.mts import { ScalekitClient } from '@scalekit-sdk/node'import 'dotenv/config'import { createInterface } from 'node:readline/promises'const scalekit = new ScalekitClient(process.env.SCALEKIT_ENVIRONMENT_URL,process.env.SCALEKIT_CLIENT_ID,process.env.SCALEKIT_CLIENT_SECRET,)const actions = scalekit.actionsconst connector = 'wordpressmcp'const identifier = 'user_123'// Generate an authorization link for the userconst { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })console.log('Authorize WordPress MCP:', link)const rl = createInterface({ input: process.stdin, output: process.stdout })await rl.question('Press Enter after authorizing...')rl.close()// Make your first callconst result = await actions.executeTool({connector,identifier,toolName: 'wordpressmcp_wpcom_ai_agent_sites_list',toolInput: {},})console.log(result)Terminal window npx tsx quickstart.mtsquickstart.py import osfrom scalekit import ScalekitClientfrom dotenv import load_dotenvload_dotenv()scalekit_client = ScalekitClient(env_url=os.getenv("SCALEKIT_ENVIRONMENT_URL"),client_id=os.getenv("SCALEKIT_CLIENT_ID"),client_secret=os.getenv("SCALEKIT_CLIENT_SECRET"),)actions = scalekit_client.actionsconnection_name = "wordpressmcp"identifier = "user_123"# Generate an authorization link for the userlink_response = actions.get_authorization_link(connection_name=connection_name,identifier=identifier,)print("Authorize WordPress MCP:", link_response.link)input("Press Enter after authorizing...")# Make your first callresult = actions.execute_tool(tool_input={},tool_name="wordpressmcp_wpcom_ai_agent_sites_list",connection_name=connection_name,identifier=identifier,)print(result)Terminal window python quickstart.pyEach user signs in once. See Authorize a user for the full flow and statuses.
Tools
Pass the exact name toexecute_toolwordpressmcp_searchFinds abilities for creating WordPress.com websites, publishing content, customizing design, and managing sites and accounts.Read-onlySearch
Finds abilities for creating WordPress.com websites, publishing content, customizing design, and managing sites and accounts. The catalog covers: new sites from a title and optional tagline, and subdomain availability; posts and pages, drafts and publishing, individual block sections, custom post type content, categories and taxonomy terms; media upload, image generation, and media library management; comments and moderation; theme discovery and switching, block and pattern reference, templates, template parts, menus, navigation, and global styles; site settings and visibility, plugins, collaborator invitations, traffic counts, and activity logs; domains, DNS, nameservers, SSL, email-service DNS setup, plans, and checkout links; account profile, notifications, security information, billing and subscriptions; Jetpack backup diagnostics, downtime monitoring, account protection, connection diagnostics, newsletters, and security scans. Availability depends on permissions, enabled settings, site features, and plans. A target wpcom_site also includes remote: abilities published by that connected site and its plugins. This searches operation descriptions, not site content. Results are paginated summaries or detailed contracts; an empty query returns a category overview. The default readonly=false returns abilities requiring approval; readonly=true returns read-only abilities and those whose readonly_actions run without approval. Remote discovery failures return partial WordPress.com results with a warning. Matching abilities that are turned off in MCP settings, or not enabled for agents on the site, are listed under disabled_matches.
Inputs
querystringrequired- Case-insensitive words matched against ability names, labels, categories, descriptions, and keywords, such as "site create", "pages", "templates", or "DNS". Exact names and labels rank first; partial results identify unmatched terms. An empty string returns all matching names and labels grouped by category, with counts, for the selected site and readonly filter; this overview has no schemas or pagination. Maximum 500 UTF-8 bytes.
detailedboolean- For a nonempty query, false returns names, labels, short descriptions, categories, and confirmation requirements. True returns complete descriptions, input schemas, instructions, and annotations, with at most five results. Empty queries always return the category overview.default
false include_output_schemaboolean- Adds each ability's declared output_schema to detailed results, describing its result fields and types. True requires detailed=true. Empty-query overviews contain no schemas.default
false limitinteger- Maximum abilities returned for a nonempty query: 1 to 25 when detailed=false (default 10), or 1 to 5 when detailed=true (default 5). Does not limit the empty-query category overview.
offsetinteger- Number of matching abilities to skip for a nonempty query, starting at 0. Results include total and has_more for pagination. Does not apply to the empty-query category overview.default
0 readonlyboolean- Selects one approval classification, including for an empty query. True returns abilities explicitly marked read-only, plus read/write abilities whose readonly_actions run without approval. False (the default) returns abilities requiring approval, including mixed read/write abilities and those without a read-only annotation. False does not mean all abilities; there is no unfiltered value. Results include other_readonly_matches when the other value has matches.default
false wpcom_sitestring- Existing target site: a site ID encoded as a string, a domain, or a full site URL. Site IDs and URLs are returned by wpcom/user-sites. Sets the site context for discovery or execution and is required for remote: abilities. Without a site, discovery covers only WordPress.com-defined abilities; account operations and creation of a new website need no existing site. Any site selector also present in the ability input must identify the same site.
wordpressmcp_wpcom_ai_agent_sites_listLists public production WordPress.com sites whose owners enabled AI Agent Access.Read-onlyList AI Agent Access Sites
Lists public production WordPress.com sites whose owners enabled AI Agent Access. Use this when the user asks to list, find, discover, or show sites/blogs that opted into AI agents, AI Agent Access, Blog Talks Back, or sites available for Jetpack Search Voice. Pass query or keywords to filter by what a site is about, matched against existing site metadata like title, description, site vertical, and site intent. This is the discovery/listing tool; it does not search within a blog. Page with after_blog_id/per_page until pagination.has_more is false.
Inputs
after_blog_idinteger- Keyset cursor into the AI Agent Access discovery index. Returns sites with blog_id strictly greater than this value. Use pagination.next_after_blog_id from the previous response when pagination.has_more is true; omit or pass 0 to start from the beginning.default
0 keywordsarray- Optional topic keywords to filter opted-in sites by. Matched against existing site metadata including title, description, site_vertical, site_intent, and vertical stickers.
per_pageinteger- Number of sticker-indexed site candidates to evaluate per page. Returned sites can be fewer because private, staging, test, coming-soon, and otherwise ineligible candidates are filtered out.default
25 querystring- Optional natural-language topic query for discovering opted-in sites, such as "food blogs", "education", or "newsletter". Matched against existing site metadata, not post content.
wordpressmcp_wpcom_mcp_jetpack_search_voiceReturns search results from a public, opted-in blog plus its Guidelines (site + additional) in a single call.Read-onlySearch Blog Voice (Jetpack Search)
Returns search results from a public, opted-in blog plus its Guidelines (site + additional) in a single call. Use this only for reader-facing requests to answer from a public blog URL in that blog's voice, for example "Talk to this blog <blog_url>" or "Chat with this blog <blog_url>". Do not use this for private/internal content, WordPress.com site or account management, or owner/admin content operations. Use keyword-focused search queries, then compose answers in the blog author's voice with grounded citations.
Inputs
blog_urlstringrequired- Full URL of the blog to search (e.g. https://example.wordpress.com/).
querystringrequired- Keyword-focused search query derived from the reader's question. Short, specific, noun-heavy queries work best because this is backed by Jetpack Search rather than semantic retrieval. Prefer place names, post topics, and distinctive terms over conversational filler. If a first call returns no search_results, retry once with a shorter keyword-only query.
num_resultsinteger- Max number of search results (default 5, max 20).default
5
wordpressmcp_describeExplains the inputs, effects, and results of one to five exact abilities discovered through search, such as creating a website, publishing a post, changing a theme, or inspecting site statistics.WriteDescribe
Explains the inputs, effects, and results of one to five exact abilities discovered through search, such as creating a website, publishing a post, changing a theme, or inspecting site statistics. Returns each ability's complete description, input schema with required and optional fields, instructions, annotations, and approval requirements; declared output schemas are optional. Results follow request order and share one target site. Remote: contracts come from that site. This reads contracts without running the abilities. An unavailable name fails the entire request.
Inputs
namesarrayrequired- One to five unique name values returned by search, including the full namespace, for example "wpcom-mcp/site-create-from-spec" or "wpcom/user-sites". These are ability names, not labels or search terms. Names beginning with "remote:" require the wpcom_site where they were discovered. All names in this request share that site context.
include_output_schemaboolean- Adds the declared output_schema for each ability, describing its result fields and types. False (the default) still includes the full input schema and approval requirements.default
false wpcom_sitestring- Existing target site: a site ID encoded as a string, a domain, or a full site URL. Site IDs and URLs are returned by wpcom/user-sites. Sets the site context for discovery or execution and is required for remote: abilities. Without a site, discovery covers only WordPress.com-defined abilities; account operations and creation of a new website need no existing site. Any site selector also present in the ability input must identify the same site.
wordpressmcp_docsProvides guides for selecting a site, getting started, connecting Jetpack, creating a website, creating or editing content, and updating account preferences.WriteDocs
Provides guides for selecting a site, getting started, connecting Jetpack, creating a website, creating or editing content, and updating account preferences. Empty arguments return topic IDs, titles and summaries. Selected topics return complete guides with tool usage notes, in request order. This curated workflow library does not list every available capability or search site content.
Inputs
topicsarray- Guide IDs from the topic index. Omitting topics returns the index; an empty array is invalid.
wordpressmcp_executeRuns one discovered ability, from creating a new website or publishing content to changing site design, managing an account, or reading site data.WriteExecute
Runs one discovered ability, from creating a new website or publishing content to changing site design, managing an account, or reading site data. The exact name and input schema come from search with detailed=true or describe. WordPress.com abilities return their own result structure; remote: abilities return the site's result inside data. Permissions and site access are checked at execution. Explicitly read-only abilities run without approval. Other abilities require approval unless describe reports that the user's approval bypass applies: the user's answer in an MCP confirmation form when the client supports one, otherwise user_confirmed. A confirmation form is bound to the requested action, input, and target; declined or cancelled approval leaves the operation unexecuted.
Inputs
inputstringrequired- JSON value matching the selected ability's input_schema. WordPress.com-defined abilities require an object, including {} when there are no input fields. For example, new-site creation accepts {"spec":{"title":"Harbor Oven"}}. Remote abilities may accept an object, array, scalar, or null as declared by their schema; an ability with no input takes null. Ability-specific fields belong here; summary and user_confirmed are separate outer properties.
namestringrequired- Exact name returned by search or describe, including its namespace, for example "wpcom-mcp/site-create-from-spec". A "remote:" prefix identifies an ability on the specified connected site. Display labels and legacy facade operation names are not accepted.
summarystring- Optional explanation of the intended action, named target, and consequence, shown in the confirmation form and included in the Approval required error, for example "Create a WordPress.com website titled Harbor Oven in Coming Soon mode." At most 500 characters of plain text on one line, without markup. This caller-provided text is not server-verified and does not itself authorize execution.
user_confirmedboolean- Set true only after the user accepted this exact change, either by asking for it exactly or by approving what you showed them, including any content you wrote for it.
wpcom_sitestring- Existing target site: a site ID encoded as a string, a domain, or a full site URL. Site IDs and URLs are returned by wpcom/user-sites. Sets the site context for discovery or execution and is required for remote: abilities. Without a site, discovery covers only WordPress.com-defined abilities; account operations and creation of a new website need no existing site. Any site selector also present in the ability input must identify the same site.
No tools match.