@rui.branco/sentry-mcp 1.0.7 → 1.0.8

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.
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#000000"><path d="M13.91 2.505c-.873-1.448-2.972-1.448-3.844 0L6.904 7.92a15.478 15.478 0 0 1 8.53 12.811h-2.221A13.301 13.301 0 0 0 5.784 9.814l-2.926 5.06a7.65 7.65 0 0 1 4.435 5.848H2.194a.365.365 0 0 1-.298-.534l1.413-2.402a5.16 5.16 0 0 0-1.614-.913L.296 19.275a2.182 2.182 0 0 0 .812 2.999 2.24 2.24 0 0 0 1.086.288h6.983a9.322 9.322 0 0 0-3.845-8.318l1.11-1.922a11.47 11.47 0 0 1 4.95 10.24h5.915a17.242 17.242 0 0 0-7.885-15.28l2.244-3.845a.37.37 0 0 1 .504-.13c.255.14 9.75 16.708 9.928 16.9a.365.365 0 0 1-.327.543h-2.287c.029.612.029 1.223 0 1.831h2.297a2.206 2.206 0 0 0 1.922-3.31z"/></svg>
package/icons.js ADDED
@@ -0,0 +1,22 @@
1
+ // serverInfo.icons for the MCP handshake: one single-colour silhouette sent
2
+ // twice, black for light backgrounds and white for dark ones.
3
+ // assets/icon.svg is the Sentry logo from Simple Icons v13.21.0
4
+ // (https://simpleicons.org), CC0-1.0.
5
+ const fs = require("fs");
6
+ const path = require("path");
7
+
8
+ const SVG = fs.readFileSync(path.join(__dirname, "assets", "icon.svg"), "utf8").trim();
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("#000000", "light"), icon("#FFFFFF", "dark")];
21
+
22
+ module.exports = { ICONS };
package/index.js CHANGED
@@ -18,6 +18,7 @@ const fs = require("fs");
18
18
  const os = require("os");
19
19
  const path = require("path");
20
20
  const fetch = require("node-fetch");
21
+ const { ICONS } = require("./icons.js");
21
22
  const { spawn } = require("child_process");
22
23
 
23
24
  const PKG_VERSION = require("./package.json").version;
@@ -282,7 +283,7 @@ function formatIssueSummary(issue) {
282
283
  // ── MCP Server ──────────────────────────────────────────────────────────────
283
284
 
284
285
  const server = new Server(
285
- { name: "sentry-mcp", version: "1.0.0" },
286
+ { name: "sentry-mcp", version: PKG_VERSION, icons: ICONS },
286
287
  { capabilities: { tools: {} } },
287
288
  );
288
289
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rui.branco/sentry-mcp",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "Sentry MCP server for any MCP-compatible AI client (Claude Code, Codex, Antigravity, Cursor, etc.) - fetch issues, search errors, resolve/ignore issues, get stack traces and breadcrumbs",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -9,6 +9,8 @@
9
9
  "files": [
10
10
  "index.js",
11
11
  "setup.js",
12
+ "icons.js",
13
+ "assets/icon.svg",
12
14
  "README.md"
13
15
  ],
14
16
  "scripts": {