Store (E-Commerce)

Store (E-Commerce)

n0119566

Connects to e-commerce databases to retrieve customer information and order data through a REST API interface.

Provides a bridge to e-commerce data for retrieving customer information, looking up orders by customer ID, and searching customers by name through a TypeScript-based REST API

148 views1Local (stdio)

What it does

  • Retrieve customer information by ID
  • Look up order history for specific customers
  • Search customers by name
  • Query e-commerce database records
  • Access order details and status

Best for

E-commerce platform developersCustomer service representativesOrder management systemsSales analytics and reporting
TypeScript-based REST APIDirect database integration

About Store (E-Commerce)

Store (E-Commerce) is a community-built MCP server published by n0119566 that provides AI assistants with tools and capabilities via the Model Context Protocol. TypeScript REST API ecommerce API, customer data API and orders API — retrieve customers, search by name, and lookup ord It is categorized under databases, developer tools.

How to install

You can install Store (E-Commerce) in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.

License

Store (E-Commerce) is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.

MCP Store

A Model Context Protocol (MCP) server for retrieving customer and order information from a store API.

Overview

This project implements a Model Context Protocol server that provides tools for interacting with a store's customer and order data. It allows Claude to:

  • Get a list of all customers
  • Search for customers by name
  • Retrieve all orders for a specific customer

Prerequisites

  • Node.js (latest LTS version recommended)
  • A local API server running on http://localhost:3000 that provides customer and order data

Installation

# Clone the repository
git clone <repository-url>
cd mcp-store

# Install dependencies
npm install

# Build the project
npm run build

Usage

The MCP server provides the following tools:

get-all-customers

Returns a list of all customers in the store database.

get-customer-by-name

Searches for customers by name and returns all matching results.

Parameters:

  • customerName: The name to search for

get-all-orders-by-customer

Retrieves all orders placed by a specific customer.

Parameters:

  • customerId: The unique identifier for the customer

Data Models

The server works with the following data models:

Customer

interface ICustomer {
  name: string;
  email: string;
  phone?: string;
  address?: {
    street?: string;
    city?: string;
    state?: string;
    zip?: string;
    country?: string;
  };
  createdAt?: Date;
}

Order

interface IOrder {
  customer: string;
  items: IOrderItem[];
  totalAmount: number;
  status?: "pending" | "processing" | "shipped" | "delivered" | "cancelled";
  paymentMethod?: "credit_card" | "debit_card" | "paypal" | "cash";
  createdAt?: Date;
}

interface IOrderItem {
  product: string;
  quantity: number;
  price: number;
}

Product

interface IProduct {
  name: string;
  description?: string;
  price: number;
  category?: string;
  inStock?: boolean;
  createdAt?: Date;
}

Development

To work on this project:

  1. Make changes to the source files in the src directory
  2. Build the project with npm run build

License

ISC

Alternatives

Related Skills

Browse all skills
ui-design-system

UI design system toolkit for Senior UI Designer including design token generation, component documentation, responsive design calculations, and developer handoff tools. Use for creating design systems, maintaining visual consistency, and facilitating design-dev collaboration.

18
fullstack-developer

Modern web development expertise covering React, Node.js, databases, and full-stack architecture. Use when: building web applications, developing APIs, creating frontends, setting up databases, deploying web apps, or when user mentions React, Next.js, Express, REST API, GraphQL, MongoDB, PostgreSQL, or full-stack development.

11
ios-developer

Develop native iOS applications with Swift/SwiftUI. Masters iOS 18, SwiftUI, UIKit integration, Core Data, networking, and App Store optimization. Use PROACTIVELY for iOS-specific features, App Store optimization, or native iOS development.

6
smithery-ai-cli

Find, connect, and use MCP tools and skills via the Smithery CLI. Use when the user searches for new tools or skills, wants to discover integrations, connect to an MCP, install a skill, or wants to interact with an external service (email, Slack, Discord, GitHub, Jira, Notion, databases, cloud APIs, monitoring, etc.).

6
ai-sdk

Answer questions about the AI SDK and help build AI-powered features. Use when developers: (1) Ask about AI SDK functions like generateText, streamText, ToolLoopAgent, embed, or tools, (2) Want to build AI agents, chatbots, RAG systems, or text generation features, (3) Have questions about AI providers (OpenAI, Anthropic, Google, etc.), streaming, tool calling, structured output, or embeddings, (4) Use React hooks like useChat or useCompletion. Triggers on: "AI SDK", "Vercel AI SDK", "generateText", "streamText", "add AI to my app", "build an agent", "tool calling", "structured output", "useChat".

6
api-documenter

Master API documentation with OpenAPI 3.1, AI-powered tools, and modern developer experience practices. Create interactive docs, generate SDKs, and build comprehensive developer portals. Use PROACTIVELY for API documentation or developer portal creation.

4