View as Markdown

Squarespace Integration

Manage Squarespace commerce orders, products, inventory, and profiles

The Squarespace integration provides access to manage Squarespace commerce orders, products, inventory, and profiles through the Integrate MCP server.

Installation

The Squarespace integration is included with the SDK:

import { squarespaceIntegration } from "integrate-sdk/server";

Setup

1. Create a Squarespace OAuth App

  1. Create an OAuth application for Squarespace
  2. Configure your redirect URI
  3. Note your Client ID and Client Secret

2. Configure the Integration on Your Server

Add the Squarespace integration to your server configuration. The integration automatically reads SQUARESPACE_CLIENT_ID and SQUARESPACE_CLIENT_SECRET from your environment variables:

import { createMCPServer, squarespaceIntegration } from "integrate-sdk/server";
 
export const { client: serverClient } = createMCPServer({
  apiKey: process.env.INTEGRATE_API_KEY,
  integrations: [
    squarespaceIntegration({
    }),
  ],
});

You can override the environment variables by passing explicit values:

squarespaceIntegration({
  clientId: process.env.CUSTOM_SQUARESPACE_ID,
  clientSecret: process.env.CUSTOM_SQUARESPACE_SECRET,
});

3. Client-Side Usage

The default client automatically includes all integrations. You can use it directly:

import { client } from "integrate-sdk";
 
await client.authorize("squarespace");
const result = await client.squarespace.listOrders({});
 
console.log(result);

If you're using a custom client, add the integration to the integrations array:

import { createMCPClient, squarespaceIntegration } from "integrate-sdk";
 
const customClient = createMCPClient({
  integrations: [squarespaceIntegration()],
});

Configuration Options

export interface SquarespaceIntegrationConfig {
  clientId?: string;

Tools

squarespace_list_orders

List orders

export interface SquarespaceListOrdersParams {
    "limit"?: number;

squarespace_get_order

Get order

export interface SquarespaceGetOrderParams {
    "order_id": string;

squarespace_list_products

List products

export interface SquarespaceListProductsParams {
    "limit"?: number;

squarespace_get_product

Get product

export interface SquarespaceGetProductParams {
    "product_id": string;

squarespace_list_inventory

List inventory

export interface SquarespaceListInventoryParams {
    "limit"?: number;

squarespace_adjust_inventory

Adjust inventory

export interface SquarespaceAdjustInventoryParams {
    "adjustment_json": string;

Notes

  • Category: Websites & CMS
  • Authentication mode: OAuth