Demo Management 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., "@Demo Management MCP Server Show me all products."
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.
Demo Management MCP Server for Claude Desktop
This is a sample Model Context Protocol (MCP) server that allows AI assistants to interact with a generic product management API.
It provides CRUD operations (Create, Read, Update, Delete) through a local MCP server using the standard stdio transport.
The server does not call any AI provider. It acts as a bridge between Claude Desktop and an external REST API.
Features
Retrieve a list of products (SELECT).
Retrieve product details by ID.
Create new products (INSERT).
Update existing products (UPDATE).
Delete products (DELETE).
Validate tool inputs using Zod.
Authenticate API requests using a Bearer token.
Communicate with Claude Desktop through MCP stdio.
Related MCP server: MCPServer
Requirements
Node.js 20 or newer
npm
Claude Desktop
An accessible REST API implementing the endpoints described below
Installation
Clone or copy this project into a local directory.
Install dependencies:
npm installEnvironment Variables
The server requires two environment variables:
Variable | Description |
| Base URL of the REST API |
| Bearer token used for API authentication |
These variables should be configured locally and must not be committed to the repository.
tokens.example.txt shows a sample format for storing access and refresh tokens. Copy it to tokens.txt and replace the placeholders locally. The local tokens.txt file is ignored by Git. The current server code reads API_BASE_URL and API_TOKEN from environment variables; it does not currently load tokens.txt or use a refresh token.
Claude Desktop Configuration
Add the MCP server to Claude Desktop's claude_desktop_config.json.
Replace the example paths and API configuration with your local values:
{
"mcpServers": {
"demo-management": {
"command": "/absolute/path/to/node",
"args": [
"/absolute/path/to/project/src/index.mjs"
],
"env": {
"API_BASE_URL": "https://YOUR_API_HOST",
"API_TOKEN": "YOUR_API_TOKEN"
}
}
}
}Restart Claude Desktop after saving the configuration.
Check Settings → Developer to verify that the MCP server is running.
Available MCP Tools
The server exposes five tools:
Tool | Operation | Description |
| SELECT | Retrieve products with pagination and filters |
| SELECT | Retrieve a product by ID |
| INSERT | Create a new product |
| UPDATE | Update an existing product |
| DELETE | Delete a product by ID |
REST API Endpoints
The MCP server communicates with the following REST API endpoints:
Method | Endpoint | Description |
GET |
| Retrieve products |
GET |
| Retrieve product details |
POST |
| Create a product |
PUT |
| Update a product |
DELETE |
| Delete a product |
Product Data Structure
A product contains the following fields:
{
"name": "Sample Product",
"description": "Product description",
"price": 50000,
"categoryId": 2
}Example API Requests
Create a product:
POST /api/v1/products
Content-Type: application/json
{
"name": "Laptop",
"description": "Sample laptop",
"price": 50000,
"categoryId": 2
}Update a product:
PUT /api/v1/products/15
Content-Type: application/json
{
"price": 60000
}Delete a product:
DELETE /api/v1/products/15Example Interactions with Claude
Once the MCP server is connected, you can use natural language to interact with the API.
Examples:
"Show me all products."
"Find products in category 2."
"Get details of product 15."
"Create a new product named Laptop with a price of 50000."
"Change the price of product 15 to 60000."
"Delete product 15."
Claude interprets the request, selects the appropriate MCP tool, validates its parameters, and calls the corresponding API endpoint.
Security Considerations
Never commit API tokens or credentials to source control.
Keep API credentials in local environment variables.
Use HTTPS for API communication.
Apply appropriate authorization rules on the API backend.
Require explicit user confirmation before destructive operations such as deleting records.
Validate and sanitize all incoming API data.
Architecture
Claude Desktop
|
| MCP Protocol (stdio)
|
Demo Management MCP Server
|
| HTTP REST API
|
External Product Management API
|
|
DatabaseLicense
This project is provided as an educational MCP integration example.
Available Tools
5 toolsdelete_productC
Delete a product by ID.
Inputs: productId (required).
get_productC
Get details of a product by ID.
Inputs: productId (required).
insert_productC
Create a new product.
Inputs: name (required), price (required), categoryId (required), description.
select_productsC
Get a list of products with optional filters.
Inputs: page, search, pageSize, categoryId.
update_productD
Update an existing product.
Inputs: productId (required), name, price, categoryId, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool maps to a distinct operation on a single resource: list/select, get, insert, update, delete. The only mild overlap is select_products vs get_product, but single-item vs list retrieval is clearly differentiated.
Four tools follow a consistent verb_noun pattern (get_product, insert_product, update_product, delete_product), but select_products breaks the pattern where list_products would be the conventional choice. The mix of select-verb with snake_case is still readable but inconsistent.
Five tools covering full CRUD on one resource is a tight, well-scoped surface where every tool earns its place. Nothing extraneous and nothing thin.
Full lifecycle coverage: list, read, create, update, delete on products, with listing filters. No dead ends for a simple product-management domain.
Maintenance
Related MCP Connectors
Hosted MCP for e-commerce: live product catalog, stock, and pricing for AI agents.
Zero-setup MCP gateway securely connecting AI to your tools with authentication and workflows
Hosted MCP server for 3Dsellers, the multichannel selling platform. Connect Claude, ChatGPT, Cursor, VS Code or any MCP client and manage your eBay, Amazon, Walmart, Etsy, Shopify, WooCommerce and TikTok Shop stores in plain language: search and update products, publish listings, sync inventory, tag and track orders, run bulk actions and CSV imports, and reply to customer messages. 120+ tools. Sign in with OAuth or a personal token. No eBay developer account and nothing to install. Setup guides and config examples for every client: https://github.com/3dsellers/ebay-mcp-server
Hosted Amazon Seller and Vendor MCP server for Claude, ChatGPT, Cursor, Codex, Gemini, Copilot.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables Claude Desktop and other MCP clients to interact with any OAuth2-authenticated OpenAPI-based API through automatic tool generation from OpenAPI specifications, with built-in token management and authentication handling.7 npm3MIT
- FlicenseNot gradedqualityDmaintenanceA production-ready MCP server built with Python, exposing 17 tools to manage users, products, and orders via a JSON-backed REST API, ready for Claude Desktop and any MCP client.-
- FlicenseNot gradedqualityBmaintenanceEnables AI agents to search products, manage carts, and cancel orders on the mcp-ecom storefront via HTTP, with server-enforced approval tokens for high-risk actions.-
- AlicenseBqualityCmaintenanceEnables MCP clients to manage an e-commerce product catalog in MySQL, including creating, reading, updating, deleting, and searching products, plus AI-generated descriptions and low-stock monitoring.4MIT