@universal-mcp-toolkit/server-notion 0.1.0 → 0.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/.well-known/mcp-server.json +49 -49
- package/LICENSE +21 -21
- package/README.md +51 -0
- package/package.json +4 -8
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json.schemastore.org/json",
|
|
3
|
-
"name": "notion",
|
|
4
|
-
"title": "Notion MCP Server",
|
|
5
|
-
"description": "Search Notion pages, inspect page metadata and content, create pages, expose workspace context, and generate summary prompts.",
|
|
6
|
-
"version": "0.1.0",
|
|
7
|
-
"packageName": "@universal-mcp-toolkit/server-notion",
|
|
8
|
-
"homepage": "https://github.com/universal-mcp-toolkit/universal-mcp-toolkit#readme",
|
|
9
|
-
"repositoryUrl": "https://github.com/universal-mcp-toolkit/universal-mcp-toolkit",
|
|
10
|
-
"documentationUrl": "https://developers.notion.com/reference/intro",
|
|
11
|
-
"transports": [
|
|
12
|
-
"stdio",
|
|
13
|
-
"sse"
|
|
14
|
-
],
|
|
15
|
-
"authentication": {
|
|
16
|
-
"mode": "environment-variables",
|
|
17
|
-
"required": [
|
|
18
|
-
"NOTION_TOKEN"
|
|
19
|
-
],
|
|
20
|
-
"optional": [
|
|
21
|
-
"NOTION_DEFAULT_PARENT_PAGE_ID",
|
|
22
|
-
"NOTION_WORKSPACE_NAME",
|
|
23
|
-
"NOTION_API_BASE_URL",
|
|
24
|
-
"NOTION_API_VERSION"
|
|
25
|
-
]
|
|
26
|
-
},
|
|
27
|
-
"capabilities": {
|
|
28
|
-
"tools": true,
|
|
29
|
-
"resources": true,
|
|
30
|
-
"prompts": true
|
|
31
|
-
},
|
|
32
|
-
"tools": [
|
|
33
|
-
"search-pages",
|
|
34
|
-
"get-page",
|
|
35
|
-
"create-page"
|
|
36
|
-
],
|
|
37
|
-
"resources": [
|
|
38
|
-
"workspace"
|
|
39
|
-
],
|
|
40
|
-
"prompts": [
|
|
41
|
-
"summarize-doc"
|
|
42
|
-
],
|
|
43
|
-
"tags": [
|
|
44
|
-
"notion",
|
|
45
|
-
"knowledge-base",
|
|
46
|
-
"documentation",
|
|
47
|
-
"wiki"
|
|
48
|
-
]
|
|
49
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json.schemastore.org/json",
|
|
3
|
+
"name": "notion",
|
|
4
|
+
"title": "Notion MCP Server",
|
|
5
|
+
"description": "Search Notion pages, inspect page metadata and content, create pages, expose workspace context, and generate summary prompts.",
|
|
6
|
+
"version": "0.1.0",
|
|
7
|
+
"packageName": "@universal-mcp-toolkit/server-notion",
|
|
8
|
+
"homepage": "https://github.com/universal-mcp-toolkit/universal-mcp-toolkit#readme",
|
|
9
|
+
"repositoryUrl": "https://github.com/universal-mcp-toolkit/universal-mcp-toolkit",
|
|
10
|
+
"documentationUrl": "https://developers.notion.com/reference/intro",
|
|
11
|
+
"transports": [
|
|
12
|
+
"stdio",
|
|
13
|
+
"sse"
|
|
14
|
+
],
|
|
15
|
+
"authentication": {
|
|
16
|
+
"mode": "environment-variables",
|
|
17
|
+
"required": [
|
|
18
|
+
"NOTION_TOKEN"
|
|
19
|
+
],
|
|
20
|
+
"optional": [
|
|
21
|
+
"NOTION_DEFAULT_PARENT_PAGE_ID",
|
|
22
|
+
"NOTION_WORKSPACE_NAME",
|
|
23
|
+
"NOTION_API_BASE_URL",
|
|
24
|
+
"NOTION_API_VERSION"
|
|
25
|
+
]
|
|
26
|
+
},
|
|
27
|
+
"capabilities": {
|
|
28
|
+
"tools": true,
|
|
29
|
+
"resources": true,
|
|
30
|
+
"prompts": true
|
|
31
|
+
},
|
|
32
|
+
"tools": [
|
|
33
|
+
"search-pages",
|
|
34
|
+
"get-page",
|
|
35
|
+
"create-page"
|
|
36
|
+
],
|
|
37
|
+
"resources": [
|
|
38
|
+
"workspace"
|
|
39
|
+
],
|
|
40
|
+
"prompts": [
|
|
41
|
+
"summarize-doc"
|
|
42
|
+
],
|
|
43
|
+
"tags": [
|
|
44
|
+
"notion",
|
|
45
|
+
"knowledge-base",
|
|
46
|
+
"documentation",
|
|
47
|
+
"wiki"
|
|
48
|
+
]
|
|
49
|
+
}
|
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 universal-mcp-toolkit
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 universal-mcp-toolkit
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
Use this server to search Notion, read page details, and create child pages from Claude or Cursor.
|
|
2
|
+
|
|
3
|
+
## What it can do
|
|
4
|
+
- `search-pages` — finds pages by title or indexed text and returns paged results.
|
|
5
|
+
- `get-page` — fetches a page's properties and can include a short chunk of top-level content.
|
|
6
|
+
- `create-page` — creates a child page under a parent page and can add starter content.
|
|
7
|
+
|
|
8
|
+
## Setup
|
|
9
|
+
You need one env var:
|
|
10
|
+
- `NOTION_TOKEN` — your Notion integration token. Create an internal integration and copy the token from [Notion integrations](https://www.notion.so/profile/integrations). If you want the full walkthrough, use [Notion's official guide](https://developers.notion.com/docs/create-a-notion-integration).
|
|
11
|
+
|
|
12
|
+
Also share the pages or databases you want to use with that integration, or Notion will block access.
|
|
13
|
+
|
|
14
|
+
## Claude Desktop config
|
|
15
|
+
Add this to your MCP config:
|
|
16
|
+
|
|
17
|
+
```json
|
|
18
|
+
{
|
|
19
|
+
"mcpServers": {
|
|
20
|
+
"notion": {
|
|
21
|
+
"command": "npx",
|
|
22
|
+
"args": ["-y", "@universal-mcp-toolkit/server-notion@latest"],
|
|
23
|
+
"env": {
|
|
24
|
+
"NOTION_TOKEN": "your_notion_integration_token"
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## Cursor config
|
|
32
|
+
Add this to your Cursor MCP config:
|
|
33
|
+
|
|
34
|
+
```json
|
|
35
|
+
{
|
|
36
|
+
"mcpServers": {
|
|
37
|
+
"notion": {
|
|
38
|
+
"command": "npx",
|
|
39
|
+
"args": ["-y", "@universal-mcp-toolkit/server-notion@latest"],
|
|
40
|
+
"env": {
|
|
41
|
+
"NOTION_TOKEN": "your_notion_integration_token"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## Quick example
|
|
49
|
+
Prompt Claude with:
|
|
50
|
+
|
|
51
|
+
> Search Notion for pages about "Q2 planning", open the best match, and give me a short summary of the goals, deadlines, and owners.
|
package/package.json
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@universal-mcp-toolkit/server-notion",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Search Notion pages, inspect page metadata and content, create pages, expose workspace context, and generate summary prompts.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"bin": {
|
|
8
|
-
"server-notion": "./dist/index.js",
|
|
9
8
|
"umt-notion": "./dist/index.js"
|
|
10
9
|
},
|
|
11
10
|
"repository": {
|
|
12
11
|
"type": "git",
|
|
13
|
-
"url": "git+https://github.com/
|
|
12
|
+
"url": "git+https://github.com/universal-mcp-toolkit/universal-mcp-toolkit.git"
|
|
14
13
|
},
|
|
15
|
-
"homepage": "https://github.com/
|
|
14
|
+
"homepage": "https://github.com/universal-mcp-toolkit/universal-mcp-toolkit#readme",
|
|
16
15
|
"exports": {
|
|
17
16
|
".": {
|
|
18
17
|
"types": "./dist/index.d.ts",
|
|
@@ -36,12 +35,9 @@
|
|
|
36
35
|
"wiki"
|
|
37
36
|
],
|
|
38
37
|
"dependencies": {
|
|
39
|
-
"@universal-mcp-toolkit/core": "0.
|
|
38
|
+
"@universal-mcp-toolkit/core": "0.2.0",
|
|
40
39
|
"zod": "^4.3.6"
|
|
41
40
|
},
|
|
42
|
-
"publishConfig": {
|
|
43
|
-
"access": "public"
|
|
44
|
-
},
|
|
45
41
|
"scripts": {
|
|
46
42
|
"build": "tsup src/index.ts --format esm --dts --clean",
|
|
47
43
|
"dev": "tsx watch src/index.ts",
|