AI assistants (Claude, ChatGPT)
Connect Claude Code, Claude or ChatGPT to Portaim's MCP server to import a supplier file, correct the mapping, fix rows and export a CSV or Draft products.
What an AI assistant can do in Portaim
Portaim runs an MCP server at https://app.portaim.com/mcp. An AI assistant connected to it works through the same steps you do in the app, with the same checks and the same plan limits:
| You ask | What the assistant does in Portaim |
|---|---|
| “Import the products from this sheet” with a Google Sheets, Google Drive, Dropbox or direct file link | Starts an import from the link and reads the rows. |
| “Import supplier.xlsx” (Claude Code, with the file on your computer) | Gets an upload link from Portaim, sends the file, and reads it. |
| “RRP is the compare-at price” | Reads Portaim’s column mapping and changes the columns you name. |
| “Size and colour are in one column”, “the price is for a pack of 10” | Splits or joins columns, computes a field (price ÷ pack size, cost × markup), or maps a column to a metafield, after previewing the result. |
| “Fix what you can” | Applies Portaim’s automatic fixes, and maps values Shopify does not accept (a status, a weight unit) to ones it does. |
| “Write proper descriptions for the short ones” | Reads the rows the Fix step flags, with each product’s title, vendor and options, and writes the new values into those rows. |
| “Write a description for every product” | Lists the products with their title, options, price and current description, and writes a description into each one. |
| “The category is wrong” | Searches Shopify’s product categories and uses the one that fits. |
| “Skip what’s still broken” | Shows what would be set aside, and sets it aside after you agree. It can undo that. |
| “Give me the Shopify CSV” | Builds the Shopify CSV and returns a download link. No Shopify connection needed. |
| “Send them to my store as drafts” | Shows the store, the number of products and whether they arrive as Draft, then exports after you agree. |
Most answers include a link to the import in Portaim, so you can check or finish any step in the app.
Before an assistant’s mapping is confirmed
When an assistant has changed the mapping, it cannot confirm it straight away. Portaim first gives it a review to show you:
- each field it changed, with how Portaim had mapped it before;
- three products as Shopify will receive them: title, handle, price, SKU, options and number of variants;
- the number of products and variants, and the typical price, with Portaim’s mapping and with the changed one, counted over the whole file;
- warnings when the change looks wrong: the number of products halves or doubles, the typical price moves more than five times, a field that was filled becomes mostly empty, several products get the same handle, or several products share a title and each has one variant, so they look like the variants of one product.
The last warning stops an assistant even when it changed nothing. If Portaim’s mapping, or a mapping reused from your earlier files with the same columns, turns one product’s variants into separate products, the assistant shows you that warning and the three products first. It confirms only after you agree that they really are separate products, or once the grouping is corrected.
The assistant confirms only after you agree in the chat. You can also open the link it gives and confirm on the mapping page, which names the fields an AI app changed. If the change went wrong, ask the assistant to restore Portaim’s mapping.
A confirmed mapping is reused for your next files with the same columns, as when you confirm it yourself.
Connect Claude Code
-
In a terminal, run:
claude mcp add --transport http portaim https://app.portaim.com/mcp -
In Claude Code, type
/mcp, choose portaim, and authenticate. Your browser opens Portaim. -
Sign in, or create a free account. Portaim asks “Connect Claude Code to Portaim?” and shows the account and store the assistant will act as.
-
Click Allow. Back in the terminal, Claude Code lists Portaim’s tools.
Claude Code’s own instructions: Connect Claude Code to tools via MCP.
Connect Claude
In Claude on the web or the desktop app, Portaim is added as a custom connector.
- Open Customize → Connectors, click + Add, then Add custom connector.
- Name it Portaim, enter
https://app.portaim.com/mcpas the server URL, and keep Claude’s published identity as the OAuth client. - Click Add, then Connect. Sign in to Portaim and click Allow.
On Team and Enterprise plans an owner adds the connector under the organisation’s settings, and each member connects. Anthropic’s article Getting started with custom connectors using remote MCP has the current steps and which plans have custom connectors.
Connect ChatGPT
ChatGPT adds Portaim as a custom MCP server: open Plugins, click the plus button, choose Add custom MCP server, and enter https://app.portaim.com/mcp. When ChatGPT asks you to sign in, sign in to Portaim and click Allow. OpenAI limits custom MCP servers to some ChatGPT plans; see Connecting custom MCP servers in ChatGPT.
What you agree to on the consent page
The consent page names the app and, for apps that identify themselves with a published identity, the domain that vouches for it (“Identified by claude.ai”). An app that only names itself is marked unverified: allow it only if you started the connection yourself.
The app acts as your Portaim account and organisation. It never sees your password. It can read your imports, issues and export results, start imports within your plan’s limits, apply fixes, and export products to your connected Shopify store.
Files
- A link works in every assistant: Google Sheets, Google Drive, Dropbox, or a direct link to a CSV, XLSX or XLS file. The same rules apply as for importing from a link in the app.
- A file on your computer works with assistants that can run commands, such as Claude Code. Portaim gives the assistant an upload link valid for 15 minutes, for one file, up to the same 50 MB as in the app.
- A small file pasted into the conversation works in any assistant, up to 256 KB. Larger files need a link or an upload.
Exports
Shopify CSV: the assistant gets a download link valid for 15 minutes. Import the file in Shopify under Products → Import, as described in Export.
To your store: a Shopify store must be connected to your Portaim account (Settings, see Account and settings). The assistant first shows what will happen: the store, the number of products, whether they arrive as Draft, and whether existing products are updated. When products already in your store would be overwritten, it shows how many and five of them before and after (title, price, status). Products arrive as Draft unless you tell the assistant otherwise, and Draft also hides the existing products an export updates by handle. Nothing is sent until you agree. Follow the result in Portaim’s Export step or ask the assistant.
Both exports wait until the Fix step has no errors left.
Remove an assistant’s access
In Portaim, open Settings and find Connected AI apps. Each app shows when you connected it. Click Remove access and confirm: the app’s next request is refused, and it asks you to allow it again.
Good to know
- Your plan’s monthly imports and rows count the same whether you import in the app or through an assistant.
- An assistant can make up to 60 requests a minute and 600 an hour for your Portaim account. Past that, Portaim asks it to wait.
- Portaim’s mapping and the Fix step’s checks still decide what is valid. Portaim refuses a column, field or category that does not exist, and re-checks every value the assistant writes.
- Values the assistant writes in the Fix step replace the old ones. There is no undo for them; ask the assistant, or edit the cell in the app, to change one again.
- Deleting rows, and asking Portaim’s own AI to map again or suggest values, happen in the app.
- Trial visitors without an account cannot connect an assistant. A free account can.
What to do next
Start with a supplier file link and ask the assistant to import it, then open the link it returns to see the import in Portaim. The guide Shopify MCP server: bulk import products with Claude or ChatGPT walks through a whole supplier file this way, and compares Portaim’s server with Shopify’s own connector. The Getting started tutorial walks through the same steps in the app.