Hosted MCP Server for Magento 2

AI Magento 2 e-commerce Integration

Capabilities

Host MCP Servers using FlowHunt

FlowHunt’s platform lets users create AI Agents for any service without the usual hassles of MCP servers. Host MCP servers for any service, automate workflows, connect with external tools, and use analytics to improve performance. FlowHunt makes AI Agent creation simple and efficient for all users.

Build AI Agents Visually
Build AI Agents for any service without MCP server complexity.
MCP Server Hosting
Host MCP servers for any service with easy integration.
Workflow Automation
Automate workflows and task management.
Tool Integrations
Connect with external services to expand functionality.
Performance Analytics
Use insights to enhance AI Agent performance.

Set Up Your Magento 2 Environment

Required Magento 2 API Scopes for FlowHunt

Before creating your API credentials, it’s important to understand the required scopes (permissions) that FlowHunt needs to access your Magento 2 store:

Minimum Required Scope

  • Magento_Store::store - Required for FlowHunt to validate the provided credentials when integrating with your store.

Additional Scopes (Based on Your Use Case)

Depending on your specific automation needs, you may want to grant FlowHunt access to the following scopes:

ScopePurposeRequired For
Magento_Backend::adminAdministrative accessFull store management capabilities
Magento_Catalog::productsProduct managementCreating, updating, and managing products
Magento_Catalog::categoriesCategory managementManaging product categories
Magento_Sales::salesSales data accessViewing and managing sales information
Magento_Sales::orderOrder managementCreating, updating, and managing orders
Magento_Customer::customerCustomer managementManaging customer accounts and data
Magento_CatalogInventory::cataloginventoryInventory managementManaging stock levels and inventory

🔒 Security Note: Only grant the scopes that you actually need for your FlowHunt workflows. This follows the principle of least privilege and helps maintain your store’s security.

Create Your Magento 2 API Credentials

Follow these detailed steps to create API credentials with the proper scopes:

  1. Access Magento 2 Admin Panel: Log in to your Magento 2 Admin Panel.

  2. Navigate to Integrations: Go to System > Extensions > Integrations.

  3. Add New Integration: Click Add New Integration.

  4. Configure Integration Details:

    • Name: Enter a descriptive name (e.g., FlowHunt Integration)
    • Email: Provide a contact email address
    • Callback URL: Enter a secure HTTPS URL (can be a placeholder like https://your-domain.com/callback)
    • Identity Link URL: Enter a secure HTTPS URL (can be a placeholder like https://your-domain.com/identity)
    • Your Password: Enter your current admin password to confirm your identity
  5. Configure API Permissions:

    • Click the API tab
    • For minimum access: Check only Magento_Store::store
    • For full functionality: Select the additional scopes based on your needs:
      • Check Magento_Backend::admin for administrative access
      • Check Magento_Catalog::products for product management
      • Check Magento_Catalog::categories for category management
      • Check Magento_Sales::sales and Magento_Sales::order for order management
      • Check Magento_Customer::customer for customer management
      • Check Magento_CatalogInventory::cataloginventory for inventory management
  6. Save Integration: Click Save to create the integration.

  7. Activate Integration:

    • Return to the Integrations grid
    • Find your new integration and click the Activate link
    • Review the permissions and click Allow
  8. Copy Credentials: After activation, you’ll see four important credentials:

    • Consumer Key
    • Consumer Secret
    • Access Token
    • Access Token Secret

    Store these securely in a password manager for use in FlowHunt.

    Magento 2 API credentials after activation

💡 Pro Tip: The Access Token is what you’ll primarily use with FlowHunt. Keep all credentials secure and never share them publicly. You can regenerate these credentials anytime by deactivating and reactivating the integration.

Connect to FlowHunt Dashboard

  1. Access FlowHunt: Log in to your FlowHunt.io dashboard .

  2. Navigate to Integrations: Find the “Integrations” section in the left sidebar.

  3. Navigate to Integrations: Find the “Integrations” section in the left sidebar.

  4. Select Magento 2: Click on the Magento 2 integration option to begin the setup process.

    FlowHunt integrations page
Logo

Ready to grow your business?

Start your free trial today and see results within days.

Configure the Magento 2 Integration

Enter Connection Details

In the Magento 2 integration setup page, provide the following information:

FieldDescriptionExample
Magento Store URLYour Magento 2 store URL (without /admin)https://your-store.com/
API Access TokenThe Access Token generated in Magento 2 Adminyour-secure-access-token
Magento 2 integration configuration form
  1. Integrate: Click Integrate to complete the setup process.

Deploy the Magento 2 MCP Server

Add the MCP Server

  1. Navigate to MCP Servers: Go to the “MCP Servers” tab in your FlowHunt dashboard.

  2. Add New Server: Click “Add New MCP Server”.

  3. Select Magento 2: Choose “Magento 2 MCP Server” from the available options.

  4. Configure Server Tools: Select the tools you want to enable for your MCP server.

    MCP INTEGRATION

    list_products
    get_product
    create_product
    update_product
    list_orders
    get_order
    create_order
    list_customers
    get_customer
    create_customer

📝 Note: You can modify or add tools later based on your evolving automation needs.

Connect MCP Server to Client

Configure the MCP Client

  1. Access MCP Tab: Navigate to the “MCP” tab in your FlowHunt Dashboard.
  2. Choose Client: Select your preferred MCP server:
    • (List of the created MCP servers)
      Magento 2 authentication process
  3. Navigate to Connect Tab: Copy the JSON Configuration.
{
  "mcp": {
    "transport": "streamable_http",
    "url": "https://mcp.flowhunt.io/••••••••"
  }
}

Create AI-Powered Workflows

Option A: Quick Start with Preconfigured Flow

Best for: Getting started quickly with proven automation patterns

  1. Generate Flow: In your MCP Server configuration, click “Create Preconfigured Flow”.

  2. Select Template: Choose “AI Agent with MCP” to create a ready-to-use workflow.

    Preconfigured AI Agent flow with Magento 2 MCP

  3. Customize Logic: Use FlowHunt’s visual flow builder to tailor the automation:

    • Set up event creation for automated meeting scheduling.
    • Configure automatic event updates for schedule changes.
    • Implement event searches for quick calendar lookups.
    • Create automated reminders for upcoming events.
  4. Activate: Save and activate your flow to begin automated operations.

Option B: Custom Integration

Best for: Specific automation requirements or existing workflow enhancement

  1. Create/Edit Flow: Open FlowHunt’s flow builder and start with a new or existing flow.
  2. Add MCP Component: Drag the “MCP Server Component” onto your canvas.
  3. Configure Connection: Paste your MCP client configuration:
{
  "mcp": {
    "transport": "streamable_http",
    "url": "https://mcp.flowhunt.io/••••••••"
  }
}
  1. Design Workflow: Create custom logic that leverages the MCP server tools:

    • List calendar events for schedule analysis.
    • Create events for automated task scheduling.
    • Update event details based on external triggers.
    • Delete outdated events to keep calendars clean.
    FlowHunt visual flow builder with MCP component
  2. Deploy: Save your configuration and activate the flow.

List of Prompts

Here are practical examples demonstrating how to use the Magento 2 MCP Server with your AI agents. These prompts showcase real-world e-commerce management scenarios:

Product Management and Catalog

List all products in my Magento 2 store that are currently out of stock and need reordering
Get detailed information about product SKU 'LAPTOP-PRO-15' including price, inventory levels, and product attributes
Create a new product called 'Wireless Bluetooth Headphones' with SKU 'AUDIO-BT-001', price $79.99, and qty 100 units in stock
Update product SKU 'PHONE-CASE-001' to change the price from $19.99 to $24.99 and add it to the 'Featured Products' category
Show me all products in the 'Electronics' category that have been added in the last 30 days
Find all products with prices between $100 and $500 that have customer ratings above 4 stars

Order Management and Fulfillment

List all orders placed in the last 24 hours with status 'pending' that need to be processed
Get complete details for order #000012345 including customer information, items ordered, shipping address, and payment status
Create a new order for customer ID 789 with items: 2x SKU-ABC-001 and 1x SKU-DEF-002, shipping to their default address
Show me all orders from the last 7 days with total value over $500 that are ready for shipment
Find orders that have been in 'processing' status for more than 3 days and may need attention

Customer Management

List all customers who registered in the last month and have made at least one purchase
Get detailed customer information for customer ID 456 including order history, wishlist, and saved addresses
Create a new customer account for email john.smith@example.com with name 'John Smith' and send a welcome email
Find all customers from California who have purchased more than $1,000 worth of products in the last year
Show me VIP customers who have lifetime order values exceeding $5,000

Inventory and Stock Management

Check current stock levels for all products in the 'Summer Collection' and alert me if any are below 10 units
Update inventory for SKU 'SHIRT-BLUE-M' to set quantity to 150 units and mark as 'in stock'
List all products that are set to 'out of stock' but actually have inventory quantity greater than 0

Sales Analytics and Reporting

Generate a sales report for the last month showing total revenue, number of orders, and average order value
Show me the top 10 best-selling products from the last quarter by revenue and units sold
Compare sales performance between this month and last month for the 'Electronics' category
List all abandoned carts from the last 7 days with cart value over $100 for follow-up emails

Promotional and Pricing Management

Create a special price rule for product SKU 'WINTER-COAT-001' setting a 25% discount valid for the next 14 days
List all products currently on sale and show their original vs. discounted prices
Update bulk pricing for all products in the 'Clearance' category to apply an additional 30% discount

Multi-Store and International Operations

Show me products that are enabled in the US store but disabled in the EU store
Update product visibility for SKU 'REGION-SPECIFIC-001' to make it available only in specific store views

Customer Service and Support

Retrieve order details for customer email jane.doe@example.com who called about a delayed shipment
Look up all returns and refunds processed in the last 30 days and identify any patterns or issues
Find all orders with status 'on hold' that may require customer contact to resolve payment or shipping issues

These prompts demonstrate the versatility of the Magento 2 MCP integration across common e-commerce workflows including inventory management, order processing, customer relationship management, and sales analytics.

Conclusion

Integrating Magento 2 MCP Server with FlowHunt.io creates a powerful foundation for intelligent e-commerce automation. Whether you’re streamlining product management, automating order processing, or enhancing customer management, this integration empowers your AI agents to work seamlessly with your critical Magento 2 data.

Start with a simple automation and gradually expand your workflows as you become more comfortable with the platform. The combination of Magento 2’s robust e-commerce capabilities and FlowHunt’s AI-driven automation will transform how you manage your online store.

Ready to get started? Begin your integration today and unlock the full potential of AI-powered e-commerce automation!

Contact us to host your MCP Server in FlowHunt

FlowHunt provides an additional security layer between your internal systems and AI tools, giving you granular control over which tools are accessible from your MCP servers. MCP servers hosted in our infrastructure can be seamlessly integrated with FlowHunt's chatbot as well as popular AI platforms like ChatGPT, Claude, and various AI editors.

Connect FlowHunt with Magento 2

Unlock the power of AI-driven automation for your Magento 2 store. Easily manage products, orders, and customer data from within FlowHunt.

Learn more

Hosted MCP Server for Microsoft Outlook Contacts
Hosted MCP Server for Microsoft Outlook Contacts

Hosted MCP Server for Microsoft Outlook Contacts

The Microsoft Outlook Contacts MCP Server enables seamless integration between AI tools and Microsoft Outlook Contacts, allowing automated workflows to manage c...

5 min read
AI Microsoft Outlook Contacts +5
Hosted MCP Server for API-Sports
Hosted MCP Server for API-Sports

Hosted MCP Server for API-Sports

The API-Sports MCP Server enables seamless integration between AI tools and API-Sports, allowing automated workflows to manage football data, including teams, f...

6 min read
AI API-Sports +5
Hosted MCP Server for Microsoft Calendar
Hosted MCP Server for Microsoft Calendar

Hosted MCP Server for Microsoft Calendar

The Microsoft Calendar MCP Server enables seamless integration between AI tools and Microsoft Calendar, allowing automated workflows to manage events, calendars...

5 min read
AI Microsoft Calendar +5