comfyui-mcp
Version:
Local-first, agent-native control plane for ComfyUI — MCP server + autonomous sidebar agent that drives your live graph in natural language on ANY LLM: Claude/ChatGPT/Gemini on your subscription (no API key), free local models via Ollama (fully offline),
19 lines (17 loc) • 713 B
JavaScript
// One-off: what does the Agent SDK report for supportedModels() on THIS
// machine's Claude subscription? Run: node scripts/probe-models.mjs
import { fetchSupportedModels } from "../dist/orchestrator/panel-agent.js";
delete process.env.ANTHROPIC_API_KEY;
const t0 = Date.now();
try {
const models = await fetchSupportedModels(process.argv[2] || "claude-opus-4-8");
console.log(`got ${models.length} model(s) in ${Date.now() - t0}ms:`);
for (const m of models) {
console.log(
` ${m.value} — ${m.displayName} (effort: ${m.supportsEffort ? (m.supportedEffortLevels?.join("/") ?? "yes") : "no"})`,
);
}
} catch (err) {
console.error("FAILED:", err?.message ?? err);
}
process.exit(0);