belong-mcp

belong-mcp

Exposes Belong Resident Application APIs as MCP tools for AI assistants to manage visitors, vehicles, maintenance, amenity bookings, and finances.

Category
访问服务器

README

Belong MCP Server

An MCP (Model Context Protocol) server that exposes the Belong Resident Application APIs as tools. This lets AI assistants like Claude interact with your Belong society account -- manage visitors, vehicles, maintenance issues, amenity bookings, finances, and more.

Prerequisites

Setup

  1. Clone the repo

    git clone https://github.com/arjunbhasin/belong-mcp.git
    cd belong-mcp
    
  2. Install dependencies

    npm install
    
  3. Create a .env file (optional -- you can authenticate via OTP through the MCP tools instead)

    cp .env.example .env
    

    If you already have tokens, populate them:

    ACCESS_TOKEN=your_access_token
    REFRESH_TOKEN=your_refresh_token
    MOBILE_NUMBER=your_mobile_number
    

Running the Server

The server communicates over stdio, which is how MCP clients (like Claude Code or Claude Desktop) connect to it.

node index.js

Or using the npm script:

npm start

Connecting to Claude Code

Add to your Claude Code MCP config (~/.claude/claude_code_config.json or project-level .mcp.json):

{
  "mcpServers": {
    "belong-mcp": {
      "command": "node",
      "args": ["/absolute/path/to/belong-mcp/index.js"]
    }
  }
}

Connecting to Claude Desktop

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "belong-mcp": {
      "command": "node",
      "args": ["/absolute/path/to/belong-mcp/index.js"]
    }
  }
}

Authentication

There are two ways to authenticate:

Option 1: OTP via MCP tools (recommended)

Once the server is connected, use the built-in authentication tools:

  1. Call request_otp with your mobile number
  2. Call verify_otp with the OTP you received
  3. Tokens are saved to .env automatically

Option 2: Manual .env file

If you have tokens from another session, add them to the .env file directly (see Setup step 3).

The server automatically refreshes expired access tokens using the refresh token.

Available Tools

Authentication

Tool Description
request_otp Send OTP to mobile number
verify_otp Verify OTP to complete login
check_auth_status Check current auth state

Profile & Flats

Tool Description
get_resident_profile Get your profile (name, mobile, email)
get_flat_access Get flat feature flags and access details
get_occupancy_detail Get tower/wing/floor info for a flat
list_flats List all your associated flats
list_flats_by_occupancy Filter flats by occupancy ID
get_flats_by_resident_ids Look up flats for specific residents

Visitors & Gate

Tool Description
get_visitor_approvals List gate entries for a date
get_approvals_count Monthly visitor approval count
get_exit_passes Material movement exit passes
get_entry_stats Visitor entry statistics
list_visitor_companies Delivery companies by category

Staff & Services

Tool Description
list_service_staffs Registered staff (maid, cook, etc.)
list_service_staff_bookings Staff booking schedules
list_service_types Available service types

Vehicles

Tool Description
list_resident_vehicles Vehicles registered to a flat
search_vehicles Search by registration number
list_vehicle_brands Available vehicle brands

Maintenance Issues

Tool Description
list_maintenance_issues Your complaints and issues
list_issue_categories Available issue categories
get_issue_stats Issue statistics

Amenities

Tool Description
list_booked_slots Amenity bookings (gym, pool, etc.)
get_booking_stats Booking statistics

Community

Tool Description
get_announcements Community announcements
list_community_feeds Community feed posts
get_banners Promotional banners
list_campaigns Active campaigns
list_rwa_members RWA committee members

Buggy Service

Tool Description
list_buggy_stops Golf cart pickup/drop stops
get_buggy_activity Buggy ride history

Chat

Tool Description
list_chat_enabled_residents Residents available for chat
list_chat_wings Wings available for chat
list_chat_flat_residents Residents on a floor

Infrastructure

Tool Description
get_towers Buildings in a project
get_module_access Enabled modules/features
list_external_services Integrated services (laundry, food)
list_languages Available languages

Finance & Billing

Tool Description
get_financial_ledger Transaction history for a date range
get_invoice_stats Unpaid amounts, interest, balance
list_demandnote_requests Payment demands from management
get_payment_config Payment method configuration

Notifications & Delivery

Tool Description
get_notifications_count Unread notification count
get_delivery_preferences Auto-approve delivery settings

License

ISC

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选