InventarioDB
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., "@InventarioDBcreate a new product named 'Wireless Mouse' with 50 units at $29.99"
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.
InventarioDB
Descripción
Este proyecto pone en marcha un pequeño servidor MCP (Model Context Protocol) que gestiona un inventario de productos usando SQLite.
Cada función decorada con @mcp.tool() expone una "herramienta" que puede ser invocada por un cliente MCP para crear, leer, actualizar o eliminar productos.
Related MCP server: sqlite-reader-mcp
Características
Gestión completa de inventario (CRUD)
Base de datos SQLite para almacenamiento persistente
API RESTful a través de MCP
Fácil integración con clientes MCP
Validación de datos
Manejo de errores robusto
Requisitos
Python 3.7 o superior
SQLite (incluido en la biblioteca estándar de Python)
Instalación
Clona o descarga este repositorio:
git clone https://github.com/diegogfhjk/mcp.git cd mcpInstala Claude desktop: https://claude.ai/download
Instala las dependencias:
pip install uv uv add "mcp[cli]" uv run mcp install main.py
API de Herramientas MCP
Crear Producto
@mcp.tool()
def crear_producto(nombre: str, cantidad: int, precio: float) -> dictCrea un nuevo producto en el inventario.
Obtener Producto
@mcp.tool()
def obtener_producto(id: int) -> dictObtiene la información de un producto específico.
Actualizar Producto
@mcp.tool()
def actualizar_producto(id: int, nombre: str = None, cantidad: int = None, precio: float = None) -> dictActualiza la información de un producto existente.
Eliminar Producto
@mcp.tool()
def eliminar_producto(id: int) -> boolElimina un producto del inventario.
Estructura del Proyecto
inventariodb/
├── server.py # Servidor MCP principal
├── database.py # Configuración y operaciones de base de datos
├── requirements.txt # Dependencias del proyecto
└── README.md # Este archivoThis server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
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/diegogfhjk/mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server