Skip to main content
Glama
makpdkpp

Prime Forecast MCP

by makpdkpp

Prime Forecast MCP

Read-only MCP gateway Phase 1 for Prime Forecast V3

  • Production Laravel: https://sale.primes.co.th

  • Remote MCP: https://mcp.primes.co.th/mcp

  • Runtime: Node.js 24.19.0

  • Plesk startup file: app.js

  • Transport: stateless Streamable HTTP

  • Data path: MCP → Laravel API Gateway → Prime Forecast V3

  • Phase 1 policy: no create/update/delete/write tools

Phase 1 tools

Tool

Sales

Team Admin

Admin

get_my_forecast

✓

✓

✓

list_team_forecasts

—

✓ (teams they manage only)

✓

get_sales_forecast

—

✓ (teams they manage only)

✓

get_company_forecast

—

—

✓

Every tool has MCP annotations readOnlyHint: true, destructiveHint: false and checks both role and explicit permission from Laravel

Related MCP server: sales-mcp-ui-poc

Getting started locally

Copy-Item .env.example .env
npm install
npm test
$env:NODE_ENV='development'
$env:LARAVEL_MCP_SERVICE_TOKEN='local-test-service-token'
node app.js

Values from the .env file are not loaded automatically in production; set them directly via Plesk Environment Variables

Documentation

Important status

The Node MCP and automated tests are ready, but do not expose production data until the Laravel adapter is aligned with the real model/schema, tested with real Sales / Team Admin / Admin accounts across all cases, and the OAuth 2.1 or token issuance mechanism to be used with real clients is confirmed. Do not add write tools until the approval gate in docs/phase-1-plan.md is passed.

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    Provides read-only access to self-hosted cash-flow forecasts, balances, transactions, and credit-card data, letting AI clients answer spending and upcoming-obligation questions without modifying financial settings.
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables read-only sales dashboard and opportunity data access, plus Blob-backed quote preview and explicitly confirmed simulated quote saves through MCP tools with a bundled MCP Apps UI.
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Provides safe, read-only CRM access for AI assistants with per-key scopes, field masking, rate limits, and a full audit log of allowed and blocked actions.
    MIT
  • F
    license
    C
    quality
    C
    maintenance
    Enables agents to authenticate to Primavera Unifier and query REST V1/V2 APIs through read-only tools and Enterprise AI workflows for shells, business process records, project health, cost/schedule analysis, risks, documents, approvals, audits, and permissions. Write operations remain gated unless explicitly enabled.
    6
    18
    -