@notionhq/notion-mcp-server 1.1.0 → 1.2.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/README.md +6 -0
- package/package.json +1 -1
- package/scripts/notion-openapi.json +77 -36
- package/tsconfig.json +1 -1
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -31,28 +31,7 @@
|
|
|
31
31
|
"description": "The [API version](https://developers.notion.com/reference/versioning) to use for this request. The latest version is `2022-06-28`."
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
|
-
"schemas": {
|
|
35
|
-
"pageIdObject": {
|
|
36
|
-
"type": "object",
|
|
37
|
-
"properties": {
|
|
38
|
-
"page_id": {
|
|
39
|
-
"type": "string"
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
"additionalProperties": false,
|
|
43
|
-
"required": ["page_id"]
|
|
44
|
-
},
|
|
45
|
-
"databaseIdObject": {
|
|
46
|
-
"type": "object",
|
|
47
|
-
"properties": {
|
|
48
|
-
"database_id": {
|
|
49
|
-
"type": "string"
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
"additionalProperties": false,
|
|
53
|
-
"required": ["database_id"]
|
|
54
|
-
}
|
|
55
|
-
}
|
|
34
|
+
"schemas": {}
|
|
56
35
|
},
|
|
57
36
|
"security": [
|
|
58
37
|
{
|
|
@@ -647,7 +626,14 @@
|
|
|
647
626
|
],
|
|
648
627
|
"properties": {
|
|
649
628
|
"parent": {
|
|
650
|
-
"
|
|
629
|
+
"type": "object",
|
|
630
|
+
"properties": {
|
|
631
|
+
"page_id": {
|
|
632
|
+
"type": "string",
|
|
633
|
+
"format": "uuid"
|
|
634
|
+
}
|
|
635
|
+
},
|
|
636
|
+
"required": ["page_id"]
|
|
651
637
|
},
|
|
652
638
|
"properties": {
|
|
653
639
|
"type": "object",
|
|
@@ -717,24 +703,79 @@
|
|
|
717
703
|
"application/json": {
|
|
718
704
|
"schema": {
|
|
719
705
|
"type": "object",
|
|
720
|
-
"required": [
|
|
721
|
-
"parent",
|
|
722
|
-
"properties"
|
|
723
|
-
],
|
|
706
|
+
"required": ["parent","properties"],
|
|
724
707
|
"properties": {
|
|
725
708
|
"parent": {
|
|
726
|
-
"type": "
|
|
727
|
-
"
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
709
|
+
"type": "object",
|
|
710
|
+
"properties": {
|
|
711
|
+
"type": {
|
|
712
|
+
"enum": ["page_id"]
|
|
713
|
+
},
|
|
714
|
+
"page_id": {
|
|
715
|
+
"type": "string",
|
|
716
|
+
"format": "uuid"
|
|
717
|
+
}
|
|
718
|
+
},
|
|
719
|
+
"required": ["type", "page_id"]
|
|
733
720
|
},
|
|
734
721
|
"properties": {
|
|
735
|
-
"type": "
|
|
722
|
+
"type": "object",
|
|
736
723
|
"description": "Property schema of database. The keys are the names of properties as they appear in Notion and the values are [property schema objects](https://developers.notion.com/reference/property-schema-object).",
|
|
737
|
-
"
|
|
724
|
+
"additionalProperties": {
|
|
725
|
+
"oneOf": [
|
|
726
|
+
{
|
|
727
|
+
"type": "object",
|
|
728
|
+
"properties": {
|
|
729
|
+
"title": {
|
|
730
|
+
"type": "object",
|
|
731
|
+
"properties": {},
|
|
732
|
+
"additionalProperties": false
|
|
733
|
+
},
|
|
734
|
+
"description": {
|
|
735
|
+
"type": "string",
|
|
736
|
+
"maxLength": 280,
|
|
737
|
+
"minLength": 1
|
|
738
|
+
}
|
|
739
|
+
},
|
|
740
|
+
"additionalProperties": false,
|
|
741
|
+
"required": ["title"]
|
|
742
|
+
}
|
|
743
|
+
]
|
|
744
|
+
}
|
|
745
|
+
},
|
|
746
|
+
"title": {
|
|
747
|
+
"type": "array",
|
|
748
|
+
"items": {
|
|
749
|
+
"type": "object",
|
|
750
|
+
"required": ["text"],
|
|
751
|
+
"properties": {
|
|
752
|
+
"text": {
|
|
753
|
+
"type": "object",
|
|
754
|
+
"properties": {
|
|
755
|
+
"content": {
|
|
756
|
+
"type": "string",
|
|
757
|
+
"maxLength": 2000
|
|
758
|
+
},
|
|
759
|
+
"link": {
|
|
760
|
+
"type": ["object", "null"],
|
|
761
|
+
"properties": {
|
|
762
|
+
"url": {
|
|
763
|
+
"type": "string"
|
|
764
|
+
}
|
|
765
|
+
},
|
|
766
|
+
"required": ["url"]
|
|
767
|
+
}
|
|
768
|
+
},
|
|
769
|
+
"additionalProperties": false,
|
|
770
|
+
"required": ["content"]
|
|
771
|
+
},
|
|
772
|
+
"type": {
|
|
773
|
+
"enum": ["text"]
|
|
774
|
+
}
|
|
775
|
+
},
|
|
776
|
+
"additionalProperties": false
|
|
777
|
+
},
|
|
778
|
+
"maxItems": 100
|
|
738
779
|
}
|
|
739
780
|
}
|
|
740
781
|
}
|
package/tsconfig.json
CHANGED