Model Context Protocol (MCP) server for Swell e-commerce platform integration with AI assistants
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add swell --env SWELL_STORE_ID='<SWELL_STORE_ID>' --env SWELL_SECRET_KEY='<SWELL_SECRET_KEY>' -- npx -y swell-mcp~/.codex/config.toml
[mcp_servers.swell]
command = "npx"
args = ["-y", "swell-mcp"]
env = { SWELL_STORE_ID = "<SWELL_STORE_ID>", SWELL_SECRET_KEY = "<SWELL_SECRET_KEY>" }
# codex mcp add swell --env SWELL_STORE_ID='<SWELL_STORE_ID>' --env SWELL_SECRET_KEY='<SWELL_SECRET_KEY>' -- npx -y swell-mcp~/.cursor/mcp.json
{
"mcpServers": {
"swell": {
"command": "npx",
"args": [
"-y",
"swell-mcp"
],
"env": {
"SWELL_STORE_ID": "<SWELL_STORE_ID>",
"SWELL_SECRET_KEY": "<SWELL_SECRET_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"swell": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"swell-mcp"
],
"env": {
"SWELL_STORE_ID": "<SWELL_STORE_ID>",
"SWELL_SECRET_KEY": "<SWELL_SECRET_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"swell": {
"command": "npx",
"args": [
"-y",
"swell-mcp"
],
"env": {
"SWELL_STORE_ID": "<SWELL_STORE_ID>",
"SWELL_SECRET_KEY": "<SWELL_SECRET_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"swell": {
"command": "npx",
"args": [
"-y",
"swell-mcp"
],
"env": {
"SWELL_STORE_ID": "<SWELL_STORE_ID>",
"SWELL_SECRET_KEY": "<SWELL_SECRET_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"swell": {
"command": "npx",
"args": [
"-y",
"swell-mcp"
],
"env": {
"SWELL_STORE_ID": "<SWELL_STORE_ID>",
"SWELL_SECRET_KEY": "<SWELL_SECRET_KEY>"
}
}
}
}Environment variables
SWELL_STORE_IDSWELL_SECRET_KEY
Replace the placeholders with your own credentials and keep them out of version control.