Product MCP Server
Click on "Install 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., "@Product MCP Serversearch for laptops in the electronics category"
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.
Product MCP Server
This project implements a simple Model Context Protocol (MCP) server using FastMCP, Pydantic, and Uvicorn.
It exposes three tools:
Add Product
Search Product
Get Product by ID
Products are stored in an in-memory database, making this ideal for demos, prototyping, or integrating with an MCP-compatible AI agent.
Features
FastMCP-based MCP server
Tool functions to:
Add a new product
Search products by name or category
Retrieve product details by ID
Simple in-memory storage
Runs over HTTP using Uvicorn
Related MCP server: MCP E-commerce Server
Installation
1. Create a virtual environment
python3 -m venv venv
source venv/bin/activate2. Install dependencies
pip install -r requirements.txtRunning the Server
Start the MCP server:
python main.pyThe server will start on:
http://localhost:8000Available Tools
1. add_product
Adds a new product to the in-memory catalog.
Input Model (AddProductInput)
{
"name": "Laptop",
"category": "Electronics",
"price": 1299.99,
"stock": 5,
"description": "Powerful gaming laptop"
}2. search_product
Searches for products by name or category.
Input Model (SearchInput)
{
"query": "laptop"
}3. get_product
Gets a product by its unique ID.
Input Model (GetProductInput)
{
"product_id": "uuid-here"
}MCP Client Example
Run the client
python client.pyThis server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityBmaintenanceAllows AI agents to interact with a remote TMF620 Product Catalog Management API, enabling operations like listing, retrieving, and creating catalogs, product offerings, and product specifications.Last updated3MIT
- Alicense-qualityDmaintenanceEnables management of retail e-commerce products with CRUD operations, AI-powered product description generation, and inventory tracking through SQLite database integration.Last updatedMIT
- Flicense-qualityDmaintenanceEnables inventory management through MongoDB with tools for creating, listing, searching, updating, and deleting items and categories. Supports natural language interactions via Groq AI integration.Last updated
- Flicense-qualityDmaintenanceProvides tools for managing a product catalog, including functions to list, add, and retrieve product statistics. It enables AI agents to perform inventory operations and data analysis through a standardized interface.Last updated
Related MCP Connectors
Agent-native product catalog for AI shopping agents. 296M+ products, 28 countries.
Persistent memory and knowledge management for AI agents with semantic search and 50+ tools.
Universal memory for AI agents and tools. Save, organize and search context anywhere.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/fedilahbib/MCP-server-using-FastMCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server