Swell MCP Server

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

Local serverstdioTypeScript

What is the Swell MCP MCP server?

Model Context Protocol server for Swell e-commerce platform integration with AI assistants. Exposed over MCP by the swell mcp mcp server, that capability becomes something an assistant can invoke while it works, not something you go and do afterwards.

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

Adding it to your client

Installation goes through your MCP client rather than a global install: point it at swell-mcp on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

Its toolset

Everything the assistant can do here goes through one of these:

  • swell_list_products — List products with filtering and pagination
  • swell_get_product — Get detailed product information
  • swell_search_products — Search products with multiple criteria
  • swell_check_inventory — Check product inventory levels
  • swell_list_orders — List orders with filtering options
  • swell_get_order — Get detailed order information
  • swell_update_order_status — Update order status
  • swell_list_customers — List customers with search capabilities
  • swell_get_customer — Get detailed customer information
  • swell_search_customers — Search customers with multiple criteria
  • Purpose — MCP tool definitions that AI assistants can invoke
  • Implementation — Zod schema validation with structured responses

Configuration

You will need 5 environment variables: DEBUG, SWELL_STORE_ID, SWELL_SECRET_KEY, TRANSPORT_MODE, PORT. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

  • 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:

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 14 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Swell MCP.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the swell mcp mcp server does with a few real requests.

When to reach for it

Among the payments and commerce options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Swell MCP's toolset — swell_list_products, swell_get_product, swell_search_products and 11 more — is a fair guide to whether it matches your workflow. It is maintained by devkindhq; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Swell MCP's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Available tools

ToolWhat it does
swell_list_productsList products with filtering and pagination
swell_get_productGet detailed product information
swell_search_productsSearch products with multiple criteria
swell_check_inventoryCheck product inventory levels
swell_list_ordersList orders with filtering options
swell_get_orderGet detailed order information
swell_update_order_statusUpdate order status
swell_list_customersList customers with search capabilities
swell_get_customerGet detailed customer information
swell_search_customersSearch customers with multiple criteria
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

How to install the Swell MCP MCP server

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

Configuration as documented by the project. Restart the client after saving.

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
DEBUGConfiguration value read at startup.Optional
SWELL_STORE_IDConfiguration value read at startup.Optional
SWELL_SECRET_KEYCredential the server authenticates with.Yes
TRANSPORT_MODEConfiguration value read at startup.Optional
PORTConfiguration value read at startup.Optional

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

It connects Swell MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 14 tools (swell_list_products, swell_get_product, swell_search_products, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Swell MCP directly.