Skip to main content
Glama
MRP Calculator MCP Server

MRP Calculator MCP Server

MRP计算器MCP服务器

概述

该 MCP 服务器提供物料需求计划 (MRP) 计算工具。它遵循模型上下文协议 (MCP) 向系统公开其功能。

Related MCP server: forecast-mcp

特征

  • 交货计划计算

  • 订单需求确定

  • MRP期间计算

工具

该服务器提供以下 MCP 工具:

计算订单需求

根据以下因素计算何时订购以及订购数量:

  • 当前库存水平

  • 预测期

  • 交货时间表

  • 顺序约束

配置

可以通过 MCP 设置文件配置服务器:

{
  "mcpServers": {
    "mrp": {
      "command": "node",
      "args": ["/path/to/mrp-calculator/dist/index.js"],
      "env": {}
    }
  }
}

发展

  • 用 TypeScript 编写

  • 使用 MCP SDK 实现服务器

  • 包括验证测试用例

项目结构

mrp-calculator/
├── src/
│   ├── index.ts          # Main server implementation
│   ├── calculator.ts     # MRP calculation logic
│   ├── types.ts          # TypeScript type definitions
│   └── validator.ts      # Input validation
├── package.json
├── tsconfig.json
└── README.md

构建和运行

# Install dependencies
npm install

# Build the server
npm run build

# Run the server
node dist/index.js

版本控制

此仓库使用 Git 进行版本控制。重要文件会被跟踪,而构建文件和依赖项则会通过 .gitignore 文件忽略。

Available Tools

1 tool
calculate_order_needC

Calculate MRP order need based on forecast, inventory, and delivery schedule

Inputs: analysis_date (required), current_balance (required), delivery_schedule (required), forecast_periods (required), +4 more.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only one tool, there is no possibility of ambiguity or overlap between tools. The tool's purpose is clearly defined and distinct by default.

    Naming Consistency5/5

    A single tool inherently has perfect naming consistency, as there are no other tools to compare it against. The name follows a clear verb_noun pattern.

    Tool Count2/5

    One tool is too few for a server named 'MRP Calculator MCP Server', which suggests a domain (Material Requirements Planning) that typically involves multiple calculations or operations. A single tool feels thin and incomplete for this scope.

    Completeness2/5

    The tool surface is severely incomplete for MRP. While the tool calculates order need, there are obvious gaps such as inventory management, forecast updates, delivery tracking, or other MRP-related operations, which will likely cause agent failures in real-world scenarios.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      A
      quality
      D
      maintenance
      Enables demand forecasting and replenishment recommendations using statistical models (Syntetos-Boylan classification, AutoETS, TSB) and provides tools for forecasting, evaluation, and order quantity calculation.
      6
      -
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables agents to forecast SKU sales velocity, calculate safety stock and reorder points, and autonomously generate supplier purchase orders when stock is running low. It exposes this supply-chain analysis over JSON-RPC 2.0 tools that can be called from any MCP-compatible client.
      7
      MIT