Skip to main content
Glama

Boilerplate MCP Server

by devkindhq
package.json3.22 kB
{ "name": "swell-mcp", "version": "1.0.0", "description": "Model Context Protocol server for Swell e-commerce platform integration with AI assistants", "main": "dist/index.js", "types": "dist/index.d.ts", "type": "commonjs", "repository": { "type": "git", "url": "https://github.com/devkindhq/swell-mcp.git" }, "bin": { "swell-mcp": "./dist/index.js" }, "scripts": { "build": "tsc", "prepare": "npm run build && node scripts/ensure-executable.js", "postinstall": "node scripts/ensure-executable.js", "clean": "rm -rf dist coverage", "test": "jest", "test:coverage": "jest --coverage", "lint": "eslint src --ext .ts --config eslint.config.mjs", "update:deps": "npx npm-check-updates -u && npm install --legacy-peer-deps", "format": "prettier --write 'src/**/*.ts' 'scripts/**/*.js'", "cli": "npm run build && node dist/index.js", "swell:stdio": "npm run build && TRANSPORT_MODE=stdio node dist/index.js", "swell:http": "npm run build && TRANSPORT_MODE=http node dist/index.js", "swell:inspect": "npm run build && (TRANSPORT_MODE=http node dist/index.js &) && sleep 2 && npx @modelcontextprotocol/inspector http://localhost:3000/mcp", "dev:stdio": "npm run build && npx @modelcontextprotocol/inspector -e TRANSPORT_MODE=stdio -e DEBUG=true node dist/index.js", "dev:http": "npm run build && DEBUG=true TRANSPORT_MODE=http node dist/index.js" }, "keywords": [ "mcp", "model-context-protocol", "swell", "ecommerce", "headless", "typescript", "devkind", "claude", "anthropic", "ai", "llm", "server", "stdio", "http", "cli", "mcp-server" ], "author": "Devkind", "license": "ISC", "engines": { "node": ">=18.0.0" }, "devDependencies": { "@eslint/js": "^9.35.0", "@semantic-release/changelog": "^6.0.3", "@semantic-release/exec": "^7.1.0", "@semantic-release/git": "^10.0.1", "@semantic-release/github": "^11.0.5", "@semantic-release/npm": "^12.0.2", "@types/cors": "^2.8.19", "@types/express": "^5.0.3", "@types/jest": "^30.0.0", "@types/node": "^24.3.1", "@typescript-eslint/eslint-plugin": "^8.43.0", "@typescript-eslint/parser": "^8.43.0", "axios-mock-adapter": "^2.0.0", "eslint": "^9.35.0", "eslint-config-prettier": "^10.1.8", "eslint-plugin-prettier": "^5.5.4", "jest": "^30.1.3", "prettier": "^3.6.2", "semantic-release": "^24.2.7", "ts-jest": "^29.4.1", "typescript": "^5.9.2", "typescript-eslint": "^8.43.0" }, "dependencies": { "@modelcontextprotocol/sdk": "^1.17.5", "commander": "^14.0.0", "cors": "^2.8.5", "dotenv": "^17.2.2", "express": "^5.1.0", "swell-node": "^6.0.3", "zod": "^3.25.76" }, "publishConfig": { "registry": "https://registry.npmjs.org/", "access": "public" }, "jest": { "preset": "ts-jest", "testEnvironment": "node", "setupFilesAfterEnv": [ "<rootDir>/src/utils/jest.setup.ts" ], "testMatch": [ "**/src/**/*.test.ts" ], "collectCoverageFrom": [ "src/**/*.ts", "!src/**/*.test.ts", "!src/utils/jest.setup.ts" ], "transform": { "^.+\\.tsx?$": [ "ts-jest", { "useESM": true } ] }, "moduleNameMapper": { "(.*)\\.(js|jsx)$": "$1" }, "extensionsToTreatAsEsm": [ ".ts" ] } }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/devkindhq/swell-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server