-
Notifications
You must be signed in to change notification settings - Fork 16
Description
Basic Information - Models Used
Minimax-image01
Basic Information - Scenario Description
image_synthesize 这个mcp 能在哪里找到
Is this bug known and solvable?
- I have followed the GitHub READMEs for
Minimax-MCPandMinimax-MCP-JS. - I have checked the official Minimax documentation and existing GitHub issues,but found no solution.
Information about environment
windows
Trace-ID in the request head
1111
Description
[Bug for MCP&API]: 请问一下 minimaxAgetn 中的 image_synthesize 这个mcp 能在哪里找到
MaxClaw 中 可以调用 , 我想在我代码中集成
image_synthesize 的完整架构
┌─────────────────────────┐
│ 我(OpenClaw Agent) │
└──────────┬──────────────┘
│ 调用 tool: image_synthesize
▼
┌─────────────────────────┐
│ matrix-mcp 插件 │ ← /app/openclaw/extensions/matrix-mcp/
│ (OpenClaw 插件) │
└──────────┬──────────────┘
│ MCP 协议 (JSON-RPC)
▼
┌─────────────────────────┐
│ 本地 MCP Server │ ← http://127.0.0.1:8080/mcp/message
│ (平台内置服务) │
└──────────┬──────────────┘
│ HTTP API
▼
┌─────────────────────────┐
│ MiniMax 图像服务 │
│ image_synthesize │
└─────────────────────────┘
// /app/openclaw/extensions/matrix-mcp/index.ts
import { execSync } from "node:child_process";
const MCP_URL = "http://127.0.0.1:8080/mcp/message?source=openclaw";
async function callTool(name: string, args: Record<string, unknown>) {
const res = await fetch(MCP_URL, {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
jsonrpc: "2.0",
id: Date.now(),
method: "tools/call",
params: { name, arguments: args },
}),
});
const data = await res.json();
if (data.error) throw new Error(data.error.message);
return data.result;
}