MCP.so
Sign In
Servers

Office Supplies Inventory NANDA Service using MCP Server + NANDA Registry + NANDA host client

@izzyfondu

Overview

What is Office Supplies Inventory NANDA Service using MCP Server + NANDA Registry + NANDA host client?

This service implements a NANDA service using Model Context Protocol (MCP) server code that provides information about office supplies inventory. It allows AI assistants to query and retrieve inventory data from a CSV file using the MCP standard. It is designed for developers who want to deploy a consumer-facing web app for any standard inventory using the same framework.

How to use Office Supplies Inventory NANDA Service using MCP Server + NANDA Registry + NANDA host client?

Set up the server locally by cloning the repository, creating a Python virtual environment or Conda environment, installing dependencies, and running python officesupply.py. The server listens on port 8080. Test with MCP Inspector by connecting via SSE to the /sse endpoint. Deploy to AWS AppRunner, register the server on NANDA Registry, then use it in a NANDA host client at nanda.mit.edu with an Anthropic API key.

Key features of Office Supplies Inventory NANDA Service using MCP Server + NANDA Registry + NANDA host client

  • Provides two tools: get_items (lists all item names) and get_item_info (retrieves details about a specific item).
  • Inventory data is stored in a CSV file with at least an item_name column.
  • Can be edited by modifying the CSV file to suit any inventory.
  • Supports local testing and cloud deployment (e.g., AWS AppRunner).
  • Integrates with NANDA Registry for discovery and NANDA host client for AI assistant interaction.

Use cases of Office Supplies Inventory NANDA Service using MCP Server + NANDA Registry + NANDA host client

  • An AI assistant helps employees quickly find office supplies and their details from a company inventory.
  • A school system deploys a similar service to allow students to look up library equipment availability.
  • A retailer uses the framework to provide an AI-powered product catalog for customer service chatbots.

FAQ from Office Supplies Inventory NANDA Service using MCP Server + NANDA Registry + NANDA host client

What tools are available in this server?

Two tools are provided: get_items to list all item names, and get_item_info to retrieve detailed information about a specific item by name.

What are the runtime requirements?

Python 3.9 or higher is required. All dependencies are listed in requirements.txt.

Where is the inventory data stored?

The inventory data is stored in a local CSV file named inventory.csv. The server reads this file; you can edit it to change the inventory.

How can I test the server before deploying?

Run the server locally and use MCP Inspector with SSE transport type, connecting to http://localhost:8080/sse. Then test the available tools.

What transport and authentication does the server use?

The server uses SSE (Server-Sent Events) transport, indicated by the /sse endpoint. Authentication at the host level requires an Anthropic API key; the server itself does not have built-in authentication.

Tags

More from Other