Swell MCP Server

Model Context Protocol server for Swell e-commerce platform integration with AI assistants

Local serverstdioTypeScript

What is the Swell MCP Server?

Model Context Protocol server for Swell e-commerce platform integration with AI assistants

What it actually does

A Model Context Protocol server that integrates AI assistants with Swell's e-commerce platform. Built on a production-ready TypeScript foundation, it provides comprehensive access to Swell stores for product management, order processing, and customer management through both CLI and MCP tool interfaces.

Model Context Protocol (MCP) is an open standard for securely connecting AI systems to external tools and data sources. This server implements the MCP specification to provide AI assistants with comprehensive access to Swell's e-commerce platform, enabling intelligent store management and customer service automation.

  • Swell E-commerce Integration — Complete access to Swell's API for products, orders, and customers
  • Dual Transport Support — STDIO and HTTP transports for AI assistant and web integration
  • 5-Layer Architecture — Clean separation between CLI, tools, controllers, services, and utilities
  • Type Safety — Full TypeScript implementation with Zod schema validation
  • Advanced HTTP Client — Built on swell-node SDK with connection pooling and retry logic
  • Comprehensive Testing — Unit and integration tests with Swell API mocking

Configuration

  • Node.js 18 or newer - VS Code, Cursor, Windsurf, Claude Desktop, or any other MCP client - Swell store credentials (Store ID and Secret Key) Standard config works in most MCP clients: Claude Desktop Follow the MCP install guide, use the standard config above. Add to your claude_desktop_config.json:

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
swell_list_productsDescription: List products with filtering and pagination
swell_get_productDescription: Get detailed product information
swell_search_productsDescription: Search products with text queries and optional filters
swell_check_inventoryCheck product inventory levels
swell_list_ordersDescription: List orders with filtering options
swell_get_orderDescription: Get detailed order information
swell_update_order_statusDescription: Update the status of an order (with optional notes)
swell_list_customersDescription: List customers with search and filtering options
swell_get_customerDescription: Get detailed customer information (profile + optional order history)
swell_search_customersDescription: Search customers using text queries (name, email, phone)
PurposeMCP tool definitions that AI assistants can invoke
ImplementationZod schema validation with structured responses
Exampleswell_list_products tool with filtering and pagination options
PatternDefine schema → Validate args → Call controller → Format MCP response
ParameterscustomerId plus editable customer fields
swell_check_stockDescription: Check current stock levels and stock status for a product
swell_update_productDescription: Update product metadata and attributes (name, description, SEO, tags, categories, attributes, active, sku, etc.)
swell_update_product_stockDescription: Adjust stock levels or update stock tracking settings
swell_update_product_pricingDescription: Update product pricing (regular price, sale price, currency)
swell_update_customerDescription: Update customer records (name, email, phone, tags, groups, marketing opt-ins, notes)

How to install the Swell MCP Server

{
  "mcpServers": {
    "swell-mcp": {
      "command": "npx",
      "args": [
        "swell-mcp"
      ],
      "env": {
        "DEBUG": "false",
        "SWELL_STORE_ID": "your_store_id",
        "SWELL_SECRET_KEY": "YOUR_SWELL_SECRET_KEY"
      },
      "disabled": false
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

  • Node.js 18 or newer - VS Code, Cursor, Windsurf, Claude Desktop, or any other MCP client - Swell store credentials (Store ID and Secret Key) Standard config works in most MCP clients: Claude Desktop Follow the MCP install guide, use the standard config above. Add to your claude_desktop_config.json:
VariableDescriptionRequired
DEBUGDeclared in the maintainer’s client configuration.Optional
SWELL_STORE_IDDeclared in the maintainer’s client configuration.Yes
SWELL_SECRET_KEYDeclared in the maintainer’s client configuration.Yes

Example prompts to try

  • “Use Swell MCP to swell list products.”
  • “Use Swell MCP to swell get product.”
  • “Use Swell MCP to swell search products.”

Frequently asked questions

Model Context Protocol server for Swell e-commerce platform integration with AI assistants Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.