- Home
- MCP servers
- Fakestore
Fakestore
- typescript
0
GitHub Stars
typescript
Language
7 months ago
First Indexed
3 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"op-enny-mcp-server-fakestore": {
"command": "npx",
"args": [
"-y",
"mcp-server-fakestore"
]
}
}
}You run a Model Context Protocol (MCP) server that exposes the Fake Store API for AI assistants. It gives you complete access to products, carts, and users for demos, testing, and MCP development, with ready-to-use tooling and zero-configuration startup when using npm/npx.
How to use
Connect your MCP client to interact with the Fakestore MCP server. You can run the server locally and issue tools to fetch products, carts, and users, or perform simulated create/update/delete actions. Use the provided client configuration to register the Fakestore MCP server in your MCP client, then start asking questions or issuing actions like retrieving all products, getting a single product by ID, or querying carts and users.
Practical usage patterns include:
- Retrieve all products with optional limits and sorting.
- Get a specific product by ID to inspect details.
- List all carts or fetch carts for a particular user.
- Add or update entities in a simulated way that validates input but does not persist changes in the remote store.
How to install
Prerequisites: you need Node.js and npm (or npx) installed on your machine.
# Install the MCP Fakestore server via NPX (recommended)
npx -y mcp-server-fakestore
If you prefer to build from source, clone the project and install dependencies, then build the project.
git clone https://github.com/yourusername/mcp-server-fakestore.git
cd mcp-server-fakestore
npm install
npm run build
Configuration
Configure your MCP client to connect to the Fakestore MCP server. You can use either the Clover/Claude Desktop setup or Plugged.in, or run the server locally via NPX as shown.
{
"mcpServers": {
"fakestore": {
"command": "npx",
"args": ["-y", "mcp-server-fakestore"]
}
}
}
Claude Desktop configuration files can point to the Fakestore MCP server using the path specific to your OS.
# macOS
~/Library/Application Support/Claude/claude_desktop_config.json
# Windows
%APPDATA%/Claude/claude_desktop_config.json
Plugged.in users can add a Fakestore MCP server with a simple JSON block.
{
"name": "fakestore",
"command": "npx",
"args": ["-y", "mcp-server-fakestore"]
}
Security and notes
This Fakestore MCP server is intended for testing and demos. Any data operations that appear to modify data are simulated and do not persist changes on the remote Fake Store API.
Keep network access appropriate to your environment and respect any rate limits or usage policies of the underlying API during testing.
Available tools
fakestore_get_products
Get all products with optional limit and sorting.
fakestore_get_product
Get a single product by ID.
fakestore_get_categories
Get all product categories.
fakestore_get_products_by_category
Get products in a specific category.
fakestore_add_product
Add a new product (simulation).
fakestore_update_product
Update an existing product (simulation).
fakestore_delete_product
Delete a product (simulation).
fakestore_get_carts
Get all carts with optional limit and sorting.
fakestore_get_cart
Get a single cart by ID.
fakestore_get_user_carts
Get all carts for a specific user.
fakestore_add_cart
Add a new cart (simulation).
fakestore_update_cart
Update an existing cart (simulation).
fakestore_delete_cart
Delete a cart (simulation).
fakestore_get_users
Get all users with optional limit and sorting.
fakestore_get_user
Get a single user by ID.
fakestore_add_user
Add a new user (simulation).
fakestore_update_user
Update an existing user (simulation).
fakestore_delete_user
Delete a user (simulation).