MCP & AI clients
Connect AI clients to your site over MCP, and what they can do.
- Connect your own AI assistant to one SleekSite site over the Model Context Protocol (MCP)
- It can write pages and content, change the design, and build the site to check its work
- It publishes only when you tell it to
- Copy the site's MCP URL
- Your role applies (Admin or Editor)
- Setup for each client
- One-click setup
- Or a config snippet / command
Your site's MCP URL#
- Each site has its own MCP URL; it always connects to that site
- To work on another site, add that site's URL as a separate connection
Connecting a client#
- Claude (web and desktop): Add to Claude opens Claude's custom connector dialog with the URL filled in (or add it for your whole Claude organization); by hand: Settings → Connectors → Add custom connector, paste the URL, Connect
- Claude Code:
claude mcp add --transport http sleekcms-<site> <your MCP URL>
then run /mcp, pick the server and sign in
- Cursor, VS Code, Antigravity, Other: one-click setup or a config snippet in the app
Sign-in and consent#
- The first time it connects, your assistant opens a SleekSite sign-in page
- Sign in, then select the site (or create one) and approve access
- Pick the site (or create one)
- Approve access
- Opened directly instead of from a client? You'll see this error
Roles and permissions#
- The assistant acts as you, with your role on the site
- Admin: content, models, views, setup, building and publishing
- Editor: only what an Editor can do
- Teammates use the same URL and sign in with their own accounts
- People who aren't members of the site can't connect; invite them first
Running your store from an AI client#
On a site with the SleekSite Store, your assistant can also:
- Set up the store and change its settings: currency, shipping, pickup, tax, order emails, customer accounts (Site Admins only; this turns the store on)
- Add and update products, with photos, variants, prices, templates and attributes
- Manage discount codes
- Read orders and sales totals
- Adjust stock with a reason, and set low-stock alerts and backorder
Connecting Stripe, shipping, refunding and cancelling orders, and combining customers stay in Store in the app.
Emailing your contacts from an AI client#
On a site with Emails on, your assistant has four email tools:
email_getreads the overview, contacts, templates, a broadcast's audience or results, series, and the do-not-send listemail_save_contactsadds or updates contacts, puts them on lists (creating lists as needed) or takes them off, and adds do-not-send addressesemail_savecreates or changes templates (Site Admins), broadcast drafts, series and their steps, and the email footer (Site Admins).enabled: trueturns Emails on (Site Admins). It never sends anythingemail_sendsends, schedules or cancels a broadcast, and starts or pauses a series (Site Admins only)
Lists, templates and mailboxes are named the way you'd say them: "the Customers list", "the November news template", "[email protected]". Connecting mailboxes stays in Emails → Settings in the app, and an address that unsubscribed itself can't be put back through MCP.
Reading your analytics from an AI client#
Every site's MCP server has a read-only site_analytics tool: the same report as the Analytics page, whatever your role on the site.
- Visitors, pageviews, conversions and conversion rate against the previous period, a trend, top pages, and conversions by type and by form
- On Plus and Business, also traffic sources, landing and exit pages, conversion pages, devices, countries, cities, browsers, campaigns and recent conversions
- Narrow it to exact days (
from/to), one kind of conversion (conversion) or one form (form), and ask for longer lists (limit)
Ask your assistant to find the weakest page or form, change it, and compare before and after. See Analytics with AI & MCP.
Testing#
- Using curl, the MCP Inspector or a client without browser sign-in? Copy a bearer token for your account on the site and send
Authorization: Bearer <token> - Treat the token like a password: it gives full access as you on that site until you sign out of all sessions
Disconnecting#
- Connections don't expire on their own
- Remove one assistant from that assistant's settings
- To cut off every assistant: user menu → Logout → All sessions