jofsanchezci/mcp_server_2
3.2
If you are the rightful owner of mcp_server_2 and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
Servidor MCP para Gestión de Inventario - Tienda de Electrónica
Tools
1
Resources
0
Prompts
0
Servidor MCP para Gestión de Inventario - Tienda de Electrónica
Este proyecto implementa un servidor MCP (Multi-Command Protocol) usando la biblioteca fastmcp
, que permite gestionar el inventario de una tienda de electrónica mediante herramientas expuestas como comandos y recursos.
Requisitos
- Python 3.8 o superior
- Librería
fastmcp
instalada:
pip install fastmcp
Ejecución
python inventory_server.py
El servidor quedará escuchando y listo para recibir comandos MCP.
Funcionalidades del Servidor
Agregar producto
@mcp.tool()
def agregar_producto(nombre: str, categoria: str, cantidad: int, precio: float) -> str
uv run mcp install main.py