ERP MCP Server
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
🛠️ 暴露的工具
服务器会向任何连接的客户端动态广播四个主要的开发者工具:
get_sales_order(order_id: int):获取精确的销售订单数据,包括状态、定价和交易行。get_stock(product_id: int):检查库存表以获取实时库存水平和补货参数。get_vendor(vendor_id: int):查找单个合作伙伴的明确业务凭证、风险概况和付款周期。get_vendors_information():拉取所有活跃供应商的完整注册表,用于广泛的分析概览。
安装
使用 uv 单独添加所需的依赖项(这将自动获取最新版本):
uv add gradio
uv add "mcp[cli]"
uv add openai运行服务器
uv run mcp run server.py --transport streamable-http
This server cannot be installed
Maintenance
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
- AlicenseNot gradedqualityDmaintenanceAn 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.2MIT
- AlicenseNot gradedqualityDmaintenanceEnables 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
- FlicenseNot gradedqualityBmaintenanceDemo MCP server that exposes order and customer data as read-only tools for AI assistants, simulating a business API or internal data source.
- AlicenseAqualityCmaintenanceA 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.6MIT
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.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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