CMS Tool API

CMS Tool API schema

Public API version 1.4.61.

MCP server

Connect an MCP client to CMS Tool data and operations.

Connection

The MCP server is an extension of the API and uses the same OAuth access tokens and permission-based scopes.

Send JSON-RPC 2.0 messages by POST to https://api.cms-tool.net/api/mcp with Content-Type application/json and an Authorization Bearer header.

OAuth protected resource metadata

Session sequence

Call initialize first, send notifications/initialized, then use tools/list and tools/call. The server also supports ping and notifications/cancelled.

The supported MCP protocol version is 2025-11-25.

Available tools

Request only the scopes required by the tools your client will call.

CMS Tool stores text with HTML entities for non-ASCII characters and symbols. The descriptive tools (website lists and searches, website metadata, account report, ecommerce settings, order investigation, object investigation and report rows) return plain text values as readable characters. Values that contain HTML markup or embedded JSON are returned as stored, and so is everything read_api, call_api and the product update tools return, so a value read and sent back is unchanged.

ToolScopeLimitPurpose
get_database_schema_metadatamcp/get_database_schema_metadata:read30/minute, 4 concurrentGet current planning instructions and database metadata before building a report or product update plan.
get_website_metadatamcp/get_website_metadata:read30/minute, 4 concurrentGet website categories, pages, and site metadata used by a plan.
get_api_guidancemcp/get_api_guidance:read20/minute, 4 concurrentFind the right REST API endpoint for a task, then get its methods, parameters, body fields, types and examples. Lists only the endpoints and methods the connection's scopes and the user's permissions allow. It describes the API and does not call it; use read_api to read and call_api to change.
read_apimcp/read_api:read60/minute, 4 concurrentRead from the REST API (GET): list records or fetch one by id. The user's CMS permissions are applied. Reads return 25 rows by default (maximum 100) and a response is at most 50,000 characters. File and image endpoints are not available.
generate_reportmcp/generate_report:read10/minute, 2 concurrentValidate a report plan and return either its data or a link, as selected by the plan.
get_domain_investigationmcp/get_domain_investigation:read6/minute, 2 concurrentInvestigate a domain: registration, availability and transfer status, nameservers, hosting, mail, and whether our settings for it agree with the public records.
check_domain_availabilitymcp/check_domain_availability:read10/minute, 2 concurrentCheck whether up to 10 candidate domain names can be registered in one call (.nz names with the NZ registry, others with our registrar), with a registration link for each available name.
get_email_investigationmcp/get_email_investigation:read6/minute, 2 concurrentInvestigate why mail to or from an email address does or does not work: our rule for it, where forwarded mail ends up, whether our DNS and mail are authoritative, and the mail program settings.
get_url_investigationmcp/get_url_investigation:read5/minute, 1 concurrentInvestigate ONE web page: HTTP status, redirect (reported, not followed), SSL certificate, where it resolves, and optionally its content and (include_css) its HTML and directly linked CSS for styling problems. Rate limited; not for scraping.
get_order_investigationmcp/get_order_investigation:read10/minute, 2 concurrentRetrieve an order and related pricing metadata so a model can explain discounts, tax, shipping, and totals. Field definitions are included only for keys present in the returned objects.
get_account_reportmcp/get_account_report:read10/minute, 2 concurrentGet the hosting account status for the website: whether the website and email are live, the plan and its limits, current usage in MB, domains, balance and payment details, with a short explanation of each section. Requires the accounts permission.
get_ecommerce_settingsmcp/get_ecommerce_settings:read10/minute, 2 concurrentGet the shopping cart configuration: shopping settings such as tax rate and currency, shipping rules, discount rules and up to 200 categories, with the definition of every setting, marking the ones that are not set. Products are not included.
get_discount_guidancemcp/get_discount_guidance:read10/minute, 2 concurrentHelp add a new discount or review existing ones: how discount rules work, the meaning of every discount field, and the website's categories, customer groups and member levels, plus the existing rules (or one rule and whether it has been used) for a review. Read only; save a rule with the discount endpoint. Requires the configuration permission.
get_shipping_guidancemcp/get_shipping_guidance:read10/minute, 2 concurrentHelp add a new shipping fee rule or review existing ones: how shipping rules work, the meaning of every shipping field, the home country and tax rate, and the website's categories, customer groups, member levels and regions, plus the existing rules (or one rule and whether it has been used) for a review. Read only; save a rule with the shipping endpoint. Requires the configuration permission.
get_content_guidancemcp/get_content_guidance:read20/minute, 2 concurrentHelp answer questions about, create or edit page, blog, news, FAQ, gallery and shopping content: what kind of content each page is (from its widget), which HTML editor (Content Box, Drag and drop or TinyMCE) made its HTML and the markup each needs, and the website's pages. Read only; read content with read_api and save it with the page and blog endpoints. Requires the content permission.
get_seo_guidancemcp/get_seo_guidance:read20/minute, 2 concurrentHelp with search engine optimisation: the SEO fields of products, categories, pages, blogs and directory records, the rules for SEO filenames (web addresses) and redirects, and the website's gaps (records missing a meta title, description or filename, shared filenames, redirect counts). Read-only: changes are made with read_api and call_api on the seo endpoints. Needs the SEO permission.
search_contentmcp/search_content:read30/minute, 2 concurrentFind words, class names or selectors in a page's HTML, a website area, a stylesheet, the theme or a theme variation, and return only the parts around them (whole rules for CSS), copied exactly so they can be used as an edit's find. Say when a term is not there. Use it before changing anything over about 5 KB instead of reading it all. Read only; the permission of what is searched applies (design for stylesheets, the theme and code areas).
edit_page_contentmcp/edit_page_content:write10/minute, 1 concurrentChange part of a page's HTML content by find and replace, without sending the whole HTML back. Each text to find must occur once in the stored HTML; all edits are checked before anything is saved. The result confirms the save and gives a backup id that restores the content as it was. Requires the content permission.
edit_imagemcp/edit_image:write10/minute, 1 concurrentEdit one image in the website's images folder: crop, resize, rotate, flip, convert to another format or adjust it, in place or saved under a new name, with one level of undo. Requires the images permission.
restore_filemcp/restore_file:write10/minute, 1 concurrentPut back one file of the website (image, PDF, HTML or any file) as it was in the nightly backup, taken at about 4am New Zealand time; can compare first without changing anything. Requires the files permission.
compare_with_backupmcp/compare_with_backup:read10/minute, 2 concurrentCompare a table of the website (products, categories, pages, blogs, product images, bookings, events and other API data) with a backup: last week's, the week before, or for products, categories, pages and blogs this morning's copy. Lists the records whose chosen fields differ, or the records deleted since the backup. Read only; the permission to read that data applies.
restore_from_backupmcp/restore_from_backup:write6/minute, 1 concurrentAfter a comparison, put back what was chosen: the chosen fields of records that differ, or deleted records, whole and with their original ids. Nothing else changes, and nothing is written if a record changed since the comparison. Page content keeps the replaced text as a saved version. The permission to change that data applies.
read_backupmcp/read_backup:read30/minute, 2 concurrentRead any REST API endpoint as the data was in last week's backup or the week before, with the same filters and permissions as read_api, to see what was changed or deleted. Read only.
import_filemcp/import_file:write6/minute, 1 concurrentDownload a file (up to 25 MB) from a public web address and save it in the website's files at the address given, for example an image generated elsewhere for a category header. Requires the files permission.
get_theme_designmcp/get_theme_design:read20/minute, 2 concurrentRead the website's design: colours and fonts, the theme HTML and its template tags, stylesheets, theme variations, which theme each page uses and recent backups, with a guide to how pages are built. Requires the design permission.
update_theme_designmcp/update_theme_design:write6/minute, 1 concurrentChange the website's design: theme HTML, stylesheets, colour and font settings, theme variations and which theme pages use. Changes are checked first, a backup is made and can be restored, and the stylesheets are regenerated. Requires the design permission.
investigate_objectmcp/investigate_object:read20/minute, 4 concurrentRead one content object by ID through its REST API endpoint, with definitions only for fields present in the result. Useful for page content, sorting, pagination, and other behavior settings. The user's permission for the object's own endpoint applies.
list_my_websitesmcp/list_my_websites:read20/minute, 2 concurrentList the websites you own or have been given access to, marking the active one.
search_websitesmcp/search_websites:read20/minute, 2 concurrentSearch websites by keywords, owner or website ID. Resellers and administrators search every website in their reseller channels; other users search their own.
switch_websitemcp/switch_website:write10/minute, 1 concurrentChange the active website of an OAuth connection. Every other tool acts on the active website. Access is checked and permissions are refreshed for the new website.
preview_product_updatemcp/preview_product_update:read6/minute, 1 concurrentValidate a product update and return its full match count plus up to 100 proposed before and after rows.
execute_product_updatemcp/execute_product_update:write4/minute, 1 concurrentApply a previously previewed product update, including supported restore and category operations.

Tool calls

Call get_database_schema_metadata with purpose report or product_update before constructing the corresponding plan. Product-update metadata includes the complete plan rules and product field dictionary. Request categories and site through get_website_metadata when category IDs or tax settings are needed. Use the returned instructions and metadata as the current contract.

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_database_schema_metadata","arguments":{"purpose":"report"}}}

Report result delivery

Every generate_report report_plan must include result_mode. Use data when the model needs to inspect and reason about the returned rows. Use link when the user only needs access to the report and a compact response should avoid consuming tokens for its rows.

Every report is executed. Non-empty reports are recorded for later review. Data mode returns data, row_count, and columns. Link mode returns row_count and, when rows exist, report_link without including the rows in the tool response. An empty report returns row_count 0 and no link. The linked page reopens the logged report under the user's own signed-in website access.

Rate limits

Tools have per-user request and concurrency limits. Successful calls can include RateLimit response headers and rate_limit metadata. A limited request returns HTTP 429 with Retry-After.

/api/mcp

Process authenticated MCP JSON-RPC requests.

Machine-readable documentation

This documentation is also available as JSON or Markdown at the same URL. Request JSON with Accept: application/json or Markdown with Accept: text/markdown.