Products API MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Products API MCP Server show me smartphones under $500 with rating above 4.5"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
Related MCP server: openfoodfacts-mcp-server
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 + PmacOS:
Cmd + Shift + P
Type "Configure MCP Server" and select it
Add the appropriate configuration based on your setup:
For Windows (without WSL) or Linux:
{
"mcpServers": {
"postgres": {
"command": "node",
"args": ["ABSOLUTE_PATH_TO_PROJECT/src/index.ts"]
}
}
}For WSL Users:
{
"mcpServers": {
"postgres": {
"command": "wsl.exe",
"args": [
"-e",
"ABSOLUTE_PATH_TO_NODE/.nvm/versions/node/v23.11.0/bin/node",
"ABSOLUTE_PATH_TO_PROJECT/src/index.ts"
]
}
}
}To find your Node.js path, run:
which nodeLicense
This project is licensed under the MIT License.
Available Tools
1 toolget_productsC
Get a list of products with optional filtering and pagination.
Inputs: id, q, category, brand, +4 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool, there is no possibility of ambiguity or overlap between tools. The single tool has a clear and distinct purpose of retrieving products with filtering and pagination capabilities.
The single tool name 'get_products' follows a consistent verb_noun pattern, and with only one tool, there is no inconsistency to evaluate. The naming is straightforward and predictable.
A server named 'Products API MCP Server' suggests a domain requiring CRUD operations, but it only provides a single 'get' tool. This is too few for the apparent scope, as it lacks create, update, delete, or other product-related operations, making it severely under-scoped.
The tool set is severely incomplete for a products API domain. It only supports retrieving products, with no coverage for creating, updating, deleting, or managing other aspects like categories or inventory. This will cause significant agent failures in typical product management workflows.
Maintenance
Related MCP Connectors
MCP server for Product Management
This MCP server provides seamless access to Malaysia's government open data, including datasets, w…
Unified MCP server for 70+ eCommerce platforms: products, orders, customers, and more.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA small MCP server that manages a product inventory using SQLite, providing CRUD operations through exposed MCP tools.-
- AlicenseAqualityDmaintenanceMCP server for Open Food Facts, enabling food product lookup by barcode, search, nutrition facts, allergen checks, and eco-scores without an API key.812 PyPIMIT
- AlicenseNot gradedqualityBmaintenanceMCP server for reading, querying, and filtering local JSON files with extended JSONPath syntax, supporting sorting, aggregations, and complex conditions.174 npm2MIT
- AlicenseAqualityDmaintenanceAn MCP server that provides tools to interact with the JSONPlaceholder fake REST API for testing and prototyping, supporting CRUD operations on posts, comments, todos, and users.763 npmMIT