
An MCP server that merges Google Search Console history with a live first-party crawl of your site to produce a prioritised, evidence-backed technical SEO audit inside Claude, complete with paste-ready fixes.

A real estate platform backend that exposes user and admin MCP HTTP servers, allowing MCP-aware clients to search properties, manage swipes, and schedule visits after OAuth authorization.
360 Ghar MCP HTTP servers is cataloged as an MCP server attributed to 360ghar. A real estate platform backend that exposes user and admin MCP HTTP servers, allowing MCP-aware clients to search properties, manage swipes, and schedule visits after OAuth authorization. It is categorized under search web. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for 360 Ghar MCP HTTP servers are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
The MCP servers use OAuth 2.1 authentication with phone and password via Supabase, exposing browser-based authorization and token endpoints plus authorization server metadata.
After the OAuth flow is authorized, a client can call tools such as property search, swipes, and visit scheduling over MCP.
README.md · 81c1feddc3a1 · 采集于 2026-11-13 12:34:48 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
A high-performance, modern backend powering 360 Ghar's unified real estate platform. Built with FastAPI and PostgreSQL, this API serves three integrated modules:
360 Ghar is a unified real estate platform serving the complete property lifecycle:
All three modules share a common backend infrastructure, user authentication, and property database.
A 2-3 minute silent walkthrough of the platform's six modules and architecture. Read the full wiki.
| Category | Technology |
|---|---|
| Backend Framework | FastAPI |
| Database | PostgreSQL + PostGIS |
| ORM | SQLAlchemy 2.0+ (Async) |
| Data Validation | Pydantic |
| Authentication | Supabase Auth |
| Caching | Redis (optional) |
| Migrations | Supabase Migrations |
| Observability | Sentry |
| Containerization | Docker & Docker Compose |
| Geospatial | GeoAlchemy2 |
app/
├── api/ # API endpoints and routing
│ └── api_v1/
│ └── endpoints/ # Individual endpoint modules
├── config/ # Compatibility config package; implementation remains in core/config.py
├── core/ # Core components (config, db, auth, logging)
├── infrastructure/ # App factory helpers, adapters, lifespan, middleware wiring
├── middleware/ # Custom middleware (rate limiting, security)
├── models/ # SQLAlchemy ORM models and enums
├── modules/ # Reserved namespace for future physical domain packages
├── schemas/ # Pydantic schemas for data validation
├── services/ # Business logic and database operations (legacy implementation layer)
├── shared/ # Reserved namespace for future physical shared packages
└── utils/ # Utility functions
supabase/
└── migrations/ # Database schema migrations
populate_data/ # Legacy data files (preserved for reference)
seed_data/ # Data seeding system (hardcoded, seed, generated categories)
tests/ # Test files
All endpoints are prefixed with /api/v1.
Authorization: Bearer <supabase_access_token> for protected routes./api/v1/auth/* user-session endpoints./users)GET /profile/: Get current user profilePUT /profile/: Update user profile informationPUT /preferences/: Update property search preferencesPUT /location/: Update user's current location/properties)GET /: Unified Property Search with geospatial, text search, and advanced filteringGET /recommendations/: Get personalized property recommendationsGET /{property_id}/: Get detailed property informationPOST /: Create new property (authenticated users)PUT /{property_id}/: Update property (property owners)DELETE /{property_id}/: Delete property (property owners)/swipes)POST /: Record property swipe (like/pass)GET /: Get swipe history with full search and filtering capabilitiesDELETE /undo/: Undo last swipe actionPUT /{swipe_id}/toggle/: Toggle like status of previously swiped propertyGET /stats/: Get user swipe statistics/visits)POST /: Schedule property visitGET /: List user's visits (all/upcoming/past)GET /{visit_id}/: Get visit detailsPOST /reschedule/: Reschedule existing visitPOST /cancel/: Cancel scheduled visit/bookings)POST /: Create short-stay bookingGET /: List user's bookingsGET /{booking_id}/: Get booking detailsPOST /check-availability/: Check property availabilityPOST /calculate-pricing/: Get booking price breakdownPOST /cancel/: Cancel booking/agents)GET /assigned/: Get user's assigned agentPOST /assign/: Assign agent to user (auto-assigns if no agent specified)GET /available/: List available agentsGET /{agent_id}/: Get agent detailsGET /{agent_id}/stats/: Get agent performance statistics/pm)/pm/dashboard: Portfolio overview and metrics/pm/properties: Managed properties CRUD/pm/tenants: Tenant directory/pm/applications: Rental applications and forms/pm/leases: Lease management/pm/rent: Rent charges and payments/pm/expenses: Expense tracking/pm/maintenance: Maintenance requests/pm/documents: Document vault/pm/inspections: Property inspections/pm/reports: Financial reportsClone the repository:
git clone https://github.com/your-username/360ghar-backend.git
cd 360ghar-backend
Install dependencies:
Option A: Using uv (Recommended)
# Install uv if not already installed
curl -LsSf https://astral.sh/uv/install.sh | sh
# Install dependencies (reads pyproject.toml)
uv sync
Option B: Using pip
# Create virtual environment
python -m venv .venv
# Activate it (Linux/Mac)
source .venv/bin/activate
# Or on Windows:
# .venv\Scripts\activate
# Install dependencies
uv sync
Note: This project uses
uvfor dependency management. Dependencies are defined inpyproject.tomland locked inuv.lock.
Set up environment variables:
cp .env.example .env
Edit the .env file with your database, Supabase, and other credentials.
Start database services:
docker-compose up -d db redis
Apply database migrations:
supabase db push
Load sample data (optional):
# Load all seed data (hardcoded + generated)
uv run python seed_data/01_load_all.py
# Quick mode — skip generated activity
uv run python seed_data/01_load_all.py --only hardcoded,seed
# Clear and reload
uv run python seed_data/02_clear_data.py --confirm
uv run python seed_data/01_load_all.py
Start the application:
If using uv (Recommended):
# Run with uv (no need to activate virtual environment)
uv run python run.py
# Or using FastAPI CLI with hot reload (recommended for development)
uv run fastapi dev app/main.py --port 3600 --host 0.0.0.0
If using pip (with activated virtual environment):
# Run directly
python run.py
# Or using FastAPI CLI with hot reload (recommended for development)
fastapi dev app/main.py --port 3600 --host 0.0.0.0
The API will be available at http://localhost:3600.
💡 Development Tip: FastAPI CLI provides better hot reload performance and additional development features. It's the recommended way for active development.
The backend exposes Model Context Protocol (MCP) HTTP servers for AI assistants and MCP‑aware clients.
| Endpoint | Purpose |
|---|---|
/mcp | User MCP server (owners, tenants, regular users) |
/mcp-admin | Admin MCP server (agents, administrators) |
Both servers use OAuth 2.1 authentication (phone + password via Supabase):
GET /mcp/oauth/authorize (browser-based login + consent page)POST /mcp/oauth/tokenGET /.well-known/oauth-authorization-server/mcp/oauthFor end-user applications:
{
"mcpServers": {
"ghar360": {
"transport": "http",
"url": "https://api.360ghar.com/mcp"
}
}
}
For agent/admin applications:
{
"mcpServers": {
"ghar360-admin": {
"transport": "http",
"url": "https://api.360ghar.com/mcp-admin"
}
}
}
After configuration, the client will initiate an OAuth flow in the browser; once authorized, it can call tools such as property search, swipes, and visit scheduling over MCP.
To run the entire stack in containers:
# Build and start all services
docker-compose up --build
# Or run in detached mode
docker-compose up -d --build
Create a .env file based on .env.example:
# Database Configuration
DATABASE_URL=postgresql://username:password@localhost:5432/ghar360
# Supabase Configuration
SUPABASE_URL=https://your-project.supabase.co
SUPABASE_PUBLISHABLE_KEY=your_publishable_key
SUPABASE_SECRET_KEY=your_service_role_key
# Storage uses Cloudinary (configured via CLOUDINARY_* env vars)
# JWT Configuration
SECRET_KEY=your_jwt_secret_key
ALGORITHM=HS256
ACCESS_TOKEN_EXPIRE_MINUTES=30
# Optional Services
REDIS_URL=redis://localhost:6379
SENTRY_DSN=your_sentry_dsn_here
ENABLE_SENTRY_TEST_ENDPOINT=false
# Environment
ENVIRONMENT=development
# Push Notifications (FCM + Supabase)
FIREBASE_PROJECT_ID=your_firebase_project_id
GOOGLE_APPLICATION_CREDENTIALS=/absolute/path/to/service-account.json
ENABLE_NOTIF_SCHEDULER=false
NOTIF_SCHED_TZ=Asia/Kolkata
# Vector Embeddings / Semantic Search
GOOGLE_API_KEY=
GEMINI_EMBED_MODEL=gemini-embedding-2
VECTOR_SYNC_ENABLED=true
# Either provide CRON schedule or interval seconds (defaults to CRON below)
VECTOR_SYNC_CRON=*/10 * * * *
VECTOR_SYNC_INTERVAL_SECONDS=300
VECTOR_SYNC_BATCH_SIZE=500
VECTOR_SYNC_MAX_RETRIES=3
### One-time backfill
Run a single incremental sync pass (first run will process all properties):
```bash
uv run python -m app.vector.backfill
The service creates a property_embeddings table (pgvector) and tracks incremental progress in vector_sync_state.
## API Documentation
Once running, access the interactive API documentation:
- **Swagger UI**: [http://localhost:3600/api/v1/docs](http://localhost:3600/api/v1/docs)
- **ReDoc**: [http://localhost:3600/api/v1/redoc](http://localhost:3600/api/v1/redoc)
- **OpenAPI YAML**: [http://localhost:3600/api/v1/openapi.yaml](http://localhost:3600/api/v1/openapi.yaml)
Additional endpoints:
- **Health Check**: [http://localhost:3600/health](http://localhost:3600/health)
- **Config Info**: [http://localhost:3600/config](http://localhost:3600/config)
### Notifications API
- `POST /api/v1/notifications/devices/register` — Register or refresh device token (uses auth header when present)
- `POST /api/v1/notifications/send/token` — Send to a single token (admin only)
- `POST /api/v1/notifications/send/user` — Send to all tokens for a user (admin only)
- `POST /api/v1/notifications/send/topic` — Broadcast to an FCM topic (admin only)
- `POST /api/v1/notifications/send/bulk` — Bulk send to up to 500 tokens (admin only)
- `POST /api/v1/notifications/deliveries/{delivery_id}/opened` — Mark a delivery as opened
## Key Implementation Details
### Authentication System
- **Phone-First Authentication**: Uses phone numbers as primary identifiers with Supabase Auth
- **JWT Token Validation**: Local token verification for optimal performance
- **Flexible Verification**: Supports both email and phone verification
- **User Sync**: Automatic synchronization between Supabase and local database
### Database Architecture
- **Async SQLAlchemy 2.0+**: Modern async database operations
- **PostGIS Integration**: Efficient geospatial queries with proper indexing
- **PgBouncer Ready**: Configured for production connection pooling
- **Full-Text Search**: PostgreSQL native text search capabilities
- **Comprehensive Indexing**: Optimized indexes for common query patterns
### Property Search System
- **Unified Search Endpoint**: Single endpoint supporting multiple search types
- **Geospatial Optimization**: PostGIS `ST_DWithin` for radius-based searches
- **Full-Text Search**: PostgreSQL TSVECTOR for relevant text matching
- **Semantic Search**: Hybrid vector + text relevance scoring for richer discovery
- **Advanced Filtering**: Support for 25+ property filters
- **Pagination**: Efficient cursor-based pagination for large datasets
- **Endpoints**: `GET /api/v1/properties` (set `semantic_search=true&q=` for hybrid) and `GET /api/v1/properties/semantic-search` (pure semantic + filters)
### Agent Management
- **Auto-Assignment**: Round-robin agent assignment based on workload
- **Load Balancing**: Distributes users across available agents
- **Performance Tracking**: Comprehensive agent statistics and metrics
- **Availability Management**: Real-time agent availability tracking
### Performance Optimizations
- **Async Throughout**: Non-blocking operations from API to database
- **Efficient Queries**: Optimized database queries with proper joins and indexes
- **Caching Ready**: Redis integration for caching expensive operations
- **Error Handling**: Comprehensive error handling with Sentry integration
## Contributing
Contributions are welcome! Please follow these steps:
1. Fork the repository
2. Create a feature branch (`git checkout -b feature/amazing-feature`)
3. Commit your changes (`git commit -m 'Add amazing feature'`)
4. Push to the branch (`git push origin feature/amazing-feature`)
5. Open a Pull Request
## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
---
**360 Ghar Development Team** - [dev@360ghar.com](mailto:dev@360ghar.com)
Project Link: [https://github.com/your-username/360ghar-backend](https://github.com/your-username/360ghar-backend)
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for 360 Ghar MCP HTTP servers from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/backend-360ghar)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

An MCP server that merges Google Search Console history with a live first-party crawl of your site to produce a prioritised, evidence-backed technical SEO audit inside Claude, complete with paste-ready fixes.

Runs a free Answer Engine Optimization and AI visibility report for a domain and returns a shareable report plus a structured summary.

An MCP server that offers intelligent web search using OpenAI reasoning models, with support for fast iterations and deep research.