E-commerce MCP Server

E-commerce MCP Server

Provides tools to query e-commerce data including customer information, order details, and product inventory through a Model Context Protocol interface with test data.

Category
Visit Server

README

E-commerce MCP Server

A simple Model Context Protocol (MCP) server with test data.

Setup

  1. Create virtual environment and install dependencies:

    uv venv
    source .venv/bin/activate  # On Windows: .venv\Scripts\activate
    uv sync
    
  2. Configure MCP in VS Code:

    • The json config to import into VS Code Augment Extension is configured in .vscode/example-mcp.json
    • Update the python and args paths with the absolute path to your project
    • Restart VS Code or reload the MCP server after setup (Command Palette Developer: Reload Window)

Available Tools

The server provides 5 e-commerce tools:

  • get_customer_info - Get customer details by ID
  • get_customer_ids_by_name - Search for customer IDs by name
  • get_order_details - Get order information by order ID
  • get_orders_by_customer_id - Get all orders for a customer
  • check_inventory - Search product inventory by name

Test Data

Customers

  • Alice Johnson (CUST123) - alice@example.com, 555-1234
  • Bob Smith (CUST456) - bob@example.com, 555-5678

Orders

  • ORD1001 - Alice's order (Shipped, $89.99)
  • ORD1015 - Alice's order (Processing, $45.50)
  • ORD1022 - Bob's order (Delivered, $120.00)

Products

  • SKU100 - Wireless Mouse ($29.99, stock: 42)
  • SKU200 - Keyboard ($59.99, stock: 18)
  • SKU300 - USB-C Cable ($15.50, stock: 77)

Example Commands

Try these queries with the MCP server:

Get customer info for Bob Smith
Show me order ORD1001
Check inventory for mouse
Get all orders for customer CUST123
Find customer ID for Alice Johnson

Running Tests

pytest src/tests/test_server.py -v

Directions to import the MCP server into VS Code Augment Extension

  1. Open the VS Code Augment Extension
  2. Click the Setting icon(Gear) and select settings
  3. Click on the tools section
  4. Search for and click import from json
  5. Paste the JSON from .vscode/example-mcp.json into the dialog box
  6. Click import
  7. Restart VS Code Command Palette Developer: Reload Window

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured