EmoVideoAna MCP Server
analyse des émotions de la vidéo
Documentation
🛠️ 环境设置 (Environment Setup)
🐧 Linux / macOS Setup
首先,安装uv并设置 Python 项目和环境
curl -LsSf https://astral.sh/uv/install.sh | sh
之后请务必重启终端,以确保uv命令生效。
进入项目根目录,然后执行以下命令:
uv python install 3.13
通过uv添加mcp官方库
uv add "mcp[cli]" httpx
🪟 Windows Setup
这里是 Windows 的环境设置步骤。
首先,安装uv并设置 Python 项目和环境
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
之后请务必重启终端,以确保uv命令生效。
进入项目根目录,然后执行以下命令:
uv python install 3.13
通过uv添加mcp官方库
uv add "mcp[cli]" httpx
🤖 在AI 对话客户端中使用
打开AI 对话客户端 配置,在MCP中添加MCP Server
在文件中添加如下内容后保存
{
"mcpServers": {
"hbidept": {
"command": "uv",
"args": [
"--directory",
"{YOUR_PATH}/emo-video-analysis-mcp",
"run",
"main.py"
],
"env": {
"APP_KEY": "<YOUR_APP_KEY>",
"APP_SECRET": "<YOUR_APP_SECRET>"
},
}
}
}
如果使用streamableHttp
{
"mcpServers": {
{
"lianxin-mcp": {
"name": emo-video-analysis",
"type": "streamableHttp",
"baseUrl": "https://open.lianxinyun.com/mcp",
"headers": {
"sk": appKey_sk_appSecret
}
}
}
}
}
对应的APP_KEY APP_SECRET 需要到https://open.lianxinyun.com/ 进行生成。