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 分