Designpin Mcp Server

io.github.opjhabuilds由 GitHub 帳號 opjhabuilds 發布v0.1.2更新於 Oct 27, 2026

Push HTML prototypes to DesignPin for team review and pull reviewer feedback into your AI.

已驗證STDIO僅桌面溝通與協作媒體與設計

概覽

AI 產生的概覽

把 HTML 原型推送到 DesignPin 供團隊審閱,並將審閱意見帶回 AI 對話中。

可以做什麼
  • 為 HTML 原型建立公開審閱連結,不需事先建立專案
  • 將新的 HTML 版本上傳到既有模組,版本號自動遞增
  • 取得指定模組版本上的留言,並附上未解決/已解決的彙總
  • 讀取回饋後推送修訂版本,在同一審閱連結上反覆調整設計
適用情境
適合在 AI 產生 HTML 原型或著陸頁後,需要團隊以帶定位的留言進行審閱,並把回饋帶回同一段對話繼續修改的情境。
執行需求
透過 npx 從 npm 套件 @designpin/mcp-server 在本機執行,由 Claude Desktop、Cursor、VS Code 或 Gemini CLI 等 MCP 用戶端啟動。需要 DesignPin 帳號與專案層級的 API 金鑰(DESIGNPIN_API_KEY),uploadVersion 與 listComments 另需專案 ID(DESIGNPIN_PROJECT_ID)。可選用 DESIGNPIN_BASE_URL 覆寫預設主機。需能連線 designpin.pro。
安裝前請注意
API 金鑰屬於機密;README 指出命令列參數會出現在行程清單中,多使用者機器上建議改用環境變數。金鑰只顯示一次且僅限單一專案。createShareLink 會把原型發布成公開審閱連結,並依 IP 限制每小時 10 次。uploadVersion 會對既有專案寫入新版本。HTML 內容會傳送到 DesignPin 的伺服器。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Designpin Mcp Server,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

DesignPin MCP Server

An MCP server that lets any AI assistant push HTML prototypes to DesignPin for team review and read back reviewer feedback.

What this does

DesignPin is a tool for reviewing HTML prototypes with DOM-anchored comments. This package wraps the DesignPin REST API as a Model Context Protocol server, exposing three tools — createShareLink, uploadVersion, listComments — to any MCP-compatible AI client.

Once configured, your AI assistant — Claude Desktop, Cursor, VS Code (Copilot), Gemini CLI, or any other MCP-compatible client — can ship a generated HTML prototype to a shareable review link, pull back reviewer comments to incorporate, and push iterations as new versions, all from inside the same conversation that produced the design.

For ChatGPT users: ChatGPT does not currently support MCP servers. Use the direct REST API via Custom GPT Actions instead — no MCP server needed.

Install + run

The server is invoked by your MCP client; you don't run it directly during normal use. The simplest path is npx invocation, which fetches and runs without a global install:

bash
npx -y @designpin/mcp-server --api-key dp_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx --project-id proj_example_abc123

For most workflows you'll set this in your MCP client's config file rather than running it manually — see Client config examples below.

To verify the install works:

bash
npx -y @designpin/mcp-server --version# → 0.1.0
npx -y @designpin/mcp-server --help# → usage info

Get an API key

  1. Open designpin.pro and sign in.
  2. Open any project (or create one).
  3. Click API & Integrations in the project header.
  4. Click Generate new key, give it a name (e.g. "Claude Desktop").
  5. Copy the key immediately — it's shown once and cannot be retrieved later.

Each key is scoped to a single project. Generate separate keys per client / use case so you can revoke them individually.

Configuration

Both CLI flags and environment variables are supported. Flags win when both are present.

CLI flagEnv varRequiredDefaultDescription
--api-keyDESIGNPIN_API_KEYfor uploadVersion, listComments—Your dp_live_... API key
--project-idDESIGNPIN_PROJECT_IDfor uploadVersion—Project ID the key is scoped to
--base-urlDESIGNPIN_BASE_URLnohttps://designpin.proAPI base URL (override for testing)
--help—no—Show usage and exit
--version—no—Print version and exit

Security note: CLI flags are visible in ps output on multi-user systems. Prefer environment variables on shared machines.

Tools

createShareLink

Create a public review link for an HTML prototype. No project setup required — creates a brand-new throwaway project. Rate-limited to 10 requests/hour per IP.

InputTypeRequiredDescription
htmlstringyesComplete HTML document to share
titlestringyesDisplay name for the share, max 80 chars
authorNamestringnoAuthor name shown on review page

Returns: JSON with url, reviewToken, projectId, moduleId, versionId.

Example prompt to your AI assistant:

"Take this HTML and create a DesignPin share link titled 'Landing page hero V3'."

uploadVersion

Upload a new HTML version to an existing DesignPin module. Auto-increments versionNumber. Requires the API key + projectId from configuration plus a moduleId from the user.

InputTypeRequiredDescription
htmlstringyesComplete HTML for the new version
moduleIdstringyesTarget module within the configured project
descriptionstringnoVersion description shown in the sidebar

Returns: JSON with url, versionId, versionNumber.

Example prompt:

"Push this revised HTML as a new version to module mod_example_def456 with the description 'Address pin #3 contrast feedback'."

listComments

Fetch comments visible on a specific version of a DesignPin module. Uses chronological cutoff semantics matching the web UI: a comment is visible on version V if its origin version is V or any earlier version.

InputTypeRequiredDescription
moduleIdstringyesModule ID
versionIdstringyesSpecific version to view comments on

Returns: JSON with a comments array and a summary string like "3 open, 1 resolved".

Example prompt:

"Get the comments on module mod_example_def456 at version ver_example_ghi789 and tell me what's blocking approval."

Client config examples

Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

json
{  "mcpServers": {    "designpin": {      "command": "npx",      "args": ["-y", "@designpin/mcp-server"],      "env": {        "DESIGNPIN_API_KEY": "dp_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",        "DESIGNPIN_PROJECT_ID": "proj_example_abc123"      }    }  }}

Restart Claude Desktop after saving.

Cursor

Edit ~/.cursor/mcp.json:

json
{  "mcpServers": {    "designpin": {      "command": "npx",      "args": ["-y", "@designpin/mcp-server"],      "env": {        "DESIGNPIN_API_KEY": "dp_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",        "DESIGNPIN_PROJECT_ID": "proj_example_abc123"      }    }  }}

Reload Cursor after saving.

VS Code (Copilot with MCP)

Add to your VS Code user settings JSON or a workspace .vscode/mcp.json:

json
{  "servers": {    "designpin": {      "command": "npx",      "args": ["-y", "@designpin/mcp-server"],      "env": {        "DESIGNPIN_API_KEY": "dp_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",        "DESIGNPIN_PROJECT_ID": "proj_example_abc123"      }    }  }}
Gemini CLI extension

Edit your Gemini CLI config (path varies by version). Both the env-style and the flag-style work; flag-style is shown here:

json
{  "mcpServers": {    "designpin": {      "command": "npx",      "args": [        "-y", "@designpin/mcp-server",        "--api-key", "dp_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",        "--project-id", "proj_example_abc123"      ]    }  }}

Example conversation

You:  Generate a pricing page with three tiers (Free, Pro $12, Team $29).      Push it to DesignPin so my team can review.
AI:   [generates HTML, calls createShareLink]      Share link created. Send this to your team:      https://designpin.pro/review/EXAMPLE_TOKEN_xyz
      Project: proj_example_abc123      Module:  mod_example_def456      Version: ver_example_ghi789
[team reviews and leaves 4 comments]
You:  Pull the feedback from module mod_example_def456 at version      ver_example_ghi789 and address the must-fix comments.
AI:   [calls listComments]      Open comments (4):      - P0 Pin #1 "CTA contrast fails WCAG AA on the Pro tier"      - P1 Pin #2 "Pricing hidden until hover — make always visible"      - P1 Pin #3 "Annual toggle is ambiguous — show savings %"      - P2 Pin #4 "Logo could link back to homepage"
      I'll regenerate the HTML with the two P0/P1 issues addressed.
You:  Push the revision.
AI:   [generates updated HTML, calls uploadVersion]      v2 uploaded. Same review URL — your team can compare versions.

Direct REST API

If you want to call the DesignPin API without an MCP server, the OpenAPI 3.1 spec is published at:

https://designpin.pro/openapi.json

Import it into Postman, generate a client SDK, or use it directly with ChatGPT Custom GPT Actions.

Links

License

MIT © 2026 Omprakash Jha

來源:README.md,提交 3120a73

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.2最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分