What does SwarmUI_MCP_Agent do?
It acts as a bridge between an LLM agent (running on Ollama) and the SwarmUI image generation API. The agent receives a text prompt, calls the SwarmUI `/GenerateText2Image` endpoint, and returns the generated image.
@MathewTomberlin
基本信息
A simple prototype SwarmUI MCP server with accompanying local LangChain Ollama agent
工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
SwarmUI_MCP_Agent is a prototype MCP (Model Context Protocol) server that integrates with SwarmUI's local API and a LangChain Ollama agent. It exposes SwarmUI's /GenerateText2Image and /GetNewSession endpoints as tools, allowing an LLM agent to generate images from text prompts. The server is built with Node.js, TypeScript, Express, and Axios, while the agent uses Python, LangChain, and Ollama.
From the SwarmUI_MCP_Agent/src directory, run tsc server.ts && node server.js to start the MCP server. Then ensure SwarmUI is running, and from the root directory run python run.py to launch the Streamlit UI. In the UI, enter the SwarmUI port, select an LLM model, type an image prompt, and click submit.
It acts as a bridge between an LLM agent (running on Ollama) and the SwarmUI image generation API. The agent receives a text prompt, calls the SwarmUI `/GenerateText2Image` endpoint, and returns the generated image.
You need Node.js, npm, Python, pip, and an Ollama installation with a model (e.g., dolphin‑mistral). SwarmUI must be running locally.
The MCP server creates an Axios HTTP client that sends POST requests to the SwarmUI API on localhost (default port configurable in code). No authentication is mentioned.
The prototype only exposes the `/GenerateText2Image` endpoint. The model and port are hardcoded and must be changed manually. The agent has a `max_iterations` of 1, and Pydantic input validation is not yet fully functional for multiple inputs.
Images are saved in SwarmUI's `/Output` directory and can also be viewed in SwarmUI's Image History.

Singularis is unlimited computation. Bring us your hardest problems. MCP server; free agent key: 500 credits instantly.

Quantum-inspired keyring for AI coding agents. Secure secrets with superposition, entanglement, tunneling, and teleportation — CLI + 44 MCP tools.

Free MCP server for dating profiles. Look up the official photo rules and AI-photo policies of Tinder, Hinge and Bumble — photo limits, verification, what gets you banned — each quoted from the app's own guidelines wi

OpenRouter for tools & data — 3,028 APIs for your agent, one token, pay per call. treg.to is a remote MCP server at https://treg.to/mcp/ that gives an agent 3,028 ready-to-call API endpoints across 82 platforms: SEO and
Run free live audience Q&A and polls from your agent: start an AskOne room, add and launch a poll, approve or hide questions and mark them answered, close the room, then read the questions as a FAQ draft and get the resu
评论