Skip to content
littleworksdocs

Explore the documentation

Meet LittleworksA little backend for what you’re building on Shopify.Littleworks or your own appWhat it takes to give a Shopify feature a backend: with Littleworks, or with a custom app you build and run yourself.Connect to LittleworksChoose the CLI, a plugin, or a remote MCP connection.CLIConnect from your terminal with Shopify approval and no manual tokens.Claude pluginThe Littleworks MCP connection and agent guidance in one package.OpenAI pluginThe Littleworks MCP connection and agent guidance in one package.MCP with OAuthConnect a compatible client directly, without a marketplace plugin.Build with an agentThe operating guide for agents building on Shopify with Littleworks.Write a workA JavaScript handler, a small manifest, and a version you test and then publish.Keep secretsEncrypted credentials, shared across your store’s works.Call external servicesMake public HTTPS API requests from a work using http.fetch().Store dataDocument collections with a small API, scoped automatically to the work that uses them.Call ShopifyCall Shopify’s Admin and Storefront GraphQL APIs with credentials held by Littleworks.Store filesKeep uploads such as artwork and photos in the merchant’s Shopify Files, uploaded by the browser straight to Shopify.Expose an endpointConnect an existing frontend to a work through a small JSON API.Customer access and invitationsRequire a signed-in shopper or a narrow, expiring invitation before a work runs.RecipesUseful things to build for your store, with the backend already taken care of.Product reviewsCollect customer reviews, verify purchases, and publish approved content directly into your Shopify theme.Customer wishlistsGive signed-in customers a persistent list of products they can revisit across devices.Customer quote requestsCollect a customer’s products, quantities, and requirements without turning a request into an order.Back-in-stock alertsCollect confirmed signups on sold-out variants, email them through your own provider when stock returns, and see every signup and send in your admin.Transactional emailSend email from your works through your own provider, never twice for the same thing, and see what was sent and what failed.Build a merchant pageDescribe your records and what merchants do with them; Littleworks renders a native Shopify admin page.Run works on their ownRun a work when something happens in the store, on a schedule, or from a Shopify Flow workflow.Run background jobsQueue runs for later or in the background: fan out to thousands of customers, import in pages, follow up days later, and retry what fails.MCP tool referenceTools to inspect, deploy, run, and organize the backend for a connected store.Usage and allowancesSee what your works use, how much capacity remains, and when allowances reset.Inspect and troubleshootFind the relevant run, understand the failure, and make the next change deliberately.Limits and securityThe current runtime boundaries, data isolation model, and execution allowances.
Shopify admin
Start here
Markdown

Meet Littleworks

A little backend for what you’re building on Shopify.

Give your agent the backend it needs to build on Shopify. Littleworks is a ready-made Shopify app for the backend of your store’s features: your agent writes plain JavaScript works that save data, call Shopify and other services, run on Shopify events and schedules, and power native admin pages. You approve access and manage the results inside Shopify admin.

Everything a custom app would make you build and run is already handled: the OAuth install, hosting and the database, webhook verification and retries, Shopify’s privacy requests, rate limiting, versions and rollback, and the embedded admin UI. Compare it with building your own app.

How it fits into what you’re building

  1. You and your agent are building something for your store.
  2. Your agent identifies a piece that needs a backend: storing a submission, checking Shopify data, or serving a small JSON endpoint.
  3. You connect Littleworks and approve the agent’s access in Shopify.
  4. Your agent builds and tests that piece, then keeps building with you.

The building blocks

PrimitiveWhat it provides
Run codeSmall JavaScript handlers, called privately or through an HTTP GET or POST endpoint.
Store dataDocument collections scoped to your store and feature.
Keep secretsEncrypted API keys shared across your store’s works.
Call other servicesPublic HTTPS requests through http.fetch(), with automatic limits and request diagnostics.
Call ShopifyA GraphQL client using the store’s approved app permissions. Credentials stay on the backend.

Every work starts as a draft. Your agent tests it, and it serves customers and staff once it is published. In Shopify admin, Works shows deployed code and its status, Views opens the custom screens your agent builds, Data shows stored records, Runs shows execution history, and Agent access manages connections.

When to use Littleworks

Use Littleworks when what you’re building needs a small, persistent backend component. For example, a storefront form can call a work that validates input and stores a document. The form itself still lives in your theme or another frontend.

Works answer your theme or another frontend with JSON, and can also run on their own: on Shopify events, on a schedule, or from Shopify Flow. Your theme renders the storefront UI and Littleworks powers it; for staff, views render native admin pages.

Connect when you’re ready

Explore recipes for product reviews, customer wishlists, quote requests, back-in-stock alerts, and transactional email. Each includes a starting prompt, storage choices, and an implementation outline for your agent.

Connect your agent. If you are the agent, start with the agent guide, then read the connected store’s get_context response before writing code.

You can share this short introduction with your agent. You can connect before you know what you want to build.

A brief for your agent
Littleworks provides the backend pieces you need while building on Shopify: running JavaScript, storing data, and making authenticated Shopify GraphQL requests.

To learn how to use it, read the agent docs: https://littleworks.app/docs/agents.md