AgentUI
OfficialClick on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@AgentUIUse a slider for the concurrency limit"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
AgentUI
Interactive UIs for coding agents: an MCP server that lets any agent ask its human with sliders, forms, diffs and live previews instead of guessing.
When an agent is about to invent a number, describe a colour in prose, or write "let me know if you'd prefer…", it can instead open a real UI in your browser. You adjust it while the agent keeps working, and it collects the answer when it is ready.
Install
npx agentui installThe installer detects the agents on your machine — Claude Code, Claude Desktop, Cursor, Windsurf, VS Code (Copilot), Gemini CLI, Codex CLI — and registers the server in each one's own config format.
Related MCP server: Kontrol
The tools
Tool | What it does |
| One question, answered now — blocks until the user responds |
| Open a UI the user adjusts while the agent keeps working |
| Long-poll: sleep until the user commits a change or comments |
| Non-blocking read of the current values |
| Change a live UI in place |
| Save a widget and reuse it later |
| Close the session |
Full usage guidance for agents lives in skills/agentui/SKILL.md.
How it works
One Node process launched by the agent over stdio, acting as both an MCP server
and a local HTTP + WebSocket server bound to 127.0.0.1. The agent authors a
zod-validated JSON interface spec, optionally alongside a single-file ESM
preview module rendered in a sandboxed iframe on a second origin. All durable
state is plain JSON/NDJSON under .agent-ui/, so the agent can also just read
it off disk.
Agent ──stdio/MCP──> [agentui process] ──HTTP/WS──> Browser (React shell)
│ │
└── .agent-ui/sessions/<id>/ └── sandboxed iframe (preview.mjs)Opening a widget on your phone
Off by default, because binding to 127.0.0.1 is not a detail — it is the whole
security model. There is no login anywhere in this server; loopback is what made
one unnecessary.
Set AGENT_UI_HOST=lan in the env of your agent's MCP registration and
restart it. On startup the server prints an address and a key:
Open on another device on this network:
http://192.168.1.112:4608/?k=vckqvceqbzz7Open that once on the phone; a cookie carries the key from then on, and the
inbox lists whatever is waiting, so no one types a session id. If the address it
picks is wrong — a VPN tunnel often outranks your real card — pin the right one
with AGENT_UI_HOST=192.168.1.112.
What you are trading. Traffic is plain HTTP, because a self-signed certificate on a LAN address produces a full-page warning on exactly the phone this exists to serve. Anyone on that network holding the key can read what the agent attached — diffs, file contents, screenshots — and answer for you: their decision reaches your agent as though it were yours. That is a fair trade on a home network and a bad one on cafe or hotel wifi. Your phone also has to be on the same network; this does nothing over cellular.
Development
pnpm install
pnpm build # shared -> ui -> server (vendors three.js, copies the shell into server/web)
pnpm test # the server suite runs against the real built binary over stdio
pnpm typecheckpnpm build before running anything: the server serves the built shell, and
the installer registers the built dist/mcp.js by absolute path.
Examples in packages/server/examples/ are dogfood — each asks something real
about this project, so building the tool and using it are the same activity.
The design decisions and their evidence live in the header comments of the files
they affect, particularly packages/server/src/core/{waiters,session,library}.ts,
packages/server/src/web/preview.ts and packages/ui/public/agentui/preview.js.
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
AlicenseAqualityAmaintenanceMCP server that gives AI coding agents direct access to evaluation tools.22Apache 2.0- Alicense-qualityBmaintenanceA self-hosted MCP server that enables AI coding agents to read, edit, search, and run code in local projects with human review loops and policy controls.MIT
- Alicense-qualityCmaintenanceAn MCP server that gives AI coding agents structured access to a project's architecture, rules, modules, and technical decisions.MIT
- Alicense-qualityCmaintenanceA MCP server that enables AI coding agents to consume structured UI feedback via click-to-annotate, supporting issue types and severity levels.11MIT
Related MCP Connectors
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
MCP server for AI agent profiles and smart notes. 60+ coding prompt packs with expert personas.
An MCP server that gives your AI access to the source code and docs of all public github repos
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/skulitom/AgentUI'
If you have feedback or need assistance with the MCP directory API, please join our Discord server