Use Astra Product Editor with Shopify Sidekick & MCP Clients
Astra Product Editor integrates with both Shopify Sidekick inside Shopify Admin and external AI assistants through the Model Context Protocol (MCP). Whether you prefer working inside Shopify Admin or from tools like Codex, Claude Code, Cursor, and Antigravity, you can prepare, preview, schedule, and monitor bulk catalog edits using natural language—while keeping full review control before any live store change runs.
Option 1: Using Astra Product Editor with Shopify Sidekick
Shopify Sidekick connects to Astra Product Editor natively inside Shopify Admin—no API keys or local configuration files required.
What you can do with Sidekick
- Prefill bulk edits & sales campaigns: Describe the products you want to update, the change to apply, and an optional one-time or recurring schedule. Sidekick opens Astra Product Editor with those fields prefilled so you can preview affected products and submit when ready. Sidekick never applies a bulk edit without your review on the page.
- Check tasks & recurring rules: Ask Sidekick to list or look up your one-time bulk edit tasks (
campaign) or recurring rules (recurring) by name or status (such asscheduled,processing,completed,failed,enabled, ordisabled), including scheduled times, next runs, rollback progress, and execution counts.
Example Sidekick prompts
- “Use Astra Product Editor to decrease prices by 15% for the Summer Sale collection starting Friday at 9:00 AM and revert on Monday at 9:00 AM.”
- “Prefill a weekly recurring edit in Astra to add the tag weekend-drop to vendor Acme every Friday at 08:00 and revert after 3 days.”
- “Check the status and progress of my latest Astra bulk edit tasks.”
Option 2: Connecting AI Clients via Remote MCP
If you use an external AI coding or workflow client, you can connect it directly to Astra Product Editor’s stateless Streamable HTTP MCP server using a store-scoped API key.
Step 1: Get your MCP server URL and API key
- Open Astra Product Editor in your Shopify Admin.
- Navigate to Settings and scroll to the MCP access section.
- Copy your MCP server URL (
https://api.astrax.io/ped/v1/mcp) and reveal/copy your MCP API key. - Alternatively, select your AI client tab under Client configuration and click Copy configuration—your API key is filled in automatically when copied.
Step 2: Configure your AI client
Replace YOUR_MCP_API_KEY with your store’s MCP API key if you paste one of the templates below manually.
Codex
Add this entry to ~/.codex/config.toml, then restart Codex and run /mcp to verify the connection:
[mcp_servers.astra-product-editor]
url = "https://api.astrax.io/ped/v1/mcp"
[mcp_servers.astra-product-editor.http_headers]
Authorization = "Bearer YOUR_MCP_API_KEY"
Claude Code
Add this server to .mcp.json at your project root, then reopen Claude Code and run /mcp to check the connection:
{
"mcpServers": {
"astra-product-editor": {
"type": "http",
"url": "https://api.astrax.io/ped/v1/mcp",
"headers": {
"Authorization": "Bearer YOUR_MCP_API_KEY"
}
}
}
}
Cursor
Add this server to ~/.cursor/mcp.json, then open Cursor and check it under MCP settings:
{
"mcpServers": {
"astra-product-editor": {
"url": "https://api.astrax.io/ped/v1/mcp",
"headers": {
"Authorization": "Bearer YOUR_MCP_API_KEY"
}
}
}
}
Antigravity
Add this server to ~/.gemini/config/mcp_config.json (or .agents/mcp_config.json in your workspace):
{
"mcpServers": {
"astra-product-editor": {
"serverUrl": "https://api.astrax.io/ped/v1/mcp",
"headers": {
"Authorization": "Bearer YOUR_MCP_API_KEY"
}
}
}
}
Generic JSON / Streamable HTTP clients
Any MCP client that supports Streamable HTTP and Bearer headers can connect to https://api.astrax.io/ped/v1/mcp using the header Authorization: Bearer YOUR_MCP_API_KEY.
Available MCP tools & draft-first workflow
Astra’s MCP server is built around a safe draft-and-confirm workflow so AI assistants never mutate live products without your approval:
create_bulk_task— Creates a one-time draft task (campaign) or a disabled recurring rule (recurring) with one target, one field change, and an optional schedule.preview_bulk_task— Returns paginated before-and-after product values for a draft or rule using itstask_id.submit_bulk_task— Runs or schedules a draft task, or enables a recurring rule, after you explicitly confirm.list_bulk_tasks— Lists existing one-time tasks or recurring rules with optional name and status filters.get_bulk_task— Inspects a task’s configuration, schedule, and edit or rollback progress.
Supported Targets, Fields, and Schedules
Both Shopify Sidekick bulk-edit prefill and MCP create_bulk_task support one product target and one field edit per task:
Product targets (choose one)
- Collection: Exact collection name or Shopify collection ID.
- Tag: Products matching an exact tag.
- Vendor: Products from a specific vendor.
- Product type: Products matching a product type.
- Status:
active,draft,archived, orunlisted. - All products: Targets your entire catalog when explicitly requested.
Supported field actions
- Price (
price): Set to a fixed amount (set), increase by percentage (increase_by_percent), or decrease by percentage (decrease_by_percent, between 0 and 100). - Product title (
product_title): Replace the full title (set), add a prefix (set_prefix), or find and replace text (replace). - Product tags (
product_tags): Add (add) or remove (remove) a single tag. - Product status (
product_status): Set status (set) toactive,draft,archived, orunlisted.
Scheduling options
- Immediate or one-time scheduled: Leave dates blank to run immediately on submit, or provide a start time (
scheduled_at) and optional restore time (revert_at). When no time zone is given, your shop’s time zone is used. - Recurring schedules: Run
daily,weekly(Monday1through Sunday7), ormonthly(day1through28) at a local start time, with optional automatic restoration after1–28days (available on weekly and monthly rules).
Security & Rotating Your MCP API Key
- Store-scoped access: Every MCP key is tied to a single Shopify store and only works while Astra Product Editor is installed and connected on that store.
- Immediate key rotation: If an API key may have been exposed, open Settings → MCP access and click Rotate API key. A new key is issued and the previous key stops working immediately—remember to update any connected MCP clients with the new key.