
Aicanvas
io.github.uiNerd16由 GitHub 帳號 uiNerd16 發布v0.2.3更新於 Oct 24, 2026
Browse and install 75+ free animated, shadcn-compatible React components from AI Canvas.
概覽
本機 MCP 伺服器,讓 AI 編輯器搜尋、檢視並安裝 AI Canvas 的動畫 React 元件、設計系統與範本。
- 可以做什麼
- 瀏覽 AI Canvas 登錄檔中的分類、元件、設計系統與範本,含數量與分頁。依關鍵字搜尋元件,並取得元件、系統或範本的完整中繼資料與 .tsx 原始碼。取得任一元件的 shadcn 安裝指令。讀取元件已文件化的 props,並依行號驗證檔案的 JSX 是否符合這些 props。把一句需求轉成建置計畫,並取得完成頁面的稽核清單。
- 適用情境
- 適合在建置 React 或 shadcn 介面時使用,讓助理不必離開對話就能尋找、安裝並正確串接 AI Canvas 元件,也適合在完成前規劃頁面、核對 props 與無障礙要點。
- 執行需求
- 透過 npx 以 stdio 在本機執行,需要 Node.js 以及連線至 AI Canvas 登錄檔的網路。瀏覽中繼資料不需帳號;取得原始碼需在 AICANVAS_TOKEN 提供免費 AI Canvas 帳號權杖,進階設計系統與範本需付費升級。可用 AICANVAS_REGISTRY_BASE 指向鏡像。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Aicanvas,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
@aicanvas/mcp
Model Context Protocol server for AI Canvas. Lets your AI editor (Claude Code, Cursor, Claude Desktop, Codex) discover and install AI Canvas components without leaving the chat.
What it exposes
Thirteen tools, derived from the live aicanvas.me registry. Adding a component to the website auto-updates the MCP within minutes. The registry holds 80+ standalone components, plus the Andromeda design system with its own components and templates.
All tools are read-only. Nothing is mutated on AI Canvas's side.
The workflow the last four tools are built for: compose_page to plan, get_component_props to read each API before writing JSX, validate_usage on the finished file, get_audit_checklist before calling it done.
Standalone components and design-system components are kept in separate buckets. list_components and list_categories cover the 80+ standalones only, so the catalog stays clean. Design-system components are reached through list_systems / get_system, and are also resolvable by slug through get_component, get_install_command, and search_components.
Setup
Claude Desktop
Edit claude_desktop_config.json:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
Restart Claude Desktop. The aicanvas tools should appear in the tools list.
Cursor
Project-level (.cursor/mcp.json in your repo) or global (~/.cursor/mcp.json):
Claude Code
Project-level .mcp.json (committed alongside your code):
Or via the CLI:
Codex
~/.codex/config.toml:
Verify it works
Inside any of the AI editors above, ask:
"What categories of components does AI Canvas have?"
You should see all 11 categories with counts. If you don't, check the host's MCP logs. Typically a "Failed to spawn process" or network error means npx couldn't fetch the package, or the host wasn't restarted after editing the config.
To inspect the server outside an editor:
This opens a browser UI where you can call each tool by hand.
Configuration
Accounts and premium content
Browsing metadata (list_categories, list_components, search_components, list_systems, list_templates, get_install_command) is free and needs no account. Pulling actual source (get_component, get_system, get_template) runs against a free AI Canvas account: set AICANVAS_TOKEN from your account and the website gives you the ready-made config. Without a token, a free-component source pull returns a short "create a free account" notice instead of the code, and premium content (full design systems and templates) returns HTTP 402 with an upgrade link at aicanvas.me/pricing. Update anytime with npx @aicanvas/mcp@latest.
How the registry stays fresh
The MCP fetches https://aicanvas.me/r/aicanvas-mcp.json on first use and caches it for 5 minutes. New components on AI Canvas appear in the MCP automatically, no package update required.
The full source code for each component is fetched on demand from /r/<slug>.json (the same shadcn registry items the CLI installs).
The prop tables come from https://aicanvas.me/r/aicanvas-props.json, parsed at build time from each component's own JSDoc, so they cannot drift from the source. Same 5-minute cache.
Local development
Edit src/index.ts, run npm run build, restart your AI editor.
License
MIT, same as the AI Canvas project.
來源:mcp/README.md,提交 870f50e
工具
0版本歷史
1- v0.2.3最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分