Skip to main content
Glama
Admin Inventory Management MCP Server

Admin Inventory Management MCP Server

by Balusanu

๐Ÿ“ฆ Admin Inventory Management โ€“ Remote MCP Server

A production-ready Remote MCP (Model Context Protocol) Server built using FastMCP, enabling Claude Desktop to manage office inventory using natural language.

๐ŸŒ Live Endpoint: https://admin-inventory-management-remote-mcp.onrender.com/


๐Ÿš€ Project Overview

This project implements an AI-powered Office Admin Inventory Management System using the Model Context Protocol (MCP).

It allows Claude Desktop to:

  • Add inventory items

  • Issue stock

  • Check stock availability

  • List all items

  • Trigger low-stock alerts

All operations are executed via structured tool calls and backed by a persistent database.


๐Ÿง  Architecture

๐Ÿ”น Local Architecture

Claude Desktop
      โ†“ (stdio MCP)
FastMCP Server
      โ†“
SQLite Database

Related MCP server: HR Leave Management MCP Server

๐Ÿ”น Remote Architecture (Production)

Claude Desktop
      โ†“ (HTTPS MCP Protocol)
Remote FastMCP Server (Render)
      โ†“
SQLite Database

๐Ÿ› ๏ธ Tech Stack

  • FastMCP โ€“ MCP server implementation

  • SQLAlchemy โ€“ ORM for database interaction

  • SQLite โ€“ Persistent storage

  • Docker โ€“ Containerization

  • Render โ€“ Cloud deployment

  • Claude Desktop โ€“ LLM client


โš™๏ธ How It Was Built

1๏ธโƒฃ MCP Tool-Based Server

Inventory operations are exposed as structured tools:

@mcp.tool()
def add_item(name: str, category: str, quantity: int, min_threshold: int):

Each tool:

  • Validates inputs

  • Executes deterministic business logic

  • Updates the database

  • Returns structured output


2๏ธโƒฃ Database Layer

Built using SQLAlchemy ORM.

Item Model Fields:

  • name

  • category

  • quantity

  • min_threshold

This ensures persistent and reliable inventory tracking.


3๏ธโƒฃ HTTP Transport Mode

Converted from local stdio transport to HTTP transport for remote deployment:

mcp.run(
    transport="http",
    host="0.0.0.0",
    port=port
)

This allows Claude to communicate securely over HTTPS.


4๏ธโƒฃ Dockerized Deployment

Dockerfile used for containerization:

FROM python:3.11-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY . .
EXPOSE 8000
CMD ["python", "server.py"]

Deployed as a Web Service on Render.


๐ŸŒ Live Endpoint Behavior

Opening the URL in a browser may show:

Not Found

This is expected behavior.

MCP servers expose protocol endpoints โ€” not web UI routes.


๐Ÿ”— How to Configure in Claude Desktop

Step 1: Open Claude Settings

Go to:

Settings โ†’ Developer โ†’ MCP Servers

Step 2: Edit Claude Configuration File

Windows:

%APPDATA%\Claude\claude_desktop_config.json

Mac:

~/Library/Application Support/Claude/claude_desktop_config.json

Step 3: Add Remote MCP Server Configuration

{
  "mcpServers": {
    "admin-inventory-remote": {
      "transport": "http",
      "url": "https://admin-inventory-management-remote-mcp.onrender.com"
    }
  }
}

Step 4: Restart Claude Desktop

Claude will automatically:

  • Discover available tools

  • Enable natural language inventory management


๐Ÿงช Example Usage in Claude

You can now say:

  • โ€œAdd 200 ball pens in Stationery category with threshold 40.โ€

  • โ€œIssue 30 ball pens.โ€

  • โ€œCheck stock of printer paper.โ€

  • โ€œList all items in inventory.โ€

Claude will:

  1. Interpret intent

  2. Select appropriate MCP tool

  3. Send structured arguments

  4. Execute backend logic

  5. Return updated inventory status


๐ŸŽฏ Key Design Principles

๐Ÿ”น Separation of Concerns

  • LLM handles reasoning

  • MCP handles structured execution

  • Database ensures persistence

๐Ÿ”น Deterministic Backend

The LLM does not directly manipulate the database. All operations pass through validated business logic.

๐Ÿ”น Secure Protocol Communication

Claude communicates with the server using MCP over HTTPS.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelogโ€ฆ

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables users to manage company departments, employees, expenses, and performance ratings through a natural language interface in Claude Desktop. It features 12 specialized tools for comprehensive CRUD operations and AI-powered organizational analysis using Google Gemini.
      4
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Connects Claude Desktop to the IT Asset Tracker backend, enabling natural language management of assets, users, requests, and reports via 70+ auto-generated tools.
      -
    • A
      license
      C
      quality
      B
      maintenance
      Enables querying and managing IT assets, users, locations, licenses, and more in Snipe-IT through natural language using Claude.
      28
      25 npm
      MIT