Skip to main content
Glama

Xiaozhi MCP Aggregate

by xiguaxiaome

MCP Aggregate | MCP 集合项目

A powerful interface for extending AI capabilities through remote control, note, email operations, knowledge search, and more.

一个强大的接口,用于通过远程控制、笔记、邮件操作、知识搜索等方式扩展AI能力。

Overview | 概述

MCP (Model Context Protocol) is a protocol that allows servers to expose tools that can be invoked by language models. Tools enable models to interact with external systems, such as querying databases, calling APIs, or performing computations. Each tool is uniquely identified by a name and includes metadata describing its schema.

MCP(模型上下文协议)是一个允许服务器向语言模型暴露可调用工具的协议。这些工具使模型能够与外部系统交互,例如查询数据库、调用API或执行计算。每个工具都由一个唯一的名称标识,并包含描述其模式的元数据。

Quick Start | 快速开始

  1. Install dependencies | 安装依赖:
python3 -m venv venv source venv/bin/activate pip3 install -r requirements.txt
  1. Set up environment variables | 设置环境变量:
修改这个文件: .env.xiaozhi1
  1. Run the example | 运行示例:
# You can run different XiaoZhi MCP access points through different configuration files # 可以通过不同的配置文件,来运行到不同的多个小智MCP接入点 python mcp_pipe.py aggregate.py --env-file .env.xiaozhi1

Creating Your Own MCP Tools | 创建自己的MCP工具

Here's a simple example of creating an MCP tool | 以下是一个创建MCP工具的简单示例:

  • According to the example in the tools folder, create your own tool | 根据 tools 文件夹中的示例创建自己的工具
  • The tool name is distinguished by function_channel, for example, email_google indicates that it is a Google Mail MCP tool | 工具命名以 功能_渠道区分,例如 email_google 表明是谷歌邮箱的MCP工具
  • Register your tool in aggregate.py | 在 aggregate.py 中注册你的工具
  • Configure the environment variables for your tool in the .env.xxx file (if any) | 在 .env.xxx 文件中配置你的工具的环境变量(如果有的话)
  • If you want to contribute code, you also need to add the environment variables for your tool (if any) in the .env.example file | 如果要贡献代码的话还需要在 .env.example 文件中添加你的工具的环境变量(如果有的话)

Requirements | 环境要求

  • Python 3.10+
  • websockets>=11.0.3
  • python-dotenv>=1.0.0
  • mcp>=1.8.1
  • pydantic>=2.11.4
  • 。。。

FAQ | 常见问题

  • MCP_PIPE - ERROR - Connection error: python-socks is required to use a SOCKS proxy
关闭电脑的系统代理 Close the system proxy on your computer

Acknowledgments | 致谢

  • https://github.com/78/mcp-calculator | 完全根据78前辈的计算器mcp,做的外扩
  • Thanks to all contributors who have helped shape this project | 感谢所有帮助塑造这个项目的贡献者
  • Inspired by the need for extensible AI capabilities | 灵感来源于对可扩展AI能力的需求
-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

A protocol implementation that extends AI capabilities by enabling language models to interact with external systems through remote control, notes, email operations, and knowledge search.

  1. Overview | 概述
    1. Quick Start | 快速开始
      1. Creating Your Own MCP Tools | 创建自己的MCP工具
        1. Requirements | 环境要求
          1. FAQ | 常见问题
            1. Acknowledgments | 致谢

              Related MCP Servers

              • -
                security
                F
                license
                -
                quality
                An integration that enables AI assistants to interact with network data through a standardized protocol, providing AI-ready tools and interfaces for network automation and management.
                Last updated -
                14
                Python
              • -
                security
                A
                license
                -
                quality
                A customizable Model Context Protocol server implementation that enables AI models to interact with external tools including weather queries, Google search, and camera control functionality.
                Last updated -
                8
                Python
                Apache 2.0
                • Linux
                • Apple
              • -
                security
                F
                license
                -
                quality
                A protocol interface that extends AI capabilities by enabling models to interact with external systems for calculations, email operations, knowledge search, and more.
                Last updated -
                27
                Python
              • -
                security
                F
                license
                -
                quality
                A powerful interface for extending AI capabilities through remote control, calculations, email operations, knowledge search, and more.
                Last updated -
                15
                Python

              View all related MCP servers

              MCP directory API

              We provide all the information about MCP servers via our MCP API.

              curl -X GET 'https://glama.ai/api/mcp/v1/servers/xiguaxiaome/xiaozhi-MCP'

              If you have feedback or need assistance with the MCP directory API, please join our Discord server