Skip to main content
Glama
mulangph

ERP MCP Server

by mulangph

ERP MCP Server

A Python-based backend server demonstrating the deployment of custom business tools using the Model Context Protocol (MCP). This project leverages Anthropic's FastMCP framework to effortlessly expose standard enterprise data sources (Orders, Inventory, and Vendors) as structured tools for LLM consumption.

For demonstration pursposes, It is designed to read localized mock databases and seamlessly host them over an MCP-compliant transport layer.


🚀 Key Features

  • FastMCP Integration: Uses the high-level FastMCP wrapper to automatically generate schemas and expose functions as LLM-callable tools.

  • Granular ERP Modules: Separate endpoints to pull distinct, isolated datasets for Orders, Inventory quantities, and Vendor metadata.

  • JSON-backed Persistence: Simulates production database interactions using lightweight, predictable JSON flat files.

  • Robust Error Handling: Returns well-formed JSON error schemas to gracefully inform LLMs when lookups fail.


Related MCP server: Small Business MCP Server

🛠️ Exposed Tools

The server dynamically broadcasts four main developer tools to any connected client:

  1. get_sales_order(order_id: int): Fetches precise sales order data including statuses, pricing, and transactional lines.

  2. get_stock(product_id: int): Checks inventory tables for real-time stock levels and reorder parameters.

  3. get_vendor(vendor_id: int): Looks up explicit business credentials, risk profiles, and payment cycles for a single partner.

  4. get_vendors_information(): Pulls the comprehensive registry of all active vendors for broad analytical overviews.

Installation

Add the required dependencies individually using uv (this will automatically fetch the latest versions):

uv add gradio
uv add "mcp[cli]"
uv add openai

To Run The server

uv run mcp run server.py --transport streamable-http

Maintenance

ActivityMaintained
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    An extensible MCP server that integrates Odoo with LLMs to enable querying and managing business data like partners, quotations, and sales orders. It supports custom tool registration and multiple transport protocols for both local and remote communication.
    2
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables LLMs to interact with small business data systems through tools for document processing, data queries, and report generation, using MCP primitives for structured context.
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    A production-grade MCP server for enterprise sales analytics, enabling LLM clients to query, analyze, and visualize sales data from a SQLite database through structured tools, resources, and prompts.
    6
    MIT