← 返回
未分类

feyagate

HTTP port for the MCP proxy server (default 38080)
HTTP port for the MCP proxy server (default 38080)
yjkj999999
未分类 community v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 13
下载
💾 0
安装
1
版本
#latest

概述

FeyaGate Skill — MCP Smart Home Gateway

Control smart home devices (lights, cameras, AC, speakers) from any AI agent via MCP protocol. Supports Xiaomi · Tuya · Midea · eWeLink · Serial · GPIO.

Prerequisites

  • Python 3.9+
  • macOS / Linux / Windows
  • curl (for installation)

Before Using Any Tool

Run this check before calling any FeyaGate MCP tool:

feyagate status
  • RUNNING → proceed with tool calls
  • STOPPED or command not found → run feyagate start first
  • Not installed → pip install feyagate-skill && feyagate setup && feyagate start

Quick Start

pip install feyagate-skill       # Install Python package
feyagate setup                   # Download MCP server binary (~30MB)
feyagate start                   # Start service on localhost:38080
feyagate install-claude          # Register with your AI agent
feyagate auth                    # Authorize smart home platform

Other agents: install-cursor, install-openclaw, install-hermes, install-codex, install-windsurf, install-copilot

Full guide: QUICKSTART.md

Server Lifecycle

ActionCommand
-----------------
Install binaryfeyagate setup [--dir PATH]
Startfeyagate start [--port PORT]
Stopfeyagate stop
Restartfeyagate restart [--port PORT]
Statusfeyagate status
Logsfeyagate log [-n 50]
Updatefeyagate update
Authfeyagate auth [--status] [--code CODE]

Cross-Platform Tools

These tools work across all platforms (system auto-detects device platform):

ToolArgumentsReturns
--------------------------
device/listfilter (string[]), platform (opt)Devices with platform field
device/specsdeviceId (string)Platform-specific spec: properties, actions
platform/statusAll platform connection/auth/sync status
gateway/infoVersion, device count, ports
scene/listplatform (string)Scene list
scene/triggerplatform, sceneIdTrigger result

> Parameter convention: device/specs uses deviceId (camelCase); platform-specific tools (xiaomi/, tuya/) use device_id (snake_case).

Sub-Skill Loading Strategy

The main skill provides cross-platform tools. Load sub-skills on demand based on the user's platform:

Sub-SkillFileWhen to Load
------------------------------
feyagate-xiaomiskills/xiaomi.mdXiaomi/Mi Home devices, cameras, XiaoAI speakers
feyagate-tuyaskills/tuya.mdTuya/Smart Life devices
feyagate-mideaskills/midea.mdMidea/美的 appliances
feyagate-ewelinkskills/ewelink.mdeWeLink/Sonoff devices
feyagate-automationskills/automation.mdSchedule, triggers, rooms, memory
feyagate-extensionskills/extension.mdSerial, GPIO, Xiaozhi AI, license

Workflow: device/listdevice/specs → identify platform → load corresponding sub-skill

License

  • Free: Xiaomi platform (device control, cameras, XiaoAI, MCP proxy)
  • Licensed: All platforms (Xiaomi + Tuya + Midea + eWeLink)
  • tuya/set_property, midea/set_property, ewelink/set_property return license_required on free edition
  • get_properties and read tools work without license

Configuration

~/.feyagate/config/config.yaml:

server:
  http_port: 38080
  ws_port: 8765
  bind_address: "0.0.0.0"
auth:
  cloud_server: "cn"      # cn / de / sg / us / ru / i2
camera:
  frame_interval: 500
  jpeg_quality: 90
xiaozhi:
  endpoint: ""            # ws:// or wss:// (empty = disabled)

Troubleshooting

SymptomFix
--------------
command not found: feyagatepip install feyagate-skill
FeyaGate not installedfeyagate setup
connection refusedfeyagate start
authorized: falsefeyagate auth or platform auth tool
Tool not foundCheck tools/list output
license_requiredSet license via license/set tool

Full API docs: FeyaGate_MCP_API.md, FeyaGate_HTTP_API.md

版本历史

共 1 个版本

  • v1.0.0 从ClawHub迁移发布 当前
    2026-06-07 11:40 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

it-ops-security

MoltGuard - Security & Antivirus & Guardrails

thomaslwang
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装后可防止您和您的用户受到提示注入、数据泄露及恶意行为的侵害。
★ 116 📥 31,116
it-ops-security

Free Ride - Unlimited free AI

shaivpidadi
管理OpenClaw的OpenRouter免费AI模型,自动按质量排名模型,配置速率限制备用方案,并更新opencla...
★ 473 📥 79,114
it-ops-security

1password

steipete
设置和使用 1Password CLI (op)。适用于:安装 CLI、启用桌面应用集成、登录(单/多账户)、通过 op 读取/注入/运行密钥。
★ 53 📥 32,166