Ai_Indeed_mcp_server 项目文档
项目概述
Ai_Indeed_mcp_server 是一个基于 FastMCP 框架的 MCP(Model Context Protocol)服务器,为 Z-Bot 机器人提供流程和任务管理功能。该服务器通过 MCP 协议与 AI 助手集成,允许 AI 通过标准化的工具调用来查询和执行机器人流程。
功能特性
- 流程查询: 通过
queryAppParam和queryAppList工具查询机器人流程信息 - 流程执行: 通过
runApp工具执行机器人流程 - 任务查询: 通过
queryTaskList工具查询机器人任务信息 - 任务管理: 通过
createTask、startTask工具创建任务和执行任务 - 日志记录: 日志记录在
%APPDATA%/Z-Factory/logs目录下
安装方式
使用 uvx (推荐)
uvx Ai_Indeed_mcp_server --bot-path "path/to/your/Z-Bot.exe"
Python 环境初始化(Windows 示例)
-
安装 Python(建议安装官方 3.12+)
-
创建并激活虚拟环境:
python -m venv .venv
.venv\Scripts\Activate.ps1 # PowerShell
# 或者使用 cmd:
.venv\Scripts\activate.bat
- 更新打包工具并安装项目依赖:
python -m pip install --upgrade pip setuptools wheel
pip install Ai_Indeed_mcp_server
安装 uv / uvx(如果尚未安装)
PS> powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
https://uv.oaix.tech/getting-started/installation/
注:uv 用于构建/打包站点,uvx 可用于在本地或服务器上启动/管理站点实例。
- 使用虚拟环境启动服务(示例):
py -m sz_mcp_server.sz_server --bot-path "C:\path\to\Z-Bot.exe"
- 使用 uvx 启动服务(示例):
uvx Ai_Indeed_mcp_server --bot-path "C:\path\to\Z-Bot.exe"
- 配置 uvx 启动项
{
"sz_mcp_server": {
"command": "uvx",
"args": [
"Ai_Indeed_mcp_server",
"--bot-path",
"C:\\path\\to\\your\\Z-Bot.exe"
]
}
}
Metadata
Release files for Ai_Indeed_mcp_server 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ai_indeed_mcp_server-1.0.0.tar.gz | 41.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ai_indeed_mcp_server-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 50.0 kB
Release files / ai_indeed_mcp_server-1.0.0.tar.gz
| Download URL | ai_indeed_mcp_server-1.0.0.tar.gz |
|---|---|
| Size | 41.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a3ac47962354b78259ad45c22b1660598c70fecd786a5e8787907a71670a594e
|
|
BLAKE2b-256 checksum How to use checksums |
9939267d9674660d5b1b1c555b25d3e129693fd76fda6e4f743a6ead20694970
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / ai_indeed_mcp_server-1.0.0-py3-none-any.whl
| Download URL | ai_indeed_mcp_server-1.0.0-py3-none-any.whl |
|---|---|
| Size | 8.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
67055f0be86d154e5f2822dde40218f9fc2f77ca90a1d9c9060c4869089cf564
|
|
BLAKE2b-256 checksum How to use checksums |
b465e0da4dcd899c01f04b633c4509a6f566c0a99aa4f78ef51d2b75a93a3a09
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|