Prime Forecast MCP
Enables read-only access to sales forecasts, team forecasts, and company forecasts from Prime Forecast V3. It provides role-based permissions for Sales, Team Admin, and Admin users.
README
Prime Forecast MCP
Read-only MCP gateway ระยะที่ 1 สำหรับ 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: ไม่มี create/update/delete/write tool
เครื่องมือระยะที่ 1
| Tool | Sales | Team Admin | Admin |
|---|---|---|---|
get_my_forecast |
✓ | ✓ | ✓ |
list_team_forecasts |
— | ✓ (เฉพาะทีมที่ดูแล) | ✓ |
get_sales_forecast |
— | ✓ (เฉพาะทีมที่ดูแล) | ✓ |
get_company_forecast |
— | — | ✓ |
ทุก tool มี MCP annotations เป็น readOnlyHint: true, destructiveHint: false และตรวจทั้ง role กับ explicit permission จาก Laravel
เริ่มในเครื่องพัฒนา
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
ค่าจากไฟล์ .env ไม่ได้ถูกโหลดอัตโนมัติใน production; ให้ตั้งผ่าน Plesk Environment Variables โดยตรง
เอกสาร
- แผนและเกณฑ์อนุมัติ Phase 1
- สถาปัตยกรรมและ security boundaries
- Laravel API contract
- วิธีผสาน Laravel V3
- Deploy ผ่าน Plesk/GitHub โดยไม่มี Terminal
- Permission test matrix
สถานะสำคัญ
ตัว Node MCP และ automated tests พร้อมแล้ว แต่ยัง ห้ามเปิด production data จนกว่าจะทำ adapter ของ Laravel ให้เข้ากับ model/schema จริง, ทดสอบด้วยบัญชี Sales / Team Admin / Admin จริงครบทุกกรณี และยืนยันกลไก OAuth 2.1 หรือ token issuance ที่จะใช้กับ client จริง ห้ามเพิ่ม write tools จนกว่าจะผ่าน approval gate ใน docs/phase-1-plan.md
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Neon Database
MCP server for interacting with Neon Management API and databases
E2B
Using MCP to run code via e2b.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.