SwarmUI_MCP_Agent

by MathewTomberlin

243 downloads
Not rated
GitHub

About

A simple prototype SwarmUI MCP server with accompanying local LangChain Ollama agent

Details

Author
MathewTomberlin
Downloads
243
Categories
AI

- Exposes SwarmUI image generation as MCP tools
- Integrates a local Ollama agent (dolphin-mistral)
- Provides a Streamlit UI for prompt entry
- Automatically fetches a new session and generates images
- Generated images saved in SwarmUI's Output directory

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.

SwarmUI_MCP_Agent

A simple prototype SwarmUI MCP server with accompanying local LangChain Ollama agent. The prototype only exposes the SwarmUI /GenerateText2Image endpoint. It uses Python, Node.js, Typescript, Langchain, @ModelContextProtocol, Axios, Express, and Pydantic (though Pydantic is mostly unused in this implementation).
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.