Skip to main content
Glama
Prime Forecast MCP

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: Gatehouse

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.

Tool Schema Changelog

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

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      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.
      18
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables read-only access to Wise Business API profiles, balances, account statements, and card-spending data through MCP tools.
      MIT