mcp_inventory
Provides tools for managing an inventory database, including creating, reading, updating, deleting products, and performing statistical queries such as total inventory value, out-of-stock products, and most expensive product.
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., "@mcp_inventoryShow me the total value of the inventory."
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.
1. Desarrollo de un Sistema Cognitivo usando MCP y Bases de Datos
Sistema de Inventario con SQLite + MCP
Este proyecto implementa un sistema de inventario básico utilizando Python, SQLite y MCP (Model Context Protocol). Permite realizar operaciones CRUD sobre productos, además de consultas estadísticas del inventario.
Related MCP server: Product MCP Telegram Bot
Características
Crear productos
Consultar productos por ID
Actualizar cantidad de productos
Eliminar productos
Listar todos los productos
Calcular valor total del inventario
Consultar productos agotados
Identificar el producto más costoso
Obtener estadísticas generales del inventario
Tecnologías utilizadas
Python 3.x
SQLite3
FastMCP (Model Context Protocol)
Estructura del proyecto
/inventario │── database.py # Creación de la base de datos │── server.py # Servidor MCP con herramientas │── productos_db.py # Lógica CRUD de productos (si aplica) │── inventory.db # Base de datos SQLite (se genera automáticamente)
⚙️ Instalación
1. Clonar el proyecto
bash: git clone cd inventario
2. Crear entorno virtual (opcional pero recomendado)
python -m venv venv
Activar entorno:
Windows: venv\Scripts\activate
Linux/Mac: source venv/bin/activate
3. Instalar dependencias
pip install fastmcp
4. Inicializar base de datos
Ejecutar el siguiente archivo: python database.py
Esto creará automáticamente el archivo: inventory.db
5. Ejecución del servidor MCP
Ejecutar: python server.py
El servidor quedará activo con las herramientas disponibles para consulta y manipulación del inventario.
6. Ejecución de pruebas
Puedes crear un archivo test.py para probar las funciones: python test.py
Ejemplo de uso:
crear_producto("Laptop", "Tecnología", 10, 2500)
consultar_producto(1)
actualizar_producto(1, 20)
listar_productos()
valor_inventario()
Consideraciones
Asegúrate de ejecutar primero database.py antes del servidor.
No elimines el archivo inventory.db si deseas conservar los datos.
Manejar correctamente los IDs al consultar o eliminar productos.
Autor:
Edwin Alexander Ospina Penna Proyecto desarrollado como práctica de sistemas cognitivos, bases de datos y MCP en Python.
This 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
- Flicense-qualityDmaintenanceA small MCP server that manages a product inventory using SQLite, providing CRUD operations through exposed MCP tools.Last updated
- Flicense-qualityDmaintenanceThis MCP server enables product management and mathematical calculations through a Telegram bot interface. It allows users to view, search, and add products to a database using natural language commands.Last updated
- FlicenseBqualityCmaintenanceA customer and product management MCP server using SQLite. It enables Claude Desktop users to manage client and product data through natural language interactions.Last updated91
- Flicense-qualityBmaintenanceA Python-based MCP server that manages a product inventory using SQLite, allowing CRUD operations and analytic queries such as total value, out-of-stock products, and most expensive product.Last updated
Related MCP Connectors
MCP server for managing Prisma Postgres.
A basic MCP server to operate on the Postman API.
A MCP server built for developers enabling Git based project management with project and personal…
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/Feralex3109/mcp_inventory'
If you have feedback or need assistance with the MCP directory API, please join our Discord server