xigzag runs a Model Context Protocol (MCP) server over HTTP at https://xigzag.com/api/mcp. An agent connected to it works on the one site its key belongs to. A discovery file is published at /.well-known/mcp.json.
Connect
- In the Studio, open Connections and find AI Agents & MCP Connections.
- Press a preset, for example Read-only assistant, name the key, and copy it.
- Add the server to your client using one of the examples below. The Copy Claude Code and Copy Cursor JSON buttons give you similar text with a placeholder for the key.
Claude Code
claude mcp add --transport http my-site https://xigzag.com/api/mcp --header "Authorization: Bearer <YOUR_API_KEY>"Cursor
{
"mcpServers": {
"my-site": {
"url": "https://xigzag.com/api/mcp",
"headers": { "Authorization": "Bearer <YOUR_API_KEY>" }
}
}
}Claude Desktop
The Copy Claude Desktop JSON button gives you a configuration that reaches the server through the mcp-remote bridge (you need Node.js installed). Add it to claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\), then restart the app.
Other agents and automation tools can connect if they support remote MCP over HTTP and let you set an Authorization header. Check your client's own documentation.
Test with curl
curl -sS -X POST https://xigzag.com/api/mcp \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'{"jsonrpc":"2.0","id":2,"method":"tools/call",
"params":{"name":"entities_list","arguments":{"collection":"products","limit":20}}}Tools
| Kind | Tools |
|---|---|
| Read | collections_list, entities_list, orders_list, pages_list, customers_list, webhooks_events, assets_list |
| Draft edits | pages_edit_section, pages_add_block, copy_update, products_add, products_update_stock, theme_set, assets_upload, assets_set_image |
| Needs your approval | site_publish, products_change_price, pages_archive |
Each tool's input schema lists the arguments it takes. The list an agent sees depends on its key's scopes. Draft edits and approval requests need entities:write. Two resources, site://summary and site://schema, describe the site and its collections.
initialize, ping, tools/list, tools/call, resources/list and resources/read. Each key may send 120 requests per minute.