A powerful interface for extending AI capabilities through remote control, calculations, email operations, knowledge search, and more.
A powerful interface for extending AI capabilities through remote control, calculations, email operations, knowledge search, and more.
一个强大的接口,用于通过远程控制、计算、邮件操作、知识搜索等方式扩展AI能力。
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或执行计算。每个工具都由一个唯一的名称标识,并包含描述其模式的元数据。
python3 -m venv venv source venv/bin/activate pip3 install -r requirements.txt
# Copy the .env.example file to your own configuration file, e.g., .env.xiaozhi1 # 参考 .env.example 文件,复制到你自己的配置文件例如 .env.xiaozhi1
# You can run different XiaoZhi MCP access points through different configuration files # 可以通过不同的配置文件,来运行到不同的多个小智MCP接入点 python mcp_pipe.py aggregate.py --env-file .env.xiaozhi1
Here's a simple example of creating an MCP tool | 以下是一个创建MCP工具的简单示例:
关闭电脑的系统代理 Close the system proxy on your computer
Contributions are welcome! Please feel free to submit a Pull Request.
欢迎贡献代码!请随时提交Pull Request。
This project is licensed under the MIT License - see the LICENSE file for details.
本项目采用MIT许可证 - 详情请查看LICENSE文件。
Discover shared experiences
Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!