elicitly
Elicitly is a local MCP server for human-in-the-loop questions — it asks your users for answers and renders content inside the chat.
elicit_confirm— Ask a single OK/Cancel (yes/no) question, with optional localized button labels and a timeout (default 300s, clamped 60–3600); returns three-stateconfirmed(true/false/nullwith adismissedorerrorreason).elicit_form— Collect arbitrary input by sending a caller-supplied JSON schema (flat strings, numbers, booleans, enums); returns{action, content}where action isaccept,decline,cancel, orerror. Not for secrets or credentials.elicit_doctor— Diagnose whether the connected host actually supports elicitation (plus sampling and roots), passively from the initialize handshake or with an optional live probe, and report deprecation advisories.elicit_display— Show information to the user as rendered HTML instead of Markdown by passing a LiquidJS template plus JSON context (MCP Apps hosts render it inline), with a jsDelivr-only asset allowlist and light/dark theme support — for tables, reports, and summaries, not for collecting decisions.
Click on "Deploy 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., "@elicitly confirm with the user before shipping this change to production"
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.
Elicitly — Free Edition
Your AI has questions. Your users have answers. Elicitly connects them — human-in-the-loop for prompts and Agent Skills over MCP elicitation.
This repository is the open-source Free Edition: the elicitly local MCP
server and the @elicitly/tools library. The hosted Pro Edition — durable
approvals with review pages, an audit trail, and organization dashboards —
lives at elicitly.ai.
Quick start
Run the local (stdio) MCP server straight from npm — no clone, no config:
npx -y elicitlyRegister it in your MCP host (Claude Code shown; any stdio host works):
claude mcp add elicitly -- npx -y elicitlyOr skip the command line: in Claude Desktop, download elicitly.mcpb from
the latest release
and open it — a one-click, self-contained
desktop extension.
Then ask your agent to call elicit_confirm ("Ship it?"), elicit_form
(your own JSON schema), elicit_doctor (does this host actually support
elicitation?), or elicit_display (show a LiquidJS template rendered inline as an
MCP App).
Related MCP server: MCP-Confirm
Packages
Package | What it is |
The local stdio MCP server ( | |
Embeddable toolkit: register the elicitation tools on your own |
Why
MCP has a native answer for asking a human — elicitation — but host support is
inconsistent, and only an MCP server can trigger it. Nobody wants to roll
their own server just to ask a question. Elicitly is that server (or, via
@elicitly/tools, the toolkit inside yours), plus the diagnostic
(elicit_doctor) that makes real-world host support visible — feeding the
public Support Matrix.
Develop
pnpm install
pnpm build # tsdown builds both packages
pnpm test # vitest
pnpm test:coverage # vitest + v8 coverage (thresholds enforced; HTML report in coverage/)
pnpm typecheck # tsc
pnpm check # biomeLicense
Elicitly™ is a trademark of Preneur LLC — see TRADEMARKS.md.
Available Tools
4 toolselicit_confirmAsk the user to confirm (OK/Cancel)A
Ask the user an OK/Cancel confirmation via elicitation (convenience wrapper over elicit_form), modeled on JavaScript's confirm(). Use this for a single yes/no question; use elicit_form to collect arbitrary fields. Returns three-state {confirmed}: true = proceed, false = a human explicitly said no, null = no answer was obtained (reason: "dismissed" | "error") — ask again later.
Inputs: message (required), labels, timeoutSeconds. Returns: reason, confirmed
elicit_displayShow the user rendered contentARead-only
Show information to the user as rendered HTML instead of Markdown: pass a LiquidJS template and a JSON context, and hosts that support MCP Apps render it inline in the conversation. Use it for tables, reports, and summaries the user should scan; it does not collect a decision (use elicit_confirm or elicit_form for that). Values interpolated with {{ context.* }} are HTML-escaped; truthiness is JavaScript-style. Templates may load Tailwind (https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4) and DaisyUI (https://cdn.jsdelivr.net/npm/daisyui@5) with their own / tags; the view follows the host's light/dark theme via data-theme. External images, scripts, styles, and fonts load only from: https://cdn.jsdelivr.net — anything else is blocked. Use data: URIs for images you already have that are not publicly reachable (generated, read from a local file, or from a private source the user gave you), passed in context rather than the template (64 KB vs 32 KB). Don't download a public image just to work around the allowlist: if its origin isn't allowed, leave it out and tell the user which origin to allow. The rendered HTML is not returned to you — the result only says whether it could be shown.
Inputs: template (required), title, context, summary.
elicit_doctorDiagnose the host's elicitation supportARead-only
Check whether the connected MCP host actually supports elicitation (and sampling/roots) before relying on it — advertising a capability is not the same as it working. Use it to decide whether to call elicit_form/elicit_confirm, to explain why a prompt did or didn't appear, or to contribute a host capability fingerprint. Returns a passive report derived from the initialize handshake; set probeElicitation: true to also run one live form round-trip (the user may see a dialog) and classify what really happened. Read-only; safe to call anytime.
Inputs: probeElicitation. Returns: probes, support, initialize, deprecations
elicit_formAsk the user to fill a formA
Trigger a form elicitation with a caller-supplied JSON schema; returns the raw {action, content}. For a plain OK/Cancel question, prefer elicit_confirm. MUST NOT be used to request secrets, credentials, or other sensitive information.
Inputs: message (required), requestedSchema (required), timeoutSeconds. Returns: action, content
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
elicit_confirm and elicit_form both perform user elicitation and could be confused, but the descriptions clearly distinguish the yes/no convenience wrapper from the arbitrary-schema form. elicit_doctor and elicit_display have distinct, non-overlapping purposes (diagnostics vs. rendering), making the set mostly unambiguous.
All tools follow the same pattern: elicit_ prefix followed by a descriptive noun (confirm, doctor, form, display). Consistent snake_case throughout with no deviations.
Four tools is well-scoped for a focused elicitation/display utility server. Each tool has a clear, non-redundant role: yes/no confirmation, arbitrary form elicitation, HTML display, and capability diagnostics.
The surface covers the full elicitation lifecycle: simple confirmations, schema-driven forms, rich display, and a diagnostic tool to verify host support. No obvious gaps or dead ends for the stated domain.
Maintenance
Related MCP Connectors
MCP server for building and testing AI agents with multi-model experimentation and insights.
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Related MCP Servers
- AlicenseCqualityDmaintenanceA demonstration server that showcases how to collect user input dynamically using the Model Context Protocol (MCP) elicitation system across tools, resources, and prompts.10MIT
- AlicenseAqualityDmaintenanceAn MCP server implementing AI-user confirmation protocols, providing tools for LLMs to seek user confirmation when uncertain through yes/no questions, action confirmations, intent clarification, understanding verification, and satisfaction ratings.810 npmMIT
- AlicenseAqualityBmaintenanceAn MCP server that enables AI agents to pause and request human approval or information via Slack, Telegram, or macOS dialogs before proceeding with actions.29 PyPI15Apache 2.0
- AlicenseBqualityDmaintenanceAn MCP server that provides elicitation tools to interactively request user input, such as selecting options, providing information, or performing manual tests.31MIT