Priority MCP Platform
Multi-tenant MCP server connecting Claude to Priority ERP via OData. Supports read-only operations through natural language.
README
Priority MCP Platform
מערכת MCP רב-לקוחית שמחברת Claude/AI ל-Priority ERP דרך OData, עם ממשק ניהול Web.
ארכיטקטורה
- Web (Vercel) — Next.js Admin UI
- MCP Server (Render) — Streamable HTTP MCP + Priority OData client
- Supabase — Postgres, Auth, migrations
Claude → MCP Server (Render) → Priority OData
Admin → Web (Vercel) → Supabase + Render Internal API
התחלה מהירה (מקומי)
1. התקנת תלויות
pnpm install
pnpm build
2. Supabase
- צור פרויקט ב-Supabase
- הרץ migrations:
npx supabase link --project-ref <your-ref>
npx supabase db push
- צור משתמש אדמין ב-Authentication → Users
3. משתני סביבה
העתק .env.example לכל אפליקציה:
apps/mcp-server/.env
SUPABASE_URL=
SUPABASE_SERVICE_ROLE_KEY=
ENCRYPTION_KEY= # node -e "console.log(require('crypto').randomBytes(32).toString('base64'))"
CORS_ORIGINS=http://localhost:3000
PORT=3001
apps/web/.env.local
NEXT_PUBLIC_SUPABASE_URL=
NEXT_PUBLIC_SUPABASE_ANON_KEY=
RENDER_INTERNAL_API_URL=http://localhost:3001/internal
NEXT_PUBLIC_MCP_SERVER_URL=http://localhost:3001/mcp
4. הרצה
pnpm dev
- Web: http://localhost:3000
- MCP: http://localhost:3001/mcp
- Health: http://localhost:3001/health
Deploy
Render (MCP Server)
- חבר את ה-repo ל-Render
- השתמש ב-render.yaml
- הגדר env vars:
SUPABASE_URL,SUPABASE_SERVICE_ROLE_KEY,ENCRYPTION_KEY,CORS_ORIGINS
Vercel (Web)
- Import הפרויקט, root directory:
apps/web - הגדר env vars מ-
.env.example - עדכן
RENDER_INTERNAL_API_URLו-NEXT_PUBLIC_MCP_SERVER_URLלכתובות Render
Supabase
הרץ migrations על הפרויקט ב-production.
חיבור Claude
- בממשק הניהול → לקוח → "יצירת מפתח MCP"
- הוסף ל-Claude Desktop config:
{
"mcpServers": {
"priority-mcp": {
"url": "https://<render-app>.onrender.com/mcp",
"headers": {
"Authorization": "Bearer <tenant_api_key>"
}
}
}
}
MVP — Read Only
המערכת תומכת רק ב-GET OData. כל ה-tools מוגדרים כ-read_only.
מבנה הפרויקט
apps/web/ # Next.js admin
apps/mcp-server/ # MCP + Priority client + internal API
packages/shared/ # types, schemas, crypto, odata helpers
supabase/ # migrations
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.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
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.