Connect
Authorization: Bearer sk_… header. This is the Store MCP endpoint. The docs search MCP is a separate, public endpoint that cannot read or change your store. Never send your store API key to the docs search endpoint.
Connect a client
Set up Cursor, Claude Code, or another Streamable HTTP client.
Tools and scopes
See which tools each key permission enables.
Edit a theme draft
- Create a store API key with
themes:write. This scope includesthemes:read. Review Security before you grant write access. - Call
list_theme_fileswith{"content": false}to see the file paths. Callget_theme_filewith the path you want to edit. - Send the complete updated file to
write_theme_filesinfiles: [{ "path": "...", "content": "..." }]. Files you do not include stay unchanged. - Call
preview_themeto get a temporary preview link. Review the result before you approvepublish_theme, which changes your live storefront.
