# DummyJSON MCP for AI Agents AI Agent Connect

> DummyJSON lets you give your AI agent a sandbox of fake but realistic data. It handles products, carts, and auth flows so you can build and test your app's logic without waiting on a real backend. It's the fastest way to mock an entire e-commerce or social media API for your project.

## Overview
- **Category:** developer-tools
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_FKVWm001ir2Kw00VOeW1C7UcnJAgArzxvleyWTo1/ai-agent-connect
- **Tags:** dummy-data, api-testing, prototyping, json-placeholder, mock-api

## Description

DummyJSON lets you simulate real-world API interactions within your AI environment. It is built for developers who need instant access to structured data for building, testing, and demonstrating applications without setting up a backend. You can connect this Connector to your AI client and have it browse product catalogs, manage shopping carts, and even simulate user logins as if it were hitting a production endpoint. It is a huge time-saver for anyone who needs to see how a UI handles real data mutations like adding a product or deleting a user. If you're looking to test edge cases or just want to see your layout come to life, this is the right way to do it. You'll find it's much easier to iterate on your work when you have a reliable source of data that behaves predictably. You can find this and thousands of other tools in the Vinkius catalog to keep your development cycle moving without friction.

## Tools

### get_quote
Fetch a single quote by its ID.

### update_post
Update the details of a specific post.

### delete_recipe
Delete a recipe from the database.

### delete_todo
Remove a todo item from the list.

### delete_user
Delete a user profile from the system.

### auth_get_me
Retrieve the profile of the currently logged-in user.

### update_recipe
Update the details of a specific recipe.

### add_product
Add a new product to the mock catalog.

### add_recipe
Add a new recipe to the dummy database.

### add_todo
Add a new todo item to the list.

### add_user
Create a new user profile in the system.

### delete_cart
Remove a shopping cart from the database.

### delete_comment
Delete a specific comment from a post.

### delete_post
Remove a post from the mock feed.

### delete_product
Remove a product from the catalog.

### filter_users
Filter the user list by specific keys and values.

### get_cart
Retrieve a single cart using its unique ID.

### get_comment
Fetch a specific comment by its ID.

### get_comments_by_post
Get all comments associated with a particular post.

### get_post_comments
Fetch comments for a specific post.

### get_post
Get the details of a single post by its ID.

### get_posts_by_user
Fetch all posts created by a specific user.

### get_product
Retrieve a single product by its unique ID.

### get_products_by_category
Get all products belonging to a specific category.

### get_random_quote
Get a random quote from the database.

### get_random_quotes
Fetch up to 10 random quotes at once.

### get_random_todo
Fetch a random todo item from the list.

### get_recipe
Retrieve a single recipe by its unique ID.

### get_recipes_by_meal_type
Get all recipes filtered by meal type.

### get_recipes_by_tag
Get all recipes filtered by a specific tag.

### get_todo
Retrieve a single todo item by its unique ID.

### get_user_carts
Get all carts belonging to a specific user.

### get_user_posts
Fetch all posts belonging to a specific user.

### get_user_todos
Fetch all todos belonging to a specific user.

### get_user
Retrieve a single user profile by its unique ID.

### list_carts
Get a list of all shopping carts in the system.

### list_categories
Get a list of all available category objects.

### list_category_list
Get a list of all category names.

### list_comments
Get a list of all comments in the database.

### list_post_tags
Get a list of all tags used for posts.

### list_posts
Get a list of all posts in the system.

### list_products
Get a list of all products in the mock catalog.

### list_quotes
Get a list of all quotes in the database.

### list_recipe_tags
Get a list of all tags used for recipes.

### list_recipes
Get a list of all recipes in the system.

### list_todos
Get a list of all todo items in the database.

### list_users
Get a list of all users in the system.

### auth_login
Authenticate a user to receive JWT tokens.

### auth_refresh_token
Use a refresh token to extend the current session.

### search_posts
Search for specific posts in the database.

### search_products
Search for products using specific keywords.

### search_recipes
Search for recipes using specific keywords.

### search_users
Search for users by name or other attributes.

### update_cart
Update the items within a shopping cart.

### update_comment
Update the content of a specific comment.

### update_product
Update the details of a product in the catalog.

### update_todo
Update the details of a specific todo item.

### update_user
Update the profile details of a specific user.

### add_cart
Create a new shopping cart in the system.

### add_comment
Add a new comment to a post.

### add_post
Create a new post in the system.

## Prompt Examples

**Prompt:** 
```
Show me some products in the electronics category.
```

**Response:** 
```
I've pulled the electronics for you. Here are some of the top items:

| Product | Price |
| :--- | :--- |
| **Smartphone X** | $999 |
| **Laptop Pro** | $1,499 |
| **Wireless Buds** | $199 |

Would you like to see the full specs for any of these?
```

**Prompt:** 
```
Search for 'laptop' and show me the first 3.
```

**Response:** 
```
Found 3 laptops for you:
1. **MacBook Pro**
2. **Dell XPS 15**
3. **Lenovo ThinkPad**

Which one do you want more details on?
```

**Prompt:** 
```
Simulate a login for user 'test_user' with password 'pass123'.
```

**Response:** 
```
Login successful. I've authenticated as **test_user**.

Here is the session info:
* **Status**: Authenticated
* **User ID**: 550e8400-e29b
* **Session**: Active

What's our first move?
```

## Capabilities

### Browse product catalogs
Your agent can list and search for items to populate storefront UIs.

### Manage shopping carts
Simulate adding, retrieving, and deleting cart items for checkout flows.

### Simulate user authentication
Handle login flows and retrieve user profiles using mock JWT tokens.

### Perform data mutations
Create, update, and delete records to test your app's CRUD logic.

### Fetch random content
Get random quotes or recipes to populate dynamic content sections.

## Use Cases

### Building a product grid without a database
A developer needs to see how a product list looks today. They ask the agent to use `list_products` and `get_products_by_category` to populate a mock storefront.

### Testing the 'Add to Cart' button
A developer wants to see if the cart updates correctly. The agent uses `add_cart` and `get_cart` to simulate a shopping session.

### Simulating user login flows
A researcher needs to test a login screen. The agent uses `auth_login` and `auth_get_me` to fetch dummy profile data for a new session.

### Testing a 'Delete Post' button
A QA engineer wants to see what happens when a post is removed. The agent uses `list_posts` to find an ID and then `delete_post` to remove it.

## Benefits

- Build a storefront UI faster by using `list_products` and `search_products` to fill your pages with mock items.
- Test checkout flows without a backend by using `list_carts`, `add_cart`, and `get_cart`.
- Verify user profile logic using `auth_login` and `auth_get_me` to simulate real sessions.
- Test data management features by using `add_product`, `update_product`, and `delete_product`.
- Build social feeds by using `list_posts`, `get_posts_by_user`, and `get_user_posts`.
- Handle content moderation tests with `delete_comment` and `update_comment`.

## How It Works

The bottom line is you get a live, interactive mock API for your AI agent in seconds.

1. Subscribe to this Connector in your Vinkius dashboard.
2. Provide a DummyJSON token if your specific implementation requires one.
3. Ask your agent to fetch data or perform actions like adding a product.

## Frequently Asked Questions

**What is DummyJSON MCP for?**
It provides a mock API sandbox for your AI agent. It lets you simulate data for products, carts, and user accounts so you can build and test your app's UI without needing a real backend.

**Can I use DummyJSON MCP to build a real online store?**
No, this is for prototyping and testing only. It provides fake data that behaves like a real API, but it is not a production environment for real transactions or customer data.

**Does DummyJSON MCP work with Claude and Cursor?**
Yes, it works with any MCP-compatible client including Claude, Cursor, Windsurf, and VS Code.

**How do I get product data for my UI using DummyJSON MCP?**
You can simply ask your AI agent to list products or search for specific categories. The agent will use the mock API to fetch the data and show it to you in your project.

**Can I test user login flows with DummyJSON MCP?**
Yes, you can simulate the entire authentication flow, including logging in, retrieving user profiles, and refreshing session tokens.

**Is the data in DummyJSON MCP permanent?**
The data is simulated for your testing needs. While it behaves like a real database, it is intended for mock interactions during development and prototyping.

**How can I retrieve a list of all products with a specific limit?**
You can use the `list_products` tool and provide the `limit` parameter to control the number of results returned by the API.

**Is it possible to simulate adding a product to the database?**
Yes! Use the `add_product` tool. Note that this is a simulation; the API will return the new product object with an ID, but it won't be permanently stored.

**How do I check the carts belonging to a specific user?**
Simply use the `get_user_carts` tool and provide the `userId`. The agent will return all shopping carts associated with that specific user ID.