squarespace-mcp: Command for Claude Code

.claude/commands/squarespace.md

squarespace is a command for Claude Code from timncox/squarespace-mcp. It costs 0 tokens per session (2,006 once invoked), scanned A, original, MIT.

An interactive reference for the Squarespace Content Save API, the interface used to change page content in Squarespace sites.

In plain words
What is it for?
Use it to look up how to add or update text, buttons, images, menus, sections, and other Squarespace page elements.
Why use it?
It helps you find the right API method and its required values when editing page content through code.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is timncox/squarespace-mcp's own configuration. It tells Claude Code how to work on squarespace-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything squarespace-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to timncox/squarespace-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/timncox/squarespace-mcp/main/.claude/commands/squarespace.md
Clone the repo
git clone --depth 1 https://github.com/timncox/squarespace-mcp

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for squarespace

README.md
[![agentmods](https://agentmods.dev/badge/commands/timncox/squarespace-mcp/squarespace/github.svg)](https://agentmods.dev/commands/timncox/squarespace-mcp/squarespace)
Your own site
<a href="https://agentmods.dev/commands/timncox/squarespace-mcp/squarespace"><img src="https://agentmods.dev/badge/commands/timncox/squarespace-mcp/squarespace/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for squarespace

Your own site · 80×15
<a href="https://agentmods.dev/commands/timncox/squarespace-mcp/squarespace"><img src="https://agentmods.dev/badge/commands/timncox/squarespace-mcp/squarespace.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,006 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.02006
Opus 5.5 $0.00000 $0.00802
Sonnet 5.5 $0.00000 $0.00401
Haiku 4.5 $0.00000 $0.00201

Measured 2mo ago against content hash 069ed3f296bc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

squarespace scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/squarespace.md · 135 lines

How it starts

The opening of the file, as written. The whole thing — 135 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Squarespace API Reference

When the user runs /squarespace, provide an interactive reference for the Squarespace Content Save API based on their context or question.

Quick API Lookup

Common tasks and which ContentSaveClient method to use:

Task Method Key Parameters
Replace text (surgical) patchTextBlock() psId, colId, searchText, newText
Replace text (full block) updateTextBlock() psId, colId, searchText, newHtml
Add text block addTextBlock() psId, colId, sectionIndex, html, layout?, formatting?
Raw HTML replace updateTextBlockHtml() psId, colId, searchText, rawHtml
Update button updateButtonBlock() psId, colId, searchText, { newLabel?, url?, size?, style?, alignment?, variant? }
Add button addButtonBlock() psId, colId, sectionIndex, label, url, layout?, design?
Update image metadata updateImageBlock() psId, colId, searchText, { title?, altText?, assetUrl?, ... }
Add image addImageBlock() psId, colId, sectionIndex, assetUrl, options?
Batch add images addImageBlockBatch() psId, colId, sectionIndex, images[]
Update menu updateMenuBlock() psId, colId, searchText, newMenus
Remove block removeBlock() psId, colId, searchText
Move block moveBlock() psId, colId, searchText, direction, gridSteps?
Swap blocks swapBlocks() psId, colId, search1, search2
Move section moveSection() psId, colId, sectionIndex, direction
Edit section style editSectionStyle() psId, colId, sectionIndex, styles
Edit footer text patchFooterTextBlock() subdomain, searchText, newText
Save custom CSS saveCustomCSS() subdomain, css
Create page createPageViaApi() title, slug?, options?
Delete page deletePageViaApi() collectionId
Update page metadata updatePageMetadata() collectionId, { title?, seoTitle?, ... }
Verify section added verifySectionAdded() psId, expectedCount
Add quote block addQuoteBlock() psId, colId, sectionIndex, quoteText, attribution?
Add code block addCodeBlock() psId, colId, sectionIndex, code, language?
Add divider addDividerBlock() psId, colId, sectionIndex, layout?
Add video addVideoBlock() psId, colId, sectionIndex, videoUrl, options?
Get navigation getNavigation() (no params)
Reorder navigation updateNavigation() fieldName ('mainNav'/'_hidden'), items[]
Read settings getSettings() (no params)
Write settings updateSettings() fields (partial SiteSettings)
Read code injection getCodeInjection() (no params)
Write code injection saveCodeInjection() header?, footer?
Read advanced settings getAdvancedSettings() (no params)
Write advanced settings saveAdvancedSettings() data (form-encoded)
Read fonts getWebsiteFonts() (no params)
Write fonts updateWebsiteFonts() data (full WebsiteFontsData)
Update single font updateFont() fontName, updates (Partial)
Read colors getWebsiteColors() (no params)
Write colors updateWebsiteColors() data (full WebsiteColorsData)
Update palette color updatePaletteColor() colorId, hsl (HSLValues)
Read tweaks getTemplateTweakSettings() (no params)
Write tweaks setTemplateTweakSettings() updates (Record<string, string>)
Create blog post createBlogPost() collectionId, title, options?
Update blog post updateBlogPost() collectionId, itemId, updates
Find blog post findBlogPostByTitle() collectionId, searchTitle
Template section (fast) copyTemplateSectionFromCatalog() subdomain, category, index (~300ms)

Read the full file on GitHub · 135 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 135 lines · 0 tokens per session scan A 069ed3f296bc

Subscribe to this mod's changes

squarespace is a command published in the GitHub repository timncox/squarespace-mcp (8 stars, last pushed 3d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,006 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

squarespace compared with commands from other repositories

squarespace next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
squarespacetimncox/squarespace-mcpCommand83d agoMITA0Claude Code
initfcakyon/claude-codex-settingsCommand1.2kyesterdayApache-2.0A0Claude Code
http-serviceMadAppGang/magusCommand14yesterdayMITA27Claude Code
buildAzure/ai-gatewayCommand510d agoMITA0Claude Code
api-contract-reviewMozurok/fhorja.devCommand1028d agoMITA64Claude Code
start-10-1minicoohei/ai-agent-campCommand3471mo agononeA2Claude Code
fastapimfmezger/ai_agent_dotfilesCommand73mo agoMITA84Claude Code, Gemini CLI