wesioiot-mcp
wesioiot-mcp
用于MiniMax媒体(TTS、图像、视频、音乐)的MCP服务器,通过wesioiot代理(api.wesioiot.top)路由。
可用工具(7个)
工具 | 功能 | 大致费用 |
| TTS(巴葡语音,十六进制音频) | 每千字符 $0.10 |
| 列出8种可用巴葡语音 | 免费 |
| 图像生成(image-01) | 每张图像 $0.02 |
| 视频生成(Hailuo 2.3,异步) | 每个视频 $0.20–0.50 |
| 轮询视频任务 | 免费 |
| 音乐生成(music-2.6,同步/异步) | 每首音乐 $0.10 |
| 轮询音乐任务 | 免费 |
Related MCP server: mmxomni
什么是wesioiot代理
api.wesioiot.top 是一个兼容OpenAI的代理,作为MiniMax API的前端。它使用 mmx-… 令牌(而非MiniMax的直接密钥 sk-cp-…)对客户端进行身份验证,从而实现按客户端的限速、审计日志和配额控制。此MCP通过该代理进行所有媒体调用,因此聊天使用的令牌在此同样有效。
安装
1. 安装依赖
npm install需要 Node.js 20+。
2. 获取代理令牌
您需要一个由wesioiot代理颁发的 mmx-… 密钥。如果您运行代理,可以通过仪表盘或直接在SQLite中创建密钥:
node -e "
const Database = require('better-sqlite3');
const db = new Database('/caminho/para/proxy/data/proxy.sqlite');
const k = db.prepare('SELECT key FROM api_keys WHERE label=?').get('seu-label');
console.log(k.key);
"3. 配置MCP
选项 A — hermes mcp add(Hermes Agent)
printf "y\ny\n" | hermes mcp add wesioiot-mcp \
--command node \
--env WESIOIOT_API_KEY=mmx-... \
--env WESIOIOT_API_HOST=https://api.wesioiot.top \
--env WESIOIOT_MCP_BASE_PATH=/caminho/para/output \
--args /caminho/absoluto/para/wesioiot-mcp/build/index.js
# Bug conhecido: o `hermes mcp add --env` só salva a última env var.
# Patchear as outras com:
hermes config set mcp_servers.wesioiot-mcp.env.WESIOIOT_API_KEY mmx-... --force
hermes config set mcp_servers.wesioiot-mcp.env.WESIOIOT_API_HOST https://api.wesioiot.top --force
hermes config set mcp_servers.wesioiot-mcp.enabled true --force选项 B — 通用MCP客户端(stdio)
配置您的客户端执行:
node /caminho/absoluto/para/wesioiot-mcp/build/index.js使用以下环境变量:
变量 | 必填 | 默认值 | 示例 |
| ✅ | — |
|
| ❌ |
| 自定义代理URL |
| ❌ |
|
|
4. 验证
hermes mcp test wesioiot-mcp
# Esperado: ✓ Connected (~20s) + 7 tools工具参数
text_to_audio
text(字符串,必填)— 要合成的文本voiceId(字符串)— 语音ID(默认:Portuguese_FascinatingBoy)model(字符串)—speech-02-hd、speech-02-turbo、speech-2.6-hd、speech-2.8-turbospeed(数字 0.5–2.0)— 语速vol(数字 0.1–10.0)— 音量pitch(数字 -12 到 12)— 音调偏移outputDirectory(字符串)— 保存MP3的位置(默认:WESIOIOT_MCP_BASE_PATH)
text_to_image
prompt(字符串,必填)— 图像描述aspectRatio(字符串)—1:1、16:9、9:16等。n(数字)— 图像数量(默认1)outputDirectory(字符串)— 保存位置
generate_video
prompt(字符串,必填)— 视频描述返回一个
taskId。使用query_video_generation进行检查。
music_generation
lyrics(字符串,必填)— 歌词prompt(字符串)— 音乐风格描述title(字符串)— 歌曲标题style(字符串)— 音乐风格outputDirectory(字符串)— 保存位置可能同步返回(直接音频)或异步返回(task_id)。
可用的巴葡语音
Portuguese_FascinatingBoy (padrão)
Portuguese_SmartYoungGirl
Portuguese_ConfidentWoman
Portuguese_Wiselady
Portuguese_Deep-VoicedGentleman
Portuguese_Jovialman
Portuguese_ThoughtfulMan
Portuguese_Strong-WilledBoy架构
┌──────────────┐ stdio ┌──────────────────┐ HTTPS ┌──────────────────┐
│ MCP client │ ─────────▶ │ wesioiot-mcp │ ─────────▶ │ api.wesioiot.top │
│ (Hermes AI) │ JSON-RPC │ (Node.js stdio) │ Bearer │ (proxy) │
└──────────────┘ └──────────────────┘ mmx-... └────────┬─────────┘
│ upstream
▼
┌──────────────────┐
│ api.minimax.io │
│ (MiniMax) │
└──────────────────┘代理审计每次调用,按密钥应用限速,并转发到上游MiniMax API。mmx-… 令牌仅对代理有效。
为什么需要单独的MCP
MiniMax官方包 minimax-mcp 直接连接到 api.minimax.io,使用个人密钥 sk-cp-…。此服务器:
使用您的代理令牌(
mmx-…)— 媒体通过相同的计费/审计通道处理移除了
voice_clone、voice_design和play_audio(未通过代理暴露)保持相同的 JSON-RPC / stdio 接口,因此任何兼容MCP的客户端均可工作
您可以并行运行两个MCP:minimax-mcp 用于克隆语音,wesioiot-mcp 用于所有需通过代理计费的操作。
许可证
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAquality-maintenanceEnables interaction with MiniMax AI APIs for text-to-speech, voice cloning, video generation, image generation, and music creation through MCP clients like Claude Desktop and Cursor.9
- Alicense-qualityBmaintenanceModel Context Protocol server exposing MiniMax's image, speech, music, and video generation APIs as MCP tools for use with any MCP-aware host.4,740MIT
- Alicense-qualityDmaintenanceMCP server for MiniMax's multimodal generation models, enabling text-to-speech, voice cloning, image, video, and music creation through natural language.MIT
- AlicenseAqualityCmaintenanceMulti-provider media generation MCP server that generates images, videos, audio, and transcriptions from text prompts using OpenAI, xAI, Gemini, ElevenLabs, and BFL through a single unified interface.6811MIT
Related MCP Connectors
MCP server for Hailuo (MiniMax) AI video generation
MCP server for MiniMax H3 multimodal video generation
MCP server for Wan AI video generation
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/wesioplayconstructor/wesioiot-top_proxy-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server