@zeplin/mcp-server 1.0.4 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -25,9 +25,16 @@ Connect AI agents like Cursor, Windsurf, and VS Code (w/ Copilot) to Zeplin. Usi
25
25
 
26
26
  ## Installation
27
27
 
28
- ### Cursor one-click installation
28
+ ### One-click installation
29
29
 
30
- [![Install MCP Server](https://cursor.com/deeplink/mcp-install-dark.svg)](cursor://anysphere.cursor-deeplink/mcp/install?name=zeplin&config=eyJjb21tYW5kIjoibnB4IC15IEB6ZXBsaW4vbWNwLXNlcnZlckBsYXRlc3QiLCJlbnYiOnsiWkVQTElOX0FDQ0VTU19UT0tFTiI6IiJ9fQ%3D%3D)
30
+ **For Cursor users:**
31
+
32
+
33
+ [![Install MCP Server](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en/install-mcp?name=zeplin&config=eyJ0aW1lb3V0Ijo2MDAsImNvbW1hbmQiOiJucHggLXkgQHplcGxpbi9tY3Atc2VydmVyQGxhdGVzdCIsImVudiI6eyJaRVBMSU5fQUNDRVNTX1RPS0VOIjoiWW91ciBaZXBsaW4gUGVyc29uYWwgQWNjZXNzIFRva2VuIn19)
34
+
35
+ **For VS Code users:**
36
+
37
+ [![Install with NPX in VS Code](https://img.shields.io/badge/VS_Code-NPM-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=zeplin&config=%7B%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40zeplin%2Fmcp-server%40latest%22%5D%2C%22env%22%3A%7B%22ZEPLIN_ACCESS_TOKEN%22%3A%22%22%7D%7D)
31
38
 
32
39
  ### Manual installation
33
40
 
@@ -49,7 +49,7 @@ export async function processScreenVersionsAndAnnotations(projectId, screenIds,
49
49
  const annotations = response.data;
50
50
  const screenVersion = screenVersionResponses[index];
51
51
  return annotations.map((annotation) => ({
52
- type: annotation.type.name,
52
+ type: annotation.type?.name ?? "none",
53
53
  text: annotation.content,
54
54
  position: {
55
55
  x: annotation.position.x * (screenVersion.data.width || 0),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeplin/mcp-server",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "Zeplin’s official MCP server for AI-assisted UI development",
5
5
  "author": "Zeplin",
6
6
  "license": "MIT",
@@ -36,7 +36,7 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "@modelcontextprotocol/sdk": "^1.10.2",
39
- "@zeplin/sdk": "^1.25.0",
39
+ "@zeplin/sdk": "^1.40.0",
40
40
  "node-fetch": "^3.3.2",
41
41
  "zod": "^3.24.3"
42
42
  },