sonance-brand-mcp 1.3.118 → 1.3.119

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.
Files changed (2) hide show
  1. package/dist/index.js +40 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2911,6 +2911,15 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
2911
2911
  required: ["category"],
2912
2912
  },
2913
2913
  },
2914
+ {
2915
+ name: "get_version",
2916
+ description: "Returns the current version and info about the Sonance Brand MCP server.",
2917
+ inputSchema: {
2918
+ type: "object",
2919
+ properties: {},
2920
+ required: [],
2921
+ },
2922
+ },
2914
2923
  ],
2915
2924
  };
2916
2925
  });
@@ -6243,6 +6252,37 @@ ${formatCodeBlock(content, { language: "tsx", filename: `components/ui/${compNam
6243
6252
  content: contentBlocks,
6244
6253
  };
6245
6254
  }
6255
+ case "get_version": {
6256
+ // Read version from package.json
6257
+ const packageJsonPath = path.join(path.dirname(fileURLToPath(import.meta.url)), "..", "package.json");
6258
+ const packageJson = JSON.parse(fs.readFileSync(packageJsonPath, "utf-8"));
6259
+ const versionInfo = {
6260
+ name: "sonance-brand-mcp",
6261
+ version: packageJson.version,
6262
+ lastUpdated: new Date().toISOString().split("T")[0],
6263
+ features: [
6264
+ "brand guidelines",
6265
+ "logo management",
6266
+ "component library",
6267
+ "document templates",
6268
+ "design evaluation",
6269
+ "app design/redesign"
6270
+ ]
6271
+ };
6272
+ return {
6273
+ content: [{
6274
+ type: "text",
6275
+ text: `# Sonance Brand MCP
6276
+
6277
+ **Version:** ${versionInfo.version}
6278
+ **Name:** ${versionInfo.name}
6279
+
6280
+ ## Features
6281
+ ${versionInfo.features.map(f => `- ${f}`).join("\n")}
6282
+ `
6283
+ }],
6284
+ };
6285
+ }
6246
6286
  default:
6247
6287
  return {
6248
6288
  content: [{ type: "text", text: `Unknown tool: ${name}` }],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sonance-brand-mcp",
3
- "version": "1.3.118",
3
+ "version": "1.3.119",
4
4
  "description": "MCP Server for Sonance Brand Guidelines and Component Library - gives Claude instant access to brand colors, typography, and UI components.",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",