How to connect an AI application to PrestaShop MCP Server?
PrestaShop MCP Server lets you interact with your store through your AI application. Before using it for the first time, you need to connect your AI application to the MCP server. This setup takes just a few minutes and only needs to be done once.
Table of contents
Connection steps
The connection steps vary by AI application but generally include:
- Creating a custom connector in your AI application and providing the server URL from the PrestaShop MCP Server configuration page
- Adding the connector to your current conversation
Note: Depending on your AI application and permissions, you may not be able to create a custom connector. If that's the case, contact your AI application admin.
ChatGPT
Follow these steps to connect ChatGPT to PrestaShop MCP Server.
Note: Only paid ChatGPT versions support MCP connectors. If you have a Pro, Business, or Enterprise license, you'll need Admin permissions to use PrestaShop MCP Server.
Step 1: Turn on developer mode
To connect ChatGPT to PrestaShop MCP Server, your will first need to turn on Developer mode in ChatGPT.
To do this, navigate to:
Settings → Apps & Connectors → Advanced settings → Turn on Developer mode
Step 2 : Create a new connector
Once Developer mode is on, you will have an option to Create a new connector in the Apps & Connectors page.
To create a new connector:
- Give your connector a name
- Provide MCP Server URL (found in PrestaShop MCP Server Configuration page)
- Keep OAuth as the authentication method
- Understand and agree that adding unverified custom MCP servers poses risks
During authentication, you'll be prompted to log into your PrestaShop SSO. If might see a brief error popup, don't worry—this is normal.
For authentication to succeed, the email you use must be listed on the Members page in the PrestaShop MCP Server configuration. If it's not there, you can add it.
The connector page displays all available actions for that connector.
Step 3: Make sure the connector is added to the conversation
Once your PrestaShop connector is created, start a new chat and add the connector to the conversation. You'll need to add it to each new conversation.
To make sure everything works, you can ask ChatGPT if he is connected to your store.
You can ask it to execute one action. When doing so, ChatGPT will ask for permission, which your can Confirm each time or Remember for this conversation.
Claude Desktop
Follow these steps to connect Claude Desktop to PrestaShop MCP Server.
Note: Claude Desktop (web version) supports MCP servers. Depending on your organization's settings, you may need Admin permissions to configure MCP servers at the organization level.
Step 1: Add your MCP server to the admin configuration
To connect Claude Desktop to PrestaShop MCP Server, an administrator must first add the server to the organization configuration.
Navigate to the admin settings and add a new MCP server:
- Provide the MCP Server URL (found in PrestaShop MCP Server Configuration page)
- Configure the authentication method (OAuth)
This makes the PrestaShop MCP Server available to users in your organization.
Step 2: Connect to the MCP server from your user settings
Once the MCP server is added by an administrator, users can connect to it from their personal settings.
Navigate to your user settings and authenticate to the PrestaShop MCP Server:
- Select the PrestaShop MCP Server from available servers
- Click to "connect" button
You'll be directed to log into your PrestaShop SSO. For authentication to succeed, the email you use must be listed on the Members page in the PrestaShop MCP Server configuration. If it's not there, you can add it.
Step 3: Use the connector in your conversation
Once authenticated, the PrestaShop MCP Server tools will be available in your conversations. Claude will automatically use these tools when relevant to your requests.
To verify the connection, you can ask Claude if it has access to your PrestaShop store. When Claude needs to execute an action, it will ask for your permission.
Claude Code
Follow these steps to connect Claude Code to PrestaShop MCP Server.
Note: Claude Code is a CLI tool that brings Claude directly into your terminal. Make sure you have Claude Code installed and configured.
Step 1: Add your MCP server to your configuration
To add PrestaShop MCP Server to Claude Code, use the claude mcp add command with the HTTP transport option:
claude mcp add --transport http YourMcpName https://your-awesome-domain.com/mcp
Replace YourMcpName with your preferred connector name and https://your-awesome-domain.com/mcp with your server URL from the PrestaShop MCP Server configuration page.
Step 2: Authenticate to your MCP server
After adding the server configuration, you need to authenticate to your PrestaShop MCP Server.
To do this:
- Run the
claudecommand to start Claude Code - Type
/mcpand press ENTER - Press ENTER again to select the PrestaShop MCP Server you added previously
- Choose the "Authenticate" option
You'll be directed to log in through your PrestaShop SSO. For authentication to succeed, make sure your email is listed on the Members page in the PrestaShop MCP Server configuration. If it's not there, you can add it.
Step 3: Verify your tools are available
Once authenticated, you can verify that the PrestaShop MCP Server tools are discovered and available to Claude Code.
To do this:
- Type
/mcpand press ENTER - Press ENTER again to select the PrestaShop MCP Server you added previously
- Choose the "View tools" option
This will display all available tools from your PrestaShop MCP Server. The tools will be automatically available in your Claude Code sessions. Ask Claude to perform store-related tasks, and it will use the appropriate tools as needed.
Dust.tt
Follow these steps to connect Dust.tt to PrestaShop MCP Server.
Note: Dust.tt is a collaborative AI assistant platform. You may need specific permissions in your Dust workspace to add custom MCP servers.
Step 1: Connect MCP to your space
To add PrestaShop MCP Server to Dust, navigate to your "spaces" settings and click to "add tools" button.
Provide the server URL from the PrestaShop MCP Server configuration page, set the authentication method to "Automatic", and click the Save button.
During authentication, you'll be prompted to log into your PrestaShop SSO. For authentication to succeed, the email you use must be listed on the Members page in the PrestaShop MCP Server configuration.
Step 2: Add MCP source to the conversation
Once your PrestaShop MCP Server is connected to your Dust space, you need to add it for specific conversations.
When creating or editing a conversation, add the PrestaShop MCP source to make the tools available. The assistant will then be able to interact with your PrestaShop store using the available tools.
Gemini CLI
Follow these steps to connect Gemini CLI to PrestaShop MCP Server.
Note: Gemini CLI is Google's command-line interface for interacting with Gemini models. Make sure you have the Gemini CLI installed and configured with your API key.
Step 1: Add your MCP server to your configuration
To add PrestaShop MCP Server to Gemini CLI, use the gemini mcp add command with the HTTP transport option:
gemini mcp add "YourMcpName" https://www.your-awesome-domain.com/mcp -t http
Replace YourMcpName with your preferred connector name (e.g., "PrestaShop") and https://www.your-awesome-domain.com/mcp with your server URL from the PrestaShop MCP Server configuration page.
Step 2: Configure the correct scope for your server
After adding the MCP server, you need to configure the appropriate OAuth scopes to define which operations the server can perform.
Edit your Gemini CLI configuration file:
nano ~/.gemini/settings.json
Add the following OAuth configuration to your PrestaShop MCP Server entry:
"oauth": {
"scopes": ["mcp.discover", "mcp.read", "mcp.write", "email"]
}
This ensures that the MCP server has the necessary permissions to discover tools, read and write data from your PrestaShop store, and access your email for authentication.
Step 3: Authenticate to your MCP server
Once the scope is configured, you need to authenticate to your PrestaShop MCP Server.
To do this:
- Run the
geminicommand to start Gemini CLI - Type
/mcp auth YourMcpName(replaceYourMcpNamewith the name you used in Step 1) and press ENTER
You'll be directed to log in through your PrestaShop SSO. For authentication to succeed, make sure your email is listed on the Members page in the PrestaShop MCP Server configuration. If it's not there, you can add it.
Step 4: Verify the MCP server is active
After authentication, you can verify that the PrestaShop MCP Server is properly added and active in Gemini CLI.
To do this:
- Run the
geminicommand to start Gemini CLI (if not already running) - Type
/mcp listand press ENTER
This will display all available tools from your PrestaShop MCP Server. The tools will be automatically available in your Gemini CLI sessions. You can ask Gemini to perform operations on your PrestaShop store, and it will use the appropriate tools as needed.
You are all set! 🎉