@shoppexio/mcp-theme-server 0.2.0 → 0.3.0

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/package.json +2 -2
  2. package/src/server.mjs +6 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shoppexio/mcp-theme-server",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "Shoppex MCP server for theme control plane operations",
5
5
  "type": "module",
6
6
  "repository": {
@@ -38,6 +38,6 @@
38
38
  },
39
39
  "dependencies": {
40
40
  "@modelcontextprotocol/sdk": "^1.28.0",
41
- "@shoppexio/theme-control-client": "^0.1.0"
41
+ "@shoppexio/theme-control-client": "^0.2.0"
42
42
  }
43
43
  }
package/src/server.mjs CHANGED
@@ -21,6 +21,12 @@ function jsonContent(value) {
21
21
 
22
22
  export function createThemeToolCatalog() {
23
23
  return [
24
+ {
25
+ name: 'theme_list',
26
+ description: 'List all themes belonging to the authenticated shop. Returns id, name, scheme, version, is_active, preview_url for each theme. Use this first when the user asks about a theme by name — find the id, then call theme_inspect.',
27
+ inputSchema: {},
28
+ execute: (_args, client) => client.listThemes(),
29
+ },
24
30
  {
25
31
  name: 'theme_inspect',
26
32
  description: 'Inspect a Shoppex theme and return editable areas, sections, settings, design tokens, and constraints.',