import { createRoot } from "react-dom/client"; import { ThemeProvider } from "@cloudflare/agents-ui/hooks"; import { ModeToggle, PoweredByAgents } from "@cloudflare/agents-ui"; import { Badge, Surface, Text } from "@cloudflare/kumo"; import { ChatCircleDotsIcon, InfoIcon, TerminalIcon, CursorClickIcon, ArrowSquareOutIcon } from "@phosphor-icons/react"; import "./styles.css"; const MCP_URL = typeof window !== "undefined" ? `${window.location.origin}/mcp` : "/mcp"; function App() { return (

MCP Elicitation

v1.0.0
Elicitation Demo This MCP server uses{" "} this.elicitInput() {" "} to request additional user input mid-tool-call. When you call the “increase-counter” tool, the server pauses and asks how much to increase by — the MCP client prompts you and sends the answer back.
Connect from an MCP client Elicitation requires an MCP client that supports the{" "} elicitation/create {" "} protocol method. The browser tool tester cannot handle elicitation prompts — connect from one of the clients below instead.
MCP Inspector npx @modelcontextprotocol/inspector
Claude Desktop / Cursor / Windsurf Add as a remote MCP server
Server URL
                {MCP_URL}
              
); } createRoot(document.getElementById("root")!).render( );