AI agents

### Quickstart for agents

Hand this page to your AI agent. It connects the Filecheck MCP server to the tool it runs in, so it can check print files and set up your Filecheck account.

For agents: the full documentation index is at

https://filecheck.io/docs/llms.txt

. Fetch it to find any other page.

This page is written for AI agents. Give it to Claude Code, Codex, Cursor, VS Code or any agent that can run commands and edit its own settings, and it connects Filecheck for you. For ChatGPT and Claude, the agent tells you the two clicks to make yourself. Prefer to do it by hand? See

MCP server

.

### Navigate to header: Give your agent this prompt Give your agent this prompt

Follow https://filecheck.io/docs/mcp/quickstart-agents and connect the Filecheck MCP server to this agent.

Keep my secret key out of any file I commit, and tell me what you changed.

### Navigate to header: Steps for the agent Steps for the agent

Get a secret key. Ask the user for a Filecheck secret key ( sk\_… ). If they have none, they create one in the dashboard under Dev Hub → API keys , labelled for you. Never repeat the key back in chat. A publishable key ( pk\_… ) does not work: it is for the storefront only.

Add the server for the tool you run in, at user level, never in a project file that gets committed. Coding tools run the local server, which can read and save files on the user’s disk: Scrollable table The local server needs Node.js 18 or later ( node --version ).

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 filecheck ).

Check it. Call list\_catalog with type: "workflows" and show the user the workflows it returns.

Report. Tell the user which file or setting you changed, and that revoking the key in the Dev Hub disconnects you.

### Navigate to header: Rules for the agent 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 account the API can. Use one key per agent.

Read both axes of every job: status says whether the check ran, outcome is the verdict. status: done with outcome: fail means the file is not print-ready.

If a tool returns pending: true , poll get\_job with the job id. Never submit the same file again.

Download links expire after about an hour. Call get\_job for fresh ones instead of storing them.

New workflows, rules and profiles stay drafts until published. Ask the user before you publish one, map a product, change storefront settings, or run test\_destination (it writes a real file into the shop’s hotfolder).

Read a record’s schema with setup\_reference before you create or patch it. Use dryRun: true when unsure. When the API refuses a record, the error names the field and lists every problem: fix them all, then retry.

### Navigate to header: What you can do next What you can do next

Check a file for print: check\_file with a preflight profile from list\_catalog , then explain the verdict and each finding. Pass context (the ordered size, page count, bleed) when the user tells you what they ordered.

Fix what can be fixed with fix\_file , then give the user the download link, or save it next to the original with save\_artifact (local server).

Validate PDF/A or PDF/UA with validate\_pdf ; make a file smaller with optimize\_file and settings from an optimize preset.

Explain why a past job failed: list\_jobs , get\_job , then get\_report for the full report.

Set up a product, if the user asks: follow Set up products with AI . Build a draft profile, rule and workflow with manage\_catalog , try it on a real file with check\_file and its workflowId , then publish it and map\_product (Shopify) when the user agrees.

Set up delivery: follow Set up delivery with AI . manage\_destination , then test\_destination once the user agrees, then add the destination to the workflow’s delivery.

Fix how the upload box appears on product pages with get\_settings and update\_settings .

### Navigate to header: Go deeper Go deeper

Suggest edits

Raise issue

[https://filecheck.io/docs/llms.txt](https://filecheck.io/docs/llms.txt)

[MCP server](https://filecheck.io/docs/mcp/server)

[Suggest edits](https://github.com/sterlyai/mintlify-docs/edit/main/mcp/quickstart-agents.mdx)

[Raise issue](https://github.com/sterlyai/mintlify-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/mcp/quickstart-agents)

[Navigate to header: Give your agent this prompt](https://filecheck.io/docs/mcp/quickstart-agents#give-your-agent-this-prompt)

[Navigate to header: Steps for the agent](https://filecheck.io/docs/mcp/quickstart-agents#steps-for-the-agent)

[Dev Hub → API keys](https://admin.filecheck.io/devhub)

[MCP server → VS Code](https://filecheck.io/docs/mcp/server#vs-code)

[MCP server → Claude Desktop](https://filecheck.io/docs/mcp/server#claude-desktop)

[MCP server](https://filecheck.io/docs/mcp/server#claude)

[MCP server](https://filecheck.io/docs/mcp/server#chatgpt)

[Navigate to header: Rules for the agent](https://filecheck.io/docs/mcp/quickstart-agents#rules-for-the-agent)

[Navigate to header: What you can do next](https://filecheck.io/docs/mcp/quickstart-agents#what-you-can-do-next)

[Set up products with AI](https://filecheck.io/docs/mcp/set-up-products)

[Set up delivery with AI](https://filecheck.io/docs/mcp/delivery)

[Navigate to header: Go deeper](https://filecheck.io/docs/mcp/quickstart-agents#go-deeper)