M
Mcpm
by @ManiFed
MCP server by ManiFed
Created 2/21/2026
Updated 3 days ago
README
Repository documentation and setup instructions
MCPM
A React + TypeScript app for prediction market simulation and analysis.
This version removes direct Supabase usage. The frontend now calls local /api endpoints served by this same app (no Supabase required), while still supporting an external backend via VITE_API_BASE_URL if you prefer.
Local development
Requirements:
- Node.js 18+
- npm
git clone <YOUR_GIT_URL>
cd MCPM
npm install
npm run dev
Scripts
npm run dev- Start the Vite development servernpm run build- Build production assetsnpm run preview- Preview the production build locallynpm start- Start the production preview server (binds to0.0.0.0:$PORTfor Railway)npm run test- Run test suite
Backend/API configuration
The frontend calls:
POST /api/firecrawl-scrapePOST /api/ai-analysis
By default it uses same-origin requests and the included Node server handles these routes.
Required server env vars for full functionality:
AI_GATEWAY_API_KEY(required forPOST /api/ai-analysis)AI_GATEWAY_URL(optional, defaults to OpenRouter Chat Completions endpoint)
Optional frontend override:
VITE_API_BASE_URL(if you want the frontend to call a separate backend service instead of same-origin).
Deploying on Railway
- Deploy this service (it now includes both frontend +
/apiroutes in one process). - Set
AI_GATEWAY_API_KEY(and optionallyAI_GATEWAY_URL) on Railway. - If you later split backend/frontend, set
VITE_API_BASE_URLin the frontend service.
Tech stack
- Vite
- React
- TypeScript
- Tailwind CSS
- shadcn/ui
Quick Setup
Installation guide for this server
Install Package (if required)
npx @modelcontextprotocol/server-mcpm
Cursor configuration (mcp.json)
{
"mcpServers": {
"manifed-mcpm": {
"command": "npx",
"args": [
"manifed-mcpm"
]
}
}
}