Xiaozhi Mcp Openclaw Official OpenClaw Skill

按小智官方 MCP 接入方式,把小智 AI 设备通过 MCP 接到 OpenClaw / OpenAI-compatible 后端。适用于已经有小智 MCP 接入点(wss://api.xiaozhi.me/mcp/?token=...)的场景。提供一个 `openclaw_query(message)` MCP...

v1.0.2 Recently Updated Updated 2 wk ago

Installation

clawhub install xiaozhi-mcp-openclaw-official

Requires npm i -g clawhub

77

Downloads

0

Stars

0

current installs

0 all-time

3

Versions

xiaozhi-mcp-openclaw-official

简体中文 | English


简体中文

作用

这是一个按小智官方文档方式接入的最小可用 MCP 原型。

数据流:

小智
→ MCP 接入点
→ mcp_pipe.py
→ openclaw_mcp.py
→ OpenAI/OpenAI-compatible 后端
→ 回复文本
→ 小智播报

提供的工具

  • openclaw_query(message)
    • 当用户提到“龙虾机器人”“龙虾”或需要外部能力时,调用这个工具
    • 返回适合语音播报的简短中文结果

启动步骤

  1. 安装依赖:
pip install -r requirements.txt
  1. 复制配置:
cp .env.example .env
  1. 修改 .env
  • MCP_ENDPOINT
  • OPENAI_BASE
  • OPENAI_KEY
  • MODEL
  1. 启动:
python3 mcp_pipe.py openclaw_mcp.py

关键配置项

  • MCP_ENDPOINT:小智 MCP 接入点
  • OPENAI_BASE:OpenAI/OpenAI-compatible 后端地址
  • OPENAI_KEY:后端 key
  • MODEL:模型名(如 gpt-5.4

注意事项

  • 不要把真实 .env 连同密钥一起分享
  • 这是一个原型桥接项目,后续可以继续增强成真正的 OpenClaw 多工具接入版

English

Purpose

This is a minimal working MCP prototype that follows XiaoZhi's official MCP integration style.

Flow:

XiaoZhi
→ MCP endpoint
→ mcp_pipe.py
→ openclaw_mcp.py
→ OpenAI/OpenAI-compatible backend
→ reply text
→ XiaoZhi speaks it

Provided tool

  • openclaw_query(message)
    • Use when the user mentions “龙虾机器人 / Lobster Robot” or when an external capability is needed
    • Returns a short Chinese reply suitable for voice playback

Startup

  1. Install dependencies:
pip install -r requirements.txt
  1. Copy config:
cp .env.example .env
  1. Update .env:
  • MCP_ENDPOINT
  • OPENAI_BASE
  • OPENAI_KEY
  • MODEL
  1. Start:
python3 mcp_pipe.py openclaw_mcp.py

Key config values

  • MCP_ENDPOINT: XiaoZhi MCP endpoint
  • OPENAI_BASE: OpenAI/OpenAI-compatible backend URL
  • OPENAI_KEY: backend API key
  • MODEL: model name (for example gpt-5.4)

Notes

  • Do not publish your real .env or secrets
  • This is a prototype bridge and can later be extended into a richer OpenClaw multi-tool integration

Statistics

Downloads 77
Stars 0
Current installs 0
All-time installs 0
Versions 3
Comments 0
Created Mar 24, 2026
Updated Mar 24, 2026

Latest Changes

v1.0.2 · Mar 24, 2026

Rename skill display name to 小智AI-Xiaozhi Mcp Openclaw Official.

Quick Install

clawhub install xiaozhi-mcp-openclaw-official
EU Made in Europe

Chat with 100+ AI Models in one App.

Use Claude, ChatGPT, Gemini alongside with EU-Hosted Models like Deepseek, GLM-5, Kimi K2.5 and many more.