@rui.branco/1password-mcp 0.1.10 → 0.1.11

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.
Binary file
package/icons.js CHANGED
@@ -1,22 +1,18 @@
1
- // serverInfo.icons for the MCP handshake: the logo in 1Password's own blue,
2
- // sent twice in the same colour, for light backgrounds and for dark ones.
3
- // assets/icon.svg is the 1Password logo from Simple Icons v13.21.0
4
- // (https://simpleicons.org), CC0-1.0.
1
+ // serverInfo.icons for the MCP handshake: the 1Password app's own icon
2
+ // (silver and blue rings, dark keyhole), sent once as a 48px PNG with no
3
+ // theme. assets/icon.png comes from the 1Password Windows app package
4
+ // (Square44x44Logo, targetsize-48, unplated).
5
5
  const fs = require("fs");
6
6
  const path = require("path");
7
7
 
8
- const SVG = fs.readFileSync(path.join(__dirname, "assets", "icon.svg"), "utf8").trim();
8
+ const PNG = fs.readFileSync(path.join(__dirname, "assets", "icon.png"));
9
9
 
10
- function icon(fill, theme) {
11
- const svg = SVG.replace('fill="#000000"', `fill="${fill}"`);
12
- return {
13
- src: `data:image/svg+xml;base64,${Buffer.from(svg).toString("base64")}`,
14
- mimeType: "image/svg+xml",
15
- sizes: ["any"],
16
- theme,
17
- };
18
- }
19
-
20
- const ICONS = [icon("#3B66BC", "light"), icon("#3B66BC", "dark")];
10
+ const ICONS = [
11
+ {
12
+ src: `data:image/png;base64,${PNG.toString("base64")}`,
13
+ mimeType: "image/png",
14
+ sizes: ["48x48"],
15
+ },
16
+ ];
21
17
 
22
18
  module.exports = { ICONS };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rui.branco/1password-mcp",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "description": "1Password MCP server for any MCP-compatible AI client (Claude Code, Codex, Antigravity, Cursor, etc.) - list vaults and items, get secrets, generate passwords, manage items via service accounts. Multi-instance like jira-mcp.",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -10,7 +10,7 @@
10
10
  "index.js",
11
11
  "setup.js",
12
12
  "icons.js",
13
- "assets/icon.svg"
13
+ "assets/icon.png"
14
14
  ],
15
15
  "scripts": {
16
16
  "setup": "node setup.js",
package/assets/icon.svg DELETED
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#000000"><path d="M12 .007C5.373.007 0 5.376 0 11.999c0 6.624 5.373 11.994 12 11.994S24 18.623 24 12C24 5.376 18.627.007 12 .007Zm-.895 4.857h1.788c.484 0 .729.002.914.096a.86.86 0 0 1 .377.377c.094.185.095.428.095.912v6.016c0 .12 0 .182-.015.238a.427.427 0 0 1-.067.137.923.923 0 0 1-.174.162l-.695.564c-.113.092-.17.138-.191.194a.216.216 0 0 0 0 .15c.02.055.078.101.191.193l.695.565c.094.076.14.115.174.162.03.042.053.087.067.137a.936.936 0 0 1 .015.238v2.746c0 .484-.001.727-.095.912a.86.86 0 0 1-.377.377c-.185.094-.43.096-.914.096h-1.788c-.484 0-.726-.002-.912-.096a.86.86 0 0 1-.377-.377c-.094-.185-.095-.428-.095-.912v-6.016c0-.12 0-.182.015-.238a.437.437 0 0 1 .067-.139c.034-.047.08-.083.174-.16l.695-.564c.113-.092.17-.138.191-.194a.216.216 0 0 0 0-.15c-.02-.055-.078-.101-.191-.193l-.695-.565a.92.92 0 0 1-.174-.162.437.437 0 0 1-.067-.139.92.92 0 0 1-.015-.236V6.25c0-.484.001-.727.095-.912a.86.86 0 0 1 .377-.377c.186-.094.428-.096.912-.096z"/></svg>