MiniMax-Coding-Plan-MCP icon indicating copy to clipboard operation
MiniMax-Coding-Plan-MCP copied to clipboard

[Bug for MCP&API]: 请问一下 minimaxAgetn 中的 image_synthesize 这个mcp 能在哪里找到

Open w8023w1314 opened this issue 8 months ago • 0 comments

Basic Information - Models Used

Minimax-image01

Basic Information - Scenario Description

image_synthesize 这个mcp 能在哪里找到

Is this bug known and solvable?

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; }

w8023w1314 avatar Mar 26 '26 10:03 w8023w1314