Connect an assistant (MCP)
Your assistant reads your deliveries and their verdicts in ValidFile, and answers you in the review’s words. With no key, it already reads each platform’s specs in our format guides. It reads, and nothing else: no tool makes, accepts, exports or withdraws anything.
What you ask it
You
What is holding Noël 2026 at Fromagerie Boivin?
Assistant
One file out of three is not ready.
Display_FR_300x250-noel.jpg: refused. ValidFile says:
"Colour space: received CMYK, expected sRGB, Greyscale."
"File size: ≤ 150 KB if possible (received 334 KB)."
The review, in ValidFile:
https://validfile.ca/livraisons/0b6c2f4e-8d1a-4c7b-9f3e-5a2d1c8b7e60/revue
- “Write to the client what they have to fix, in French.”
- “Which of this week’s deliveries still have a refused file?”
- “How many files do we have left this month?”
It does not validate a file from the conversation: drop it in ValidFile, or send it through the API.
With no key: the platforms’ specs
Connected to https://validfile.ca/mcp with no key, the assistant has three tools, list_format_guides, get_format_guide and find_formats_by_size. Asked “what are the specs of a La Presse 300x250?”, it answers with the platform’s format guide, the one on the site’s “Formats” pages, value for value, with the official pages each value was read on, rather than from memory. Asked “where can a 300x250 go?”, it gives the formats of every guide whose size and ratio take it, the format sold at that size first.
A line that only warns, on a format not yet confirmed on its official pages, comes marked “to be confirmed”, and each answer reminds the assistant that these lines say nothing of a file: only ValidFile, by checking it, says whether it passes.
1. Make a read-only key
- In ValidFile, open Your agency › API and choose Make a key, with the Read only scope. Name it after who uses it: “Camille’s Claude”.
- One key per person and per assistant, wherever each connects their own: you cut one person’s without touching the others.
The address refuses a key that may write (403 read_only_key_required). A key given to an assistant can thus change nothing in ValidFile, even used elsewhere.
2. Connect the assistant
The address is https://validfile.ca/mcp, and the key goes in the Authorization header, as for the API.
Claude (claude.ai, Claude Desktop, Cowork). In Settings › Connectors, add a custom connector: its address, no sign-in asked for (“No sign-in”), then an Authorization request header (“Request headers”) whose value is Bearer followed by your key. Request headers are in beta there, open to some organizations only: if the dialog does not offer them, Claude cannot be connected this way yet, and Claude Code, just below, can.
On a Team or Enterprise plan of Claude, an owner of the organization adds the connector, with one key for all its members: name it after the organization, each of them reads what the key reads, and cutting it cuts it for all.
Claude Code.
claude mcp add --transport http validfile https://validfile.ca/mcp \
--header "Authorization: Bearer $VALIDFILE_KEY"
Cursor, in .cursor/mcp.json.
{
"mcpServers": {
"validfile": {
"url": "https://validfile.ca/mcp",
"headers": { "Authorization": "Bearer ${env:VALIDFILE_KEY}" }
}
}
}
VS Code, in .vscode/mcp.json. It asks for the key on first use and keeps it out of the file.
{
"servers": {
"validfile": {
"type": "http",
"url": "https://validfile.ca/mcp",
"headers": { "Authorization": "Bearer ${input:validfile-key}" }
}
},
"inputs": [
{
"id": "validfile-key",
"type": "promptString",
"description": "ValidFile key",
"password": true
}
]
}
ChatGPT connects with no key, for the specs only: a connector with no authentication, at the same address. Your deliveries need an OAuth sign-in there, which ValidFile does not offer for now.
With no key, send no header and no key: the address refuses a wrong key (401 key_invalid) rather than read it as no key.
The eight tools
| Tool | What it reads |
|---|---|
list_deliveries | Your deliveries, newest first, 50 at a time, or those of a campaign reference. |
get_delivery | A delivery: each file, whether it is ready, its verdict, its reasons and what to fix, with the review’s link. |
get_file | A file, with each check: the rule, what it asks for, what was measured. |
get_balance | The files left on your plan and your credits. |
list_platforms | The platforms a delivery can carry. |
list_format_guides | With no key: the platforms that have a format guide, and each one’s address. |
get_format_guide | With no key: a platform’s formats, their size, weight, file types and length, and their official pages. |
find_formats_by_size | With no key: the formats of every guide whose size and ratio take a given size, 300x250 for one. |
The first five return what the API’s route returns, word for word; only get_delivery leaves out the detail of each file’s checks, which get_file gives. Reading a verdict says what each field means. With a key, each request of the assistant’s, the list of tools included, counts as an API call, within the same limits. The last three return the guides as their pages show them, find_formats_by_size the formats of every guide that a size fits; with no key, the address takes 120 requests a minute per address, one question taking two to four of them (the list of tools, the handshake).
What the assistant tells you
Each answer carries the verdict, the reasons and “what to fix” as the review writes them, in French and in English, with the review’s link, and asks the assistant to quote them without summing them up.
An assistant can still reword, or be wrong. Before a file goes live, the review in ValidFile is what counts, not the conversation.
File and campaign names often come from your clients, and a name can be written to mislead an assistant. Since no tool writes, it can make ValidFile do nothing. If your assistant has other connectors, your e-mail or your Drive, read again what it offers to do there.
Where your data goes
What the assistant reads goes to its provider, Anthropic, Cursor or Microsoft for instance, under the agreement your agency has with it: client, campaign and file names, measurements, verdicts and reasons. Never a file nor its preview, which no key reads. ValidFile itself sends an artificial intelligence no file and no name. Your files and your data says it in full, and your rights are in the privacy policy.
For those writing their own client
The server speaks MCP over HTTP (“Streamable HTTP”), with no session: each call is a JSON-RPC POST that carries the key, or none for the guides, and the response is JSON, never a stream. It speaks the protocol’s 2026-07-28 revision, with no handshake, and the earlier ones, which start with initialize. It offers tools only, all marked read-only (readOnlyHint).