@snokam/mcp-api 2.40.0 → 2.42.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snokam/mcp-api",
3
- "version": "2.40.0",
3
+ "version": "2.42.0",
4
4
  "description": "MCP server exposing Snokam backend APIs as tools for Claude Code and other MCP clients",
5
5
  "type": "module",
6
6
  "bin": {
@@ -49854,6 +49854,7 @@
49854
49854
  }
49855
49855
  }
49856
49856
  },
49857
+ "description": "Returns the published article list.\n\n`includeInactive=true` drops the `active == true` filter so\nadmins can see articles they've taken offline (\"Ikke live\").\nCallers decide whether to request it based on the viewer's\nsession — the public blog route leaves it false, admin routes\npass true.",
49857
49858
  "tags": [
49858
49859
  "Articles"
49859
49860
  ],
@@ -49882,6 +49883,15 @@
49882
49883
  "default": false,
49883
49884
  "type": "boolean"
49884
49885
  }
49886
+ },
49887
+ {
49888
+ "in": "query",
49889
+ "name": "includeInactive",
49890
+ "required": false,
49891
+ "schema": {
49892
+ "default": false,
49893
+ "type": "boolean"
49894
+ }
49885
49895
  }
49886
49896
  ]
49887
49897
  }
@@ -49936,6 +49946,7 @@
49936
49946
  }
49937
49947
  }
49938
49948
  },
49949
+ "description": "Single published article by slug or id.\n\n`includeInactive=true` removes the `active == true` requirement\nfrom the slug-match path so admins can open \"Ikke live\"\narticles by URL. Without it, slug lookups only return live\narticles (public behaviour). Id lookups are unaffected either\nway — if the caller already knows the sanity id, active is\nimmaterial.",
49939
49950
  "tags": [
49940
49951
  "Articles"
49941
49952
  ],
@@ -49972,6 +49983,15 @@
49972
49983
  "default": false,
49973
49984
  "type": "boolean"
49974
49985
  }
49986
+ },
49987
+ {
49988
+ "in": "query",
49989
+ "name": "includeInactive",
49990
+ "required": false,
49991
+ "schema": {
49992
+ "default": false,
49993
+ "type": "boolean"
49994
+ }
49975
49995
  }
49976
49996
  ]
49977
49997
  },
@@ -50021,6 +50041,54 @@
50021
50041
  }
50022
50042
  }
50023
50043
  },
50044
+ "/v1.0/articles/all": {
50045
+ "get": {
50046
+ "operationId": "GetAllPublishedArticles",
50047
+ "responses": {
50048
+ "200": {
50049
+ "description": "Ok",
50050
+ "content": {
50051
+ "application/json": {
50052
+ "schema": {
50053
+ "$ref": "#/components/schemas/GetArticlesResult"
50054
+ }
50055
+ }
50056
+ }
50057
+ }
50058
+ },
50059
+ "description": "Every published article regardless of the `active` flag. Used by\nthe admin list so editors can see articles they've taken offline\n(\"Ikke live\"). Public callers should stay on `GetArticles`,\nwhich filters to `active == true`.",
50060
+ "tags": [
50061
+ "Articles"
50062
+ ],
50063
+ "security": [
50064
+ {
50065
+ "Implicit": [
50066
+ "api://3358ac8e-681e-4aeb-bfbf-bb008913c423/.default"
50067
+ ]
50068
+ }
50069
+ ],
50070
+ "parameters": [
50071
+ {
50072
+ "in": "query",
50073
+ "name": "useCache",
50074
+ "required": false,
50075
+ "schema": {
50076
+ "default": false,
50077
+ "type": "boolean"
50078
+ }
50079
+ },
50080
+ {
50081
+ "in": "query",
50082
+ "name": "useCdn",
50083
+ "required": false,
50084
+ "schema": {
50085
+ "default": false,
50086
+ "type": "boolean"
50087
+ }
50088
+ }
50089
+ ]
50090
+ }
50091
+ },
50024
50092
  "/v1.0/articles/drafts": {
50025
50093
  "get": {
50026
50094
  "operationId": "GetDraftOnlyArticles",
@@ -49854,6 +49854,7 @@
49854
49854
  }
49855
49855
  }
49856
49856
  },
49857
+ "description": "Returns the published article list.\n\n`includeInactive=true` drops the `active == true` filter so\nadmins can see articles they've taken offline (\"Ikke live\").\nCallers decide whether to request it based on the viewer's\nsession — the public blog route leaves it false, admin routes\npass true.",
49857
49858
  "tags": [
49858
49859
  "Articles"
49859
49860
  ],
@@ -49882,6 +49883,15 @@
49882
49883
  "default": false,
49883
49884
  "type": "boolean"
49884
49885
  }
49886
+ },
49887
+ {
49888
+ "in": "query",
49889
+ "name": "includeInactive",
49890
+ "required": false,
49891
+ "schema": {
49892
+ "default": false,
49893
+ "type": "boolean"
49894
+ }
49885
49895
  }
49886
49896
  ]
49887
49897
  }
@@ -49936,6 +49946,7 @@
49936
49946
  }
49937
49947
  }
49938
49948
  },
49949
+ "description": "Single published article by slug or id.\n\n`includeInactive=true` removes the `active == true` requirement\nfrom the slug-match path so admins can open \"Ikke live\"\narticles by URL. Without it, slug lookups only return live\narticles (public behaviour). Id lookups are unaffected either\nway — if the caller already knows the sanity id, active is\nimmaterial.",
49939
49950
  "tags": [
49940
49951
  "Articles"
49941
49952
  ],
@@ -49972,6 +49983,15 @@
49972
49983
  "default": false,
49973
49984
  "type": "boolean"
49974
49985
  }
49986
+ },
49987
+ {
49988
+ "in": "query",
49989
+ "name": "includeInactive",
49990
+ "required": false,
49991
+ "schema": {
49992
+ "default": false,
49993
+ "type": "boolean"
49994
+ }
49975
49995
  }
49976
49996
  ]
49977
49997
  },
@@ -50021,6 +50041,54 @@
50021
50041
  }
50022
50042
  }
50023
50043
  },
50044
+ "/v1.0/articles/all": {
50045
+ "get": {
50046
+ "operationId": "GetAllPublishedArticles",
50047
+ "responses": {
50048
+ "200": {
50049
+ "description": "Ok",
50050
+ "content": {
50051
+ "application/json": {
50052
+ "schema": {
50053
+ "$ref": "#/components/schemas/GetArticlesResult"
50054
+ }
50055
+ }
50056
+ }
50057
+ }
50058
+ },
50059
+ "description": "Every published article regardless of the `active` flag. Used by\nthe admin list so editors can see articles they've taken offline\n(\"Ikke live\"). Public callers should stay on `GetArticles`,\nwhich filters to `active == true`.",
50060
+ "tags": [
50061
+ "Articles"
50062
+ ],
50063
+ "security": [
50064
+ {
50065
+ "Implicit": [
50066
+ "api://5dc55e32-6742-4fe9-b8b6-581cf56af144/.default"
50067
+ ]
50068
+ }
50069
+ ],
50070
+ "parameters": [
50071
+ {
50072
+ "in": "query",
50073
+ "name": "useCache",
50074
+ "required": false,
50075
+ "schema": {
50076
+ "default": false,
50077
+ "type": "boolean"
50078
+ }
50079
+ },
50080
+ {
50081
+ "in": "query",
50082
+ "name": "useCdn",
50083
+ "required": false,
50084
+ "schema": {
50085
+ "default": false,
50086
+ "type": "boolean"
50087
+ }
50088
+ }
50089
+ ]
50090
+ }
50091
+ },
50024
50092
  "/v1.0/articles/drafts": {
50025
50093
  "get": {
50026
50094
  "operationId": "GetDraftOnlyArticles",