Data Favor MCP Server
Provides tools to interact with Firestore, allowing retrieval of customer documents by Firebase UID and searching customers by email or phone.
Provides tools to query customer and order data from MongoDB, including fetching a user by phone, recent platform orders, and past orders for a specific user.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Data Favor MCP ServerSearch for customer by email jane@example.com"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Data Favor MCP Server
This is a custom, read-only Model Context Protocol (MCP) server for Favor OS. It allows AI assistants (like Claude) to securely query the MongoDB database and Firebase Firestore for customer and order data without any risk of data modification.
🔒 Security & Architecture
This MCP server is designed to be hosted on the Munchie Server. By running it on the Munchie server, we achieve maximum security:
No Local Credentials: The co-founder connecting to this server does not need database credentials on their laptop.
Static IPs: We do not need to whitelist dynamic home IP addresses in MongoDB Atlas. The Munchie server's IP is already whitelisted.
Encrypted Tunnel: The connection from the local AI client to the Munchie server happens entirely over Tailscale and SSH.
Related MCP server: MongoDB MCP Server
🛠️ Tools Available
MongoDB (Prisma)
mongodb_get_user_by_phone: Fetch a user and their addresses by phone number.mongodb_get_recent_orders: Fetch the most recent orders across the platform.mongodb_get_user_orders: Fetch past orders for a specific user ID.
Firestore (Firebase Admin)
firestore_get_customer: Fetch a customer document by their Firebase UID.firestore_search_customers: Search for customers by email or phone number.
🚀 Deployment (Munchie Server)
SSH into the Munchie server (via Tailscale).
Pull the latest code and navigate to this directory.
Install dependencies and build the server:
npm install npm run buildProvide the required environment variables in a
.envfile (see Configuration below).
⚙️ Configuration (Environment Variables)
Create a .env file in this directory on the Munchie server with the following:
# MongoDB Connection String (must be read-only or the same one the backend uses)
DATABASE_URL="mongodb+srv://..."
# Path to the Firebase Service Account JSON file for Firestore access
GOOGLE_APPLICATION_CREDENTIALS="/absolute/path/to/firebase-service-account.json"💻 Client Setup (For Co-Founder)
To use this MCP server, the co-founder must:
Be connected to the Tailscale network.
Have SSH access to the Munchie server configured.
Then, add the following configuration to claude_desktop_config.json (or Cursor's MCP settings):
{
"mcpServers": {
"data-favor": {
"command": "ssh",
"args": [
"user@munchie-server",
"node",
"/absolute/path/to/PF/data-favor-mcp/build/index.js"
]
}
}
}(Replace user@munchie-server with the correct SSH user and Tailscale hostname/IP, and update the absolute path to the build directory).
This server cannot be deployed
Maintenance
Related MCP Connectors
Read-only MCP server for ClassQuill, a tutoring-business-management platform.
An MCP server that provides read access to your cloud storage providers, bank accounts and more.
Read-only MCP server for The Quiet Protocol's engines, benchmarks, proof, and business data.
Federated commerce search across independent WooCommerce merchants. Keyless, read-only MCP server.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA read-only MongoDB MCP server designed for serverless deployment on Vercel, providing secure, limited access to MongoDB databases for AI assistants.1-
- AlicenseAqualityDmaintenanceA read-only MCP server for querying MongoDB databases, enabling listing databases, collections, indexes, and running aggregation pipelines.519 npmMIT
- FlicenseNot gradedqualityBmaintenanceDemo MCP server that exposes order and customer data as read-only tools for AI assistants, simulating a business API or internal data source.-
- FlicenseNot gradedqualityCmaintenanceRead-only MCP server for MongoDB ERP analytics with catalog-driven collection allowlist and safe find/aggregate tools.1-