Candor UI docs について
Candor UI docs は、Candor UI の無料版に関するドキュメントとコンポーネント提案を提供する読み取り専用 MCP サーバーです。エージェント向け UI を構築する開発者やコーディングエージェントを対象とし、キー不要で有料ソースは提供しません。
主な機能
- 01ドキュメントとコンポーネントの提案
- 02無料 UI アイテムを 69 種収録
- 03ライト、ダーク、高コントラストのテーマ
- 04Vercel AI SDK、Claude Agent SDK、AG-UI 向けアダプター
- 05エージェントチャットのスターターアプリ
活用シーン
- 01エージェント UI に合うコンポーネントの調査
- 02コーディングエージェントによる Candor UI の設定
- 03スターターアプリからエージェントチャットを構築
MCP 対応
MCP サーバーは Candor UI のドキュメントとコンポーネント提案のみを提供します。読み取り専用でキーは不要、有料ソースは提供しません。
設定
リモートサーバーはインストール不要です。クライアントを選んで設定をコピーするか、ワンクリックで導入できます。
https://candor.themethodic.com/mcpclaude mcp add --transport http com-themethodic-candor https://candor.themethodic.com/mcp{"mcpServers":{"com-themethodic-candor":{"type":"http","url":"https://candor.themethodic.com/mcp"}}}Cursor で開く{"servers":{"com-themethodic-candor":{"type":"http","url":"https://candor.themethodic.com/mcp"}}}VS Code で開く{"mcpServers":{"com-themethodic-candor":{"type":"http","url":"https://candor.themethodic.com/mcp"}}}{"mcpServers":{"com-themethodic-candor":{"serverUrl":"https://candor.themethodic.com/mcp"}}}コマンドはターミナルで実行し、JSON は各クライアントの MCP 設定に貼り付けて再起動します。認可が必要なサーバーは初回接続時にログインを求めます。
ツール
README(原文)English
プロジェクトの README よりこの README の日本語訳はまだありません。以下は英語の原文です。日本語の紹介はページ上部をご覧ください。
Candor UI: the free tier
Interface components for agent apps: a thread, messages, a composer, tool calls, reasoning and citations, the building blocks under them, a light, dark and high-contrast theme, and adapters for the Vercel AI SDK, the Claude Agent SDK and AG-UI. Built on shadcn, installed with its CLI, MIT licensed.
This repo is the source of Candor UI's 69 free items (version 2.4.0), the skill and plugins for coding agents and three starter apps. Docs and live examples: https://candor.themethodic.com.
Install
npx candor-ui init
npx candor-ui add thread message composer
candor-ui init adds the @candor registry to components.json and the theme to your CSS; in a project without
shadcn yet it runs shadcn's setup first (--yes sets it up with Radix and shadcn's nova preset, no questions). Or add the registry by
hand: "@candor": "https://candor.themethodic.com/r/{name}.json". If shadcn asks to overwrite a primitive such as
ui/button.tsx, answer yes: Candor's button styles locked actions; without a terminal, pass --overwrite.
For coding agents
llms-install.md tells an agent how to set Candor up in a project by itself: the CLI, the docs MCP server, the skill
and the honesty rules to keep. The skill alone:
npx skills add MethodicDev/candor
installs two skills: skills/candor-ui (which component fits which job, the adapters, and the rules the components
keep, with a design-system reference read from the shipped CSS) and skills/candor-agent-ui (design fundamentals for
screens where an AI agent acts, with a review checklist to run after each screen; it works with or without Candor).
The plugins install the skill and the docs MCP server together. Claude Code: claude plugin marketplace add MethodicDev/candor, then claude plugin install candor-ui@candor (or, in a session,
/plugin install candor-ui --marketplace MethodicDev/candor). GitHub Copilot CLI: copilot plugin marketplace add MethodicDev/candor, then copilot plugin install candor-ui@candor. VS Code installs candor-ui from this repo's URL;
Cursor reads .cursor-plugin/marketplace.json; the Codex package is plugins/codex/candor-ui.
The MCP server at https://candor.themethodic.com/mcp serves docs and component suggestions only: read-only, no key,
never paid source. .mcp/server.json describes it for the MCP registry. Agents can also read
https://candor.themethodic.com/llms.txt.
Starters
Three apps with a working agent chat built from these components. Each installs and builds on its own:
| Folder | Stack | Agent |
|---|---|---|
starter/ | Next.js 16 | Vercel AI SDK at /, Claude Agent SDK at /claude |
starter-vite-ag-ui/ | Vite and React, no server | any AG-UI agent (LangGraph, CrewAI…), or a scripted one in the page |
starter-tanstack-start-claude/ | TanStack Start | Claude Agent SDK |
npx degit MethodicDev/candor/starter my-agent-app
npx degit MethodicDev/candor/starter-vite-ag-ui my-agent-app
npx degit MethodicDev/candor/starter-tanstack-start-claude my-agent-app
What's here
theme: Candor's default theme: light, dark and high contrast, contrast-checked. Import styles/candor.css after Tailwind.font-inter: Inter, Candor's default typeface, self-hosted (OFL-1.1). Optional: without it the theme uses the system font. Import styles/candor-font-inter.css next to candor.css.font-source-sans: Source Sans 3, self-hosted (OFL-1.1), as an alternative to Inter. Import styles/candor-font-source-sans.css after candor.css; it points --cd-font at it.font-ibm-plex: IBM Plex Sans, self-hosted (OFL-1.1), as an alternative to Inter. Import styles/candor-font-ibm-plex.css after candor.css; it points --cd-font at it.theme-slate: Slate, a gallery theme. Cool blue-grey neutrals and a blue accent; dark is a deep navy slate. Contrast-checked like the default. Import styles/candor-theme-slate.css after candor.css.theme-paper: Paper, a gallery theme. Warm off-white grounds, blue-black ink and a terracotta accent; dark is a warm sepia. Contrast-checked like the default. Import styles/candor-theme-paper.css after candor.css.theme-console: Console, a gallery theme. Dark-first and dense: near-black grounds, a green accent and the compact density. Light is a muted light console. Contrast-checked like the default. Import styles/candor-theme-console.css after candor.css.theme-signal: Signal, a gallery theme. True greys with no tint and one high-saturation indigo for the action that matters. Contrast-checked like the default. Import styles/candor-theme-signal.css after candor.css.ag-ui: Turns AG-UI events into Candor messages, waiting approvals and usage, with AG-UI 1.0's shared state and activities.ai-sdk: Vercel AI SDK (v7) UI messages to Candor messages: text, reasoning, tool calls, sources and data cards.claude-agent-sdk: Turns Claude Agent SDK events into Candor messages, waiting approvals (and the agent's questions), usage and sources, and a person's answer back into the SDK's result.claude-agent-server: The server half of the Claude Agent SDK adapter: stream a run to useClaudeAgent, keep its permission requests in a store your own route can answer, and let a browser re-attach to a run after a reload.use-ag-ui: Wires an AG-UI agent to Candor: messages for /, props for , and the interrupts waiting on a person.use-candor-chat: Wires auseChat()result to Candor: messages for /, props for , and the tool calls waiting on a person.use-claude-agent: Wires a Claude Agent SDK server route to Candor: messages for /, props for , and the tool calls waiting on a person, re-attaching to a run after a reload.copy-field: A value a person copies somewhere else (a callback URL, a scope list).degraded-panel: Something couldn't be done.locale: The interface's words, language and direction.locked: The honest-state rule: a control that cannot be used says why.relative-time: A time as people say it ("5 minutes ago"), with the exact time on hover, safe to render on the server.status-dot: A small status mark.step-list: A step's status as a mark.streaming-text: Text that is still arriving.surface: Candor's card: a plain, muted, bordered or floating surface, so no screen hand-rolls its own.terms: The app's words for its own concepts, so components read like the product: one app says "org", another "project" or "workspace".agent-avatar: An agent's glyph and hue by role, so people can tell agents apart at a glance.ai-disclosure: A plain notice that the person is interacting with an AI system: a first line in the thread (variant="line") or a compact "AI" badge for a thread header (variant="badge") that opens to the app's own explanation.attachment-preview: A file waiting to be sent, as a chip in the composer: its name, then upload progress, an error, or its size, and a remove button.card-registry: A card an agent's reply can carry.citation: An inline [n] that opens its source in a popover, so evidence is one step away without leaving the thread.composer: Where a person writes to the agent: @ mentions attach things as references, / starts a known action, and the scope says where the ask runs.context-meter: What fills the model's context budget, as a ring in the composer that opens to a breakdown: system, instructions, Know, the thread, tools, files.entity-chip: A thing in the user's system (a table, a record, a flow) as a chip with its kind's icon, that can open it.folded-turns: A run of turns folded into one line, for long agent work a reader doesn't need to see step by step: "Drafted three versions and compared them".message-actions: Copy, retry and rate under an agent's reply.message-content: A message's typed blocks (paragraphs, lists, code, tool calls, cards), rendered as text, never as markdown or HTML.message: One message in a thread.payload: A block of code or query text from the agent: a query it ran, code it wrote, a config file.permission-prompt: A tool call waiting for a person's go-ahead: what it will do, why it reached them, and the permission mode the run is in.prompt-suggestions: Prompts to start from.reasoning: The agent's stated reasoning above its answer.thread-divider: A rule across the thread with a label in the middle: a day ("Today", "Yesterday", "5 Nov 2026") or a chapter of the conversation ("Drafting", "Review").thread-event: A quiet, centred line in a thread for something that happened rather than something said: "Sam joined", "Switched to the staging environment", "Run stopped by a guardrail".thread: The scrolling message column.tool-call: One tool call as a compact row: what it did in plain words, its status, and how long it took.chat: The data a Candor thread renders.highlight: A small syntax highlighter for code an agent shows: it splits text into typed tokens (keyword, string, comment…), and Payload renders each as a span.know: The data behind the agents' knowledge base and agent settings.mcp-input: MCP's "input required" results (spec 2026-07-28, multi round-trip requests) as Candor data: a server's form becomes questions for ClarifyingQuestions, a plain confirmation or a link to open becomes a two-answer Decision for ApprovalDecision, and the person's answers become theinputResponsesthe client sends when it retries the call.motion: Candor's motion layer, the part that runs in components.render-prop: Lets Candor's Radix-based primitives also take Base UI'srenderprop.safe-markdown: Reads model text as safe markdown: paragraphs, lists and fenced code.sound: The names and the reading half of Candor's sound layer.status: The status vocabulary every Candor agent component shares.use-copy: Copy text and report what actually happened.use-shortcut: The keys of a combo as they should be printed: "mod+k" → ["⌘", "K"] on a Mac and ["Ctrl", "K"] elsewhere.use-virtual-list: Render only the items of a long list that are in or near view, for Thread's and SessionList'svirtualize.accordion: A stack of headings that each open to reveal more.alert: A message about the page or the work that stays where it is until it no longer applies: a warning before a change, a note that something failed, a fact the person should know.button: shadcn's button in Candor's theme, with a locked state for (dimmed, and says why).checkbox: A box the person ticks.collapsible: shadcn's collapsible (Radix) in Candor's theme.label: The name of a control.popover: shadcn's popover (Radix) in Candor's theme.progress: A bar for work whose progress is measured: an upload, an import, an index.skeleton: A loading placeholder in the shape of what's coming.slider: A control for a value in a range, with one thumb or, when the value has two numbers, a range.switch: A setting that is on or off.tooltip: shadcn's tooltip (Radix) in Candor's theme.
Pro and Premium
Plans, approvals, diffs, runs, evals, the app shell, admin screens, full-stack blocks and templates are in the paid tiers: https://candor.themethodic.com/#pricing.
Contributing
This repo is generated from Candor UI's main repo on each release. Issues are welcome here; pull requests are read and applied upstream by hand, so they show up in the next release rather than being merged directly.
Licence
MIT, © Methodic LLC. See LICENSE. It covers this repository's free items; Candor UI's paid items are under the
Candor UI Commercial Licence.
コメント
AI アプリケーションが外部のツールやデータソースに統一的な方法で接続するためのオープンなプロトコルです。クライアントはモデルとの対話を担い、MCP サーバーはツール・リソース・プロンプトテンプレートを提供します。標準メッセージでやり取りするため、1 つのサーバーを複数のクライアントで再利用できます。