MRP Calculator MCP Server
# MRP Calculator MCP Server
## Overview
This MCP server provides tools for Material Requirements Planning (MRP) calculations. It follows the Model Context Protocol (MCP) to expose its functionality to the system.
## Features
- Delivery schedule calculation
- Order need determination
- MRP period calculations
## Tools
The server provides the following MCP tools:
### calculate_order_need
Calculates when and how much to order based on:
- Current inventory levels
- Forecast periods
- Delivery schedules
- Order constraints
## Configuration
The server can be configured through the MCP settings file with:
```json
{
"mcpServers": {
"mrp": {
"command": "node",
"args": ["/path/to/mrp-calculator/dist/index.js"],
"env": {}
}
}
}
```
## Development
- Written in TypeScript
- Uses MCP SDK for server implementation
- Includes test cases for validation
## Project Structure
```
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
```
## Building and Running
```bash
# Install dependencies
npm install
# Build the server
npm run build
# Run the server
node dist/index.js
```
## Version Control
This repository uses Git for version control. Important files are tracked while build artifacts and dependencies are ignored via .gitignore.TDQS
Scored across 1 tool
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.
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.
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.
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.