Skip to main content
Glama
mulangph

ERP MCP Server

by mulangph

ERP MCP Server

一个基于 Python 的后端服务器,演示了如何使用 Model Context Protocol (MCP) 部署自定义业务工具。该项目利用 Anthropic 的 FastMCP 框架,将标准企业数据源(订单、库存和供应商)轻松暴露为可供 LLM 消费的结构化工具。

出于演示目的,它被设计为读取本地化的模拟数据库,并通过符合 MCP 规范的传输层无缝托管它们。


🚀 主要特性

  • FastMCP 集成: 使用高级 FastMCP 包装器自动生成模式,并将函数暴露为可供 LLM 调用的工具。

  • 细粒度 ERP 模块: 独立的端点用于拉取订单、库存数量和供应商元数据的独立隔离数据集。

  • JSON 支持的持久化: 使用轻量级、可预测的 JSON 平面文件模拟生产数据库交互。

  • 健壮的错误处理: 返回格式良好的 JSON 错误模式,以便在查找失败时优雅地告知 LLM。


Related MCP server: Small Business MCP Server

🛠️ 暴露的工具

服务器会向任何连接的客户端动态广播四个主要的开发者工具:

  1. get_sales_order(order_id: int):获取精确的销售订单数据,包括状态、定价和交易行。

  2. get_stock(product_id: int):检查库存表以获取实时库存水平和补货参数。

  3. get_vendor(vendor_id: int):查找单个合作伙伴的明确业务凭证、风险概况和付款周期。

  4. get_vendors_information():拉取所有活跃供应商的完整注册表,用于广泛的分析概览。

安装

使用 uv 单独添加所需的依赖项(这将自动获取最新版本):

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

运行服务器

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

F
license - not found
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

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

View all related MCP servers

Related MCP Connectors

  • Self-hosted MCP gateway: turn any API, database or MCP server into AI connectors — no code.

  • GibsonAI MCP server: manage your databases with natural language

  • Analytical memory for AI agents: a real Postgres queried in plain English over MCP. One command.

View all MCP Connectors

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/mulangph/AI_MCP_Server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server