My First MCP Project
This project demonstrates the use of MCP (Model Context Protocol) server that retrieves data from the DummyJSON API. Built using Cursor IDE with the default agent.
Table of Contents
Features
Products API Tools
- get_products
- Description: Get a list of products with optional filtering and pagination
- Parameters:
id
(string, optional): Filter products by IDq
(string, optional): Filter products by titlecategory
(string, optional): Filter products by categorybrand
(string, optional): Filter products by brandprice
(number, optional): Filter products by pricerating
(number, optional): Filter products by ratingskip
(number, optional, default: 0): Number of products to skiplimit
(number, optional, default: 10): Maximum number of products to return
- Returns: A list of products matching the specified criteria
- Data Source: DummyJSON API (https://dummyjson.com/products)
Installation and Usage
Prerequisites
- Node.js (version 23 or higher)
- Docker and Docker Compose
- WSL2 (if using Windows)
Cursor Configuration
To configure this MCP server with Cursor:
- Open Cursor
- Press:
- Windows/Linux:
Ctrl + Shift + P
- macOS:
Cmd + Shift + P
- Windows/Linux:
- Type "Configure MCP Server" and select it
- Add the appropriate configuration based on your setup:
For Windows (without WSL) or Linux:
For WSL Users:
To find your Node.js path, run:
License
This project is licensed under the MIT License.
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
An MCP server that retrieves product data from the DummyJSON API, supporting filtering by various parameters like ID, title, category, brand, price and rating.
Related MCP Servers
- AsecurityFlicenseAqualityA lightweight, stateless MCP server utilizing Puppeteer for web searches, returning structured JSON results, easily integratable with other MCP-enabled systems.Last updated -11,133JavaScript
- AsecurityAlicenseAqualityAn API server that implements the Model Completion Protocol (MCP) for Cryo blockchain data extraction, allowing users to query Ethereum blockchain data through any MCP-compatible client.Last updated -586PythonMIT License
- -securityAlicense-qualityAn MCP server that enables fetching web content using the Node.js undici library, supporting various HTTP methods, content formats, and request configurations.Last updated -668TypeScriptMIT License
- AsecurityFlicenseAqualityAn MCP server implementation that enables interaction with the Unstructured API, providing tools to list, create, update, and manage sources, destinations, and workflows.Last updated -3928