For agents: the full documentation index is at https://print.app/docs/llms.txt. Fetch it to find any other page.
Give your agent this prompt
Steps for the agent
-
Get a secret key. Ask the user for a Print.App secret key (
sk_…). If they have none, they create one in the admin under Secret keys, labelled for you. Never repeat the key back in chat. -
Add the server for the tool you run in, at user level, never in a project file that gets committed:
-
Load it. Reload or restart the MCP servers if your tool needs it (Claude Code: start a new session; Cursor: refresh in MCP settings; VS Code: MCP: List Servers, then start
printapp). -
Check it. Call the
get_accounttool and show the user the store hostname it returns. - Report. Tell the user which file or setting you changed, and that revoking the key in the admin disconnects you.
Rules for the agent
- Keep the key out of project files, scripts and commits. User-level settings or environment variables only.
- A secret key can change anything in the store the API can. Use one key per agent.
- Upload images and SVGs with
upload_file, then place them withasset. Never send SVG markup inline: the API’s firewall refuses it. - Look at your work with
preview_designafter editing a design, and fix what looks wrong.
What you can do next
- Set up a store, if the user asks: follow the
set_up_storeprompt (the server’s instructions have the same steps). A quick look takes one product to its test link;scopestoregoes on through every product, their options and the brand.get_accountsays whetherlist_store_productscan list their products; otherwise ask for the product page link. - Build a print-ready template from a brief:
create_design, thenedit_design, thenpreview_design. - Upload a logo and add it to the editor’s graphics.
- Import a Google font and set up a brand palette.
- Put a design on a store product with
set_product_designs, or share it withcreate_editor_link(a project URL, which is also a test link). - Make a design follow an option on the product page:
inspect_product_page,test_connector, thenmanage_connector(Set up connectors with AI). - Give a Shopify product its options and prices with Print Options: follow the
set_up_print_optionsprompt.list_option_setssays whether the store can (both apps installed) and its currency;print_options_referencegives the format and the templates;quote_option_setprices typical orders to show the merchant beforemanage_option_setpublishes anything (Set up Print Options with AI). - Set a design’s PDF to the printer’s colour profile or add a cut line, with
manage_profile. - Start from a ready-made design:
search_library_designswith what the product is for and its trim size (sameSizekeeps only designs at that size), show the merchant thethumbnailUrlimages, thenimport_library_designthe one they pick.search_library_graphicsandimport_library_graphicsdo the same for graphics and kits. - Show a design in 3D:
list_sceneswith the design’s id says which scenes suit it, thenupdate_designwithsceneId. - Fix a Customize button or design previews that don’t show on a product page:
inspect_product_pagechecks the store’s selectors there, thenupdate_settings. - Make a project for a customer:
create_projectwith blank pages at a size (or adesignId), thenedit_designandpreview_designwith itsprojectIdfor each revision. ItsuserId(the customer’s id in the store) andproductput it in that customer’s saved designs in the store, to resume on the product page and add to the cart. - Find customers’ submitted projects and their PDF links. Fix a project’s pages with
get_design_content,edit_designandpreview_designand itsprojectId; a submitted one needsallowSubmitted: true, so ask the merchant first.
Go deeper
MCP server
Connect by hand, client by client.
MCP reference
Every tool, and how signing in works.
Create a design
The design flow, step by step.
REST API
The same features for your own code.