MCP

Use Sprocket Rocket from Claude, ChatGPT, Claude Code, Cursor and Codex through its MCP server, included with Warp and Agency Power. Every tool and action, and the permission each needs.

Sprocket Rocket has a remote MCP server, so the AI app you already use can work on your portals: list them, build and edit page drafts, place modules, start installs and updates, and build custom modules. The app acts as you, with exactly the access you have in Sprocket Rocket, in the organizations you choose when you connect it.

The server URL is the same for everyone:

https://app.sprocketrocket.co/mcp

You'll also find it, with a copy button and these steps, in Sprocket Rocket: open the user menu, select Account settings, then MCP.

Who can use it

The MCP server comes only with Warp and Agency Power. You can connect an app only to organizations on one of those plans, and an app with no such organization can't use any tool, the docs search included. If an organization moves off those plans, its portals are refused until it's back on one. Organizations on a plan sold before November 2026 keep it. See Pricing.

AI usage

Your AI app does all the work on its own model, pages and modules included, so it uses your plan with that app, such as Claude, ChatGPT or Cursor. It doesn't use your Sprocket Rocket AI allowance.

Connect an app

Each app asks you to sign in to Sprocket Rocket the first time. You then choose the organizations and the permissions the app gets, and select Allow. Only organizations on Warp or Agency Power are listed.

Claude

  1. Open Settings > Connectors and choose Add custom connector.
  2. Name it Sprocket Rocket and paste the server URL.
  3. Choose Connect and sign in.

This works on claude.ai and in the Claude desktop and mobile apps.

ChatGPT

  1. Open Settings > Apps and Connectors.
  2. Under Advanced, turn on developer mode, then choose Create.
  3. Name it Sprocket Rocket, paste the server URL, choose OAuth, and sign in.

Claude Code

Run this in a terminal:

claude mcp add --transport http sprocket-rocket https://app.sprocketrocket.co/mcp

Then run /mcp in Claude Code, choose sprocket-rocket, and sign in.

Cursor

Add this to .cursor/mcp.json in your project, or to your global Cursor MCP settings:

{
	"mcpServers": {
		"sprocket-rocket": { "url": "https://app.sprocketrocket.co/mcp" }
	}
}

Cursor asks you to sign in the first time it uses the server.

Codex

Run these in a terminal. The second command opens the sign-in page.

codex mcp add sprocket-rocket --url https://app.sprocketrocket.co/mcp
codex mcp login sprocket-rocket

Other apps

Any AI app that supports remote MCP servers with OAuth works. Add the server URL and sign in when it asks.

What each permission allows

You choose these on the sign-in screen. Leave out anything you don't want the app to do; it can ask again later if it needs more.

PermissionWhat the app can do
See your organizations' HubSpot portals and their installsList portals and installs, check update availability and job status, and get a link to connect a new portal.
Install Sprocket Rocket packagesStart a fresh install. Also lets the app add a page's theme to Sprocket Rocket when it edits a page on a theme Sprocket Rocket hasn't added.
Read pages and draftsList pages, read a draft's modules and fields, take screenshots of it, list layouts, browse the module catalog, check field values, search Unsplash and the File Manager, and read traffic.
Create and edit page drafts, including installing the modules a page needsCreate drafts, edit their modules, change page settings and type, set brand styles, custom code and alt text, add images to the File Manager, and restore an earlier version. Only the draft changes, and every edit of a page's modules takes a restore point first. Placing a module the portal doesn't have yet installs it, as it does in Page Builder. Changing the type of a live page also needs the publish permission and your approval.
Publish changes to your live websitePublish a draft page or a module, update an install, and start an A/B test or a translation. The app shows what would happen, and goes ahead only after you agree. Unticked unless you tick it.
Create and change custom modules as draftsWrite a module's files itself, following a guide to how Sprocket Rocket modules are built and the installed modules closest to what you want, then check them. Publishing it needs the permission to publish; placing it on a page, the permission to edit page drafts.
Stay connected without signing in againKeep the connection between sessions.

These cover more than pages: reading covers HubDB tables, domains, redirects, forms, the site header and footer, and the theme brand; editing drafts covers HubDB drafts; and publishing covers anything that changes the live site at once, such as publishing a table, creating redirects, or changing the site header, footer or theme brand.

There's no permission to delete pages or uninstall anything.

The same read, draft and publish permissions cover emails, blogs and templates: reading them, changing their drafts, and publishing a coded email's design, a blog template or a template.

The app never gets more than you have. If you're a member who only sees some portals, so does the app. If you're removed from an organization, the app loses it on its next call.

Tell it which site

You never need to look up ids or theme names. Name the site the way you'd say it: its HubSpot portal ID, a domain it serves, a link to a page, or the portal's name. If your connection can reach only one portal, you don't need to name it at all. A page can be named by its link, its HubSpot page ID, or its name or browser title.

  • "Change the hero headline on acme.com/about to 'Built for every job'."
  • "List the landing pages on portal 8510912."
  • "Show me https://www.acme.com/pricing and tighten the copy."
  • "Is there an update for Globex?"
  • "Rewrite the intro on the page called Pricing on portal 8510912."

A page is always worked on in the theme it's built on. For anything else on a portal with more than one theme, the app uses the portal's main theme: the one you've been editing in Sprocket Rocket, or the one that publishes to the portal's main domain, and it tells you which one it used and why. If that isn't clear, you're asked to choose, with each theme described by things you'd recognize, such as how many pages it has, when it was last edited and where it publishes. An update always asks which install when a portal has more than one.

If what you said fits more than one site, say two clients with similar names, or only part of a domain, you're asked which one you mean, or the app lists them so you can tell it. It never picks one for you. Every answer names the site it worked on, such as "Edited About on Acme (portal 8510912, acme.com)", so you can check it's the right one. A site your account can't reach is simply not found.

See every tool and action for the full list.

How the app works with your portals

  • Drafts first. Edits go to the page's HubSpot draft, the same draft Page Builder shows. The app checks that nobody changed the page since it last read it, so it can't overwrite your edits.
  • Publishing and updates ask first. So do changing a live page's type and publishing a module that's already live. The app has to show you what would happen and then send your approval. Apps that can put the question to you directly do that as well.
  • Modules your app writes itself are saved as drafts, the same drafts the code editor shows, so nothing goes live until it publishes. Your app can read how modules are built on your theme, including the field structure and settings Sprocket Rocket modules share. It reads a module's files and the theme's, saves changes, checks that HubSpot accepts and renders them, and publishes. If someone changed a file since your app read it, the save is refused rather than overwriting their work. Publishing a module that's already live asks first, because every page using it changes at once. Stock Sprocket Rocket modules are never changed; your app makes a copy. On a Marketplace theme, its modules go in the asset folder beside the theme. Your app can also add Sprocket Rocket's stock fields in one step, search the theme's files, see a module's draft on its own, and use modules from the portal's other Design Manager folders.
  • Pages on any theme. The app can find and read any page on a connected portal, whatever theme it's built on. Sprocket Rocket works best on its own themes, and the app tells you when a page isn't on one. If the page's theme isn't added to Sprocket Rocket yet, the app adds it the first time you ask it to edit a page on it, in the organization that connects the portal, just as adding it under Portals would, and then makes the edit straight away. Reading a page never adds anything. Either way the theme's full scan runs in the background, and adding it needs the install permission; without it, the app can still read the page. If two of your organizations connect the portal, you're asked which one. Adding a custom theme writes two preview files of Sprocket Rocket's own into the theme folder and publishes a hidden "SR Module Preview" page; its module preview is finished when you open the theme in Sprocket Rocket and select Retry. Marketplace and child themes get no preview. On a theme that isn't Sprocket Rocket's, every field is checked against that theme's own module before it's written, and a field that can't be checked yet isn't written; the app tells you what to send again. A page on a coded template that isn't part of any theme can be read but not edited here.
  • HubDB tables. The app can list tables, read their rows, create a table, change its columns and write rows. Those changes stay in the table's draft. Publishing changes every page that reads the table, so the app shows you which table and asks first. HubDB needs a HubSpot plan that includes it and the HubDB permission on the portal's connection; if either is missing, the app tells you what to do.
  • Domains and redirects. The app can list the portal's domains and redirects, and create redirects. Redirects go live at once across the site, so the app first shows what it would create, what's already there, and what already goes somewhere else, which is left alone. A redirect that would create a loop is refused.
  • Site header and footer. The app can read and set them. They show on every page of the theme at once, published pages included, so the app first shows you what would change and waits for your approval. It names a page to check the change will show there.
  • Theme brand. The app can read the theme's colors, fonts, heading sizes and buttons, and change them. Every page of the theme changes at once, so the app first lists each change and waits for your approval. Sprocket Rocket saves a backup first, and an owner or admin can have the app put the previous brand back, unless the theme has changed since. A brand waiting on a card in Page Builder stays there until someone decides, and the app tells you when there is one. A Marketplace theme's header, footer and brand can't be changed here, because HubSpot locks its files.
  • Emails, blogs and templates work the same way. Your app can find a portal's marketing emails, read and preview them, create coded or drag and drop emails, and change their subject, preview text, modules, layout or code. It can read and change a blog's post and listing templates, and read, create and change an install's page templates, system pages, partials and sections, with their CSS and JS. Changes are saved as drafts. It checks that nobody changed the email or file since it read it, and files from a Sprocket Rocket theme package, HubSpot or a Marketplace theme stay read-only, so your app makes a copy. Publishing a coded email's design, a blog template or a template asks first, because everything using it changes at once. Sprocket Rocket never sends an email: you pick recipients and send it in HubSpot. Blog posts are written in HubSpot too.
  • Unsplash photos the app finds credit the photographer on the page, as Unsplash requires.
  • A page's brand styles and custom code. The app can read and change one page's brand styles, and its custom CSS and JS as a last resort. Only the draft changes. It reads the module's real markup first, because CSS whose selectors match nothing on the page is refused, and the same rules as Page Builder hold for what page code may do.
  • Scripts in an SR HTML field. The app follows the same rules as Sprocket Rocket AI: a script from an approved site, such as a HubSpot form or a Calendly widget, goes straight in. A script from any other site, or JavaScript the app wrote, needs a person to allow it on a card, which an app can't show. The app is refused and tells you to add it in Sprocket Rocket. The same goes for creating a page from a layout that holds such code.
  • Alt text and translations. The app lists a page's images, looks at them, and writes the alt text itself; only each image's alt changes. It reads all of a page's copy the same way to rewrite or translate it.
  • A/B tests and translations ask first. The app can have HubSpot make an A/B variant or a language version of a page, using the publish permission. It shows you what would happen and goes ahead only after you agree, then makes the changes on the new page itself. These need a HubSpot plan that includes them, and the app tells you when yours doesn't.
  • Measuring and rebuilding. The app can read a public web page's design and sections, and one section's code, to rebuild it. It can read a page's traffic and rank a site's pages, search the site's published content, run Google PageSpeed on a live page, and try a page in a real browser: hover, click, scroll, and measure what happens. An organization's apps share 40 PageSpeed runs a day. Browser checks use the same 40 a day as Sprocket Rocket AI in Page Builder. The app tells you when a day's runs are used up; they come back at midnight UTC.
  • Images. The app can search the portal's File Manager by file name or folder, and copy an image from a public address into it. An image the folder already holds isn't added twice. The File Manager and analytics each need their permission on the portal's connection, and the app tells you how to get it when it's missing.
  • Everything is recorded. Restore points for the app's edits are marked AI app in Page Builder's Version history.

Disconnect an app

In Sprocket Rocket, open the user menu, select Account settings, then MCP. Under Connected apps, select Disconnect next to the app. It loses access at its next call.

A connection also ends when you change or reset your password, sign out of all sessions, or don't use it for 30 days, and when a Sprocket Rocket admin resets your password, two-step verification or passkeys. Signing out of Sprocket Rocket in your browser doesn't disconnect your apps. To add an organization you joined later, connect the app again.

Every tool and action

Each feature has a read tool and a write tool, and one publish tool makes anything live.

That comes to 22 tools and 100 actions.

How your AI app calls them

Every tool takes an action and its arguments:

{ "action": "edit", "arguments": { "emailId": "123", "conflictToken": "..." } }

To keep the tool list small, each action's arguments aren't in it. The action describe gives them, and an action called with the wrong arguments answers with the right ones.

Reads, writes and live changes are separate tools because AI apps approve each tool separately. You can always allow a read tool without allowing any writes, and always allow writes without allowing a publish.

Asks first means the first call changes nothing. It returns a planId, and the change runs only when your app calls again with that planId and confirm: true. Everything on publish works this way, apart from publishing a module that isn't live yet and changing the type of a page that isn't live.

Portals and installs

portals_read

ActionWhat it doesPermission
listLists the HubSpot portals connected to Sprocket Rocket across the organizations this connection may use, with each portal's Sprocket Rocket installs.See your portals
getOne HubSpot portal connected to Sprocket Rocket: its plan, whether its HubSpot connection works, and each Sprocket Rocket install on it with theme, version, drift and latest job.See your portals
connectA link the person opens to connect a HubSpot portal to an organization in Sprocket Rocket, or to reconnect one whose connection broke.See your portals
list_installsThe Sprocket Rocket installs on one HubSpot portal, each with its theme, version, drift and whether package updates are available and how many can be applied safely.See your portals
get_installOne Sprocket Rocket install: its theme and version, whether updates are available and how many can be applied safely, and its latest job.See your portals
get_jobThe status of an install, update or other Sprocket Rocket job by its id, with its progress message and any error.See your portals

portals_write

ActionWhat it doesPermission
installStarts a fresh install of a Sprocket Rocket theme into a new folder of a HubSpot portal and returns the job at once.Install

Pages

pages_read

ActionWhat it doesPermission
listThe website and landing pages on a HubSpot portal built on the themes Sprocket Rocket has there, most recently edited first, each with the theme it is built on, its state (draft, published, scheduled) and live URL.Read pages and drafts
getOne page's draft as Sprocket Rocket's page editor sees it: its settings, state and URL, the modules on it top to bottom with their widget names and fields, the preview URL, and the conflictToken pages_write (action edit) and pages_write (action update_settings) need.Read pages and drafts
viewScreenshots of a page's draft as it renders now, top to bottom, attached as images, with the preview URL to open it; any page on a connected portal, whatever its theme.Read pages and drafts
list_layoutsWhat a new page on a site's theme can start from: the page templates installed with the theme, and the saved layouts that fit it, including those saved in this connection's other organizations.Read pages and drafts
get_textEvery piece of copy on a draft, module by module: text and rich text fields and image alt text, each with the field path pages_write (action edit) setParams takes.Read pages and drafts
list_imagesEvery image a draft's modules show, with its alt text: image fields, images inside rich text, and background images, which take no alt text; plus the social sharing image.Read pages and drafts
get_brand_stylesThe brand styles set on one page (colors, fonts, heading sizes, buttons), or null when there are none.Read pages and drafts
get_custom_codeThe CSS and JS Sprocket Rocket added to one page, or null for each when there is none.Read pages and drafts
get_module_markupPlaced modules' rendered HTML on a draft: each one's wrapper element as cleaned markup, plus every class and id in it, up to 6 modules.Read pages and drafts
get_module_contentThe field values one module on a draft renders (its params over its defaults).Read pages and drafts

pages_write

ActionWhat it doesPermission
createCreates a draft website or landing page on a site's Sprocket Rocket theme: blank on the theme's drag-and-drop template, from a saved layout (with its modules and content), or on an installed page template; pages_read (action list_layouts) has both.Create and edit drafts
editChanges a draft page's modules in one batch of up to 20: insert a module by packageId, set module fields (setParams, dotted paths for nested fields), set section styles, add or resize sections and columns, move, duplicate, swap or remove modules.Create and edit drafts
update_settingsChanges a draft page's settings: its name in HubSpot's page list, the browser title, the meta description, the URL slug, the domain, and the social sharing image with its alt text.Create and edit drafts
restorePuts a draft page's modules back as they were at one of its restore points (pages_read (action get) detailed lists them; every edit takes one first).Create and edit drafts
set_image_altSets the alt text of images on a draft, image fields and images inside rich text alike, changing only each image's alt, from pages_read (action list_images) entries.Create and edit drafts
set_brand_stylesSets one page's brand on top of its theme: colors, body and heading fonts (Google Fonts), heading sizes, and primary and secondary button styles.Create and edit drafts
set_custom_codeWrites CSS to a draft's head HTML or JS to its footer HTML, in a block marked as Sprocket Rocket's, as the last resort for a look modules and brand styles cannot get. Asks first.Create and edit drafts
show_site_areaShows or hides the site's header or footer on one page's draft only (its template's Enable Global Site Header or Footer switch); every other page keeps it.Create and edit page drafts, including installing the modules a page needs

Modules

modules_read

ActionWhat it doesPermission
listThe modules a page on a site's Sprocket Rocket theme can use: the theme's catalog, with what each renders, its category and section roles, and the portal's own modules.Read pages and drafts
getOne module's description and its fields as pages_write (action edit) setParams takes them: names, types, choices, repeaters, and which fields render only while another field has a value, with the value shape of each field type it uses.Read pages and drafts
validateChecks a setParams patch against a module's fields without writing anything: unknown field names, wrong value shapes, choice labels sent instead of values, markup or links pages_write (action edit) refuses, and fields that will not render until a controlling field is set.Read pages and drafts
guideHow to build a module the way this install's modules are built: its rules, its guides, and the installed modules to learn from.Read pages and drafts
read_filesThe draft text of a module's files (module.html, module.css, module.js, fields.json, meta.json), each with the sha a write starts from.Read pages and drafts
read_theme_filesLists a folder of a site's theme, or reads one of its text files (draft text), so a module can use the theme's CSS, fonts, colors and macros.Read pages and drafts
list_folder_modulesModules in the portal's Design Manager folders outside the theme: its shared asset folders and any other folder.Read pages and drafts
search_themeFinds text across a theme's files (modules, macros, templates, CSS, JS), case-insensitive, with each matching line.Read pages and drafts

modules_write

ActionWhat it doesPermission
write_filesSaves a module's draft files, or starts a new module (newModuleName, optionally copyFrom another module's modulePath).Create and change custom modules
checkChecks a module's drafts: whether HubSpot accepts its fields.json and renders it from the drafts (not blank, no HubL error), whether its CSS selectors can match its template, and its JavaScript.Create and change custom modules
discard_filesPuts a module's draft files back to what is live, losing unpublished changes, whoever made them. Asks first.Create and change custom modules
add_sr_fieldsAdds Sprocket Rocket's stock fields to a module's fields.json draft instead of writing them by hand.Create and change custom modules
viewA screenshot of a module's draft rendered on its own with its default values, on no page.Create and change custom modules as drafts
use_folder_moduleMakes a module from another folder placeable on a theme, as Add from folder does, and returns its packageId and top-level fields.Create and edit page drafts, including installing the modules a page needs

Emails

emails_read

ActionWhat it doesPermission
listLists a portal's marketing emails, newest first, by name or subject.Read pages and drafts
getReads an email's draft: subject, preview text, sender, layout and every module's fields, with the conflictToken a change starts from.Read pages and drafts
previewRenders an email's draft as HubSpot does and reads what shows: its title, headings and visible text, and the HTML if asked.Read pages and drafts
theme_settingsLists the theme settings a coded email can use as {{ theme.<path> }}, such as colors and fonts: a coded email's own theme with emailId, otherwise the install's.Read pages and drafts
read_codeReads a coded email's HTML and HubL with its unpublished changes, and how many other emails share this design.Read pages and drafts

emails_write

ActionWhat it doesPermission
createCreates a new draft marketing email, coded (full design control, but no drag and drop editing in HubSpot) or drag and drop, and sends nothing.Create and edit drafts
editChanges an email's draft subject, preview text, internal name and module fields; the live email and any send are untouched.Create and edit drafts
change_layoutChanges a drag and drop email's layout on its draft: moves, copies, adds or removes sections and modules, and sets a section's background.Create and edit drafts
edit_codeSaves a change to a coded email's HTML and HubL as unpublished: emails_read (action preview) shows it, and HubSpot keeps sending the published version until publish (action emails.publish).Create and edit drafts
discardDrops an email's unpublished draft changes, whoever made them, and for a coded email the design's too, which other emails on that design share. Asks first.Create and edit drafts

Blogs

blogs_read

ActionWhat it doesPermission
listLists a portal's blogs with their addresses; a portal can have several.Read pages and drafts
getReads one blog and the state of its post and listing templates: their paths, whether they can change, unpublished changes and which other blogs share them.Read pages and drafts
read_templateReads a blog's post or listing template (HTML and HubL with unpublished changes) or a CSS or JS file it attaches, with the sha an edit starts from.Read pages and drafts
previewRenders a blog's post template with the portal's newest post, whichever blog it is from, or its listing page, and reads what shows: its title, headings and visible text.Read pages and drafts

blogs_write

ActionWhat it doesPermission
edit_templateSaves a change to a blog's post or listing template, or a CSS or JS file it attaches, as unpublished: nothing goes live until publish (action blogs.publish_template).Create and edit drafts
attach_fileGives a blog's template a new CSS or JS file of its own, created in the theme's css or js folder and linked from the template's draft.Create and edit drafts
discardDrops a blog template's unpublished changes, whoever made them, with those of the CSS and JS it attaches. Asks first.Create and edit drafts

Templates

templates_read

ActionWhat it doesPermission
listLists an install's Design Manager templates (page templates, system pages, partials, sections, blog templates) with each one's kind and whether it can change.Read pages and drafts
readReads a template (HTML and HubL with unpublished changes) or a CSS or JS file it attaches, with how it goes live and the sha an edit starts from.Read pages and drafts
previewRenders a template as HubSpot does, with its unpublished changes, and reads what shows: its title, headings and visible text, and the HTML if asked.Read pages and drafts

templates_write

ActionWhat it doesPermission
createCreates a new template in an install: a page template, system page, global partial, section, or blog post or listing template, with its own CSS and JS files; nothing uses it until it is chosen.Create and edit drafts
editSaves a change to a template or a CSS or JS file it attaches as unpublished: nothing goes live until publish (action templates.publish).Create and edit drafts
attach_fileGives a template a new CSS or JS file of its own, created in the theme's css or js folder and linked from the template's draft.Create and edit drafts
discardDrops a template's unpublished changes, whoever made them, with those of the CSS and JS it attaches. Asks first.Create and edit drafts

HubDB

hubdb_read

ActionWhat it doesPermission
list_tablesLists a portal's HubDB tables as drafts: name, label, row count, columns with their types and choices, and whether the draft has changes not yet published.Read pages and drafts
get_rowsReads the rows of a HubDB table's draft, in table order: each row's id, hs_name, hs_path and column values.Read pages and drafts

hubdb_write

ActionWhat it doesPermission
create_tableCreates a new HubDB table as a draft, to hold structured content a module or dynamic pages read.Create and edit drafts
update_tableChanges a HubDB table's draft structure: its label, columns to add, column labels to change, or columns to remove, which drops that column's values from every row's draft.Create and edit drafts
update_rowsAdds rows to a HubDB table's draft (no rowId), changes some columns of existing rows (with rowId), or removes rows (remove: their ids).Create and edit drafts
discardThrows away a HubDB table's unpublished changes, rows and columns alike, so its draft matches what is published again. Asks first.Create and edit drafts

site_read

ActionWhat it doesPermission
list_domainsLists the domains connected to a HubSpot portal: which is primary for website pages and for landing pages, which are HubSpot's own staging domains, and which only redirect to another domain.Read pages and drafts
list_redirectsLists a portal's URL redirects, optionally only those whose source or destination contains some text, such as a path or slug.Read pages and drafts
list_formsLists a portal's HubSpot forms, newest edit first: name, id and type, optionally only those whose name contains some words.Read pages and drafts
get_areaReads a theme's site header or footer: the modules in it, top to bottom, with their field values.Read pages and drafts
get_brandReads a theme's brand defaults (colors, fonts, heading sizes, buttons), which of them HubSpot's theme editor overrides, which it has no setting for, and any brand waiting on a card in the app.Read pages and drafts

Images and the File Manager

files_read

ActionWhat it doesPermission
search_stockSearches Unsplash for photos to use on a page, such as 'mountain lake at dawn', and returns each photo's id, a resized URL to hotlink, its size, a description and the photographer's credit, with the image field value ready for pages_write (action edit).Read pages and drafts
searchSearches a portal's HubSpot File Manager for images by file name or folder path (logo.png, hero, /sr).Read pages and drafts
image_infoReads an image address's natural width and height and confirms it loads.Read pages and drafts
view_imagesAttaches up to 6 images by address, shrunk to a size you can describe, to write alt text or choose a social image.Read pages and drafts

files_write

ActionWhat it doesPermission
upload_imageAdds an image to a portal's HubSpot File Manager, from a public https address or an image file the app has, such as a local logo, so a page can use it; the file is public at once, though no page shows it until one uses it.Create and edit drafts

Analytics and checks

measure_read

ActionWhat it doesPermission
page_analyticsHubSpot web analytics for one published page: views, new visitor views, entrances, exits, bounce rate, exit rate and average time on page, the same totals for the window before, and a row per day.Read pages and drafts
top_pagesHubSpot traffic for a theme's published pages over a window: views, bounce rate and average time on page, with views in the window before, ranked by most views, highest bounce rate (pages with enough traffic to judge) or biggest drop in views.Read pages and drafts
search_siteSearches a portal's published pages and blog posts as HubSpot's site search indexes them: title, URL, description.Read pages and drafts
pagespeedRuns Google PageSpeed Insights (Lighthouse) on a published page: scores for performance, accessibility, best practices and SEO, the core speed metrics, real-user field data when Google has it, and the audits that failed, worst first.Read pages and drafts
read_web_pageScreenshots of a public web page top to bottom, with the design it renders with and its sections in order.Read pages and drafts
web_section_codeOne section of a page read with read_web_page: its rendered HTML, the CSS rules that apply to it, and the scripts that drive it.Read pages and drafts

measure_write

ActionWhat it doesPermission
check_behaviorTries a page in a real browser: hover, click, scroll, press keys and wait, with a real mouse, returning per step a screenshot, the boxes of elements measured, computed styles asked for, and which videos are playing.Create and edit drafts

Anything live

publish

These change what visitors see, so each one that does asks first.

ActionWhat it doesPermission
portals.update_installPreviews, then starts, a safe update of a Sprocket Rocket install: newer package versions are written only to files nobody edited in HubSpot; edited files and major module upgrades are left for review in Sprocket Rocket.Publish
pages.change_typeMoves a page between website pages and landing pages in place: same id, URL and content; its history and Page Builder chats move with it.Create and edit drafts
pages.publishPreviews, then publishes, a draft page to its live URL on the HubSpot portal.Publish
modules.publishMakes a module's drafts live.Publish
blogs.publish_templatePuts a blog template's changes live, with the CSS and JS it attaches, for every blog on that template, after a preview and a confirm with its planId.Publish
emails.publishPuts a coded email's design changes live for every email on that design, after a preview and a confirm with its planId; it never sends an email.Publish
hubdb.publishMakes a HubDB table's draft live, which changes every live page that reads the table at once.Publish
pages.start_ab_testHas HubSpot copy a page into an A/B test variant.Publish
pages.create_translationHas HubSpot copy a page as a new language's version and link the two, so visitors and search engines find the right one.Publish
site.create_redirectsCreates URL redirects, each live at once across the portal's sites; restore points cannot undo one.Publish
site.set_areaSets a theme's site header or footer: the modules in it, top to bottom, with their field values.Publish
templates.publishPuts a template's changes live, with the CSS and JS it attaches, on every page using them at once, after a preview and a confirm with its planId.Publish
theme.set_brandSets a theme's brand defaults: colors, body and heading fonts (Google Fonts families), heading sizes and weights, base font size, button radius, border and weight, the primary and secondary button colors, the general corner radius and the content width.Publish
theme.undo_brandPuts back the brand a theme had before publish (action theme.set_brand), using that result's backupKey and the same brand.Publish

Docs

docs_search and docs_read search and read these docs. Every connection has them.

Older tool names

Before these tools, each action had its own tool. Those names still work, so a saved prompt or an app that hasn't refreshed its tool list keeps working, but apps no longer see them listed.

Older nameNow
portals_listportals_read, action list
portals_getportals_read, action get
portals_connectportals_read, action connect
installs_listportals_read, action list_installs
installs_getportals_read, action get_install
jobs_getportals_read, action get_job
installs_installportals_write, action install
installs_updatepublish, action portals.update_install
pages_listpages_read, action list
pages_getpages_read, action get
pages_viewpages_read, action view
layouts_listpages_read, action list_layouts
pages_createpages_write, action create
pages_editpages_write, action edit
pages_update_settingspages_write, action update_settings
pages_change_typepublish, action pages.change_type
pages_restorepages_write, action restore
pages_publishpublish, action pages.publish
modules_listmodules_read, action list
modules_getmodules_read, action get
modules_validatemodules_read, action validate
modules_guidemodules_read, action guide
modules_files_readmodules_read, action read_files
theme_files_readmodules_read, action read_theme_files
modules_files_writemodules_write, action write_files
modules_checkmodules_write, action check
modules_publishpublish, action modules.publish
images_searchfiles_read, action search_stock