@sentry/junior-notion 0.258.0 → 0.259.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 +4 -1
- package/package.json +1 -1
- package/plugin.yaml +8 -0
package/README.md
CHANGED
|
@@ -18,6 +18,8 @@ export const plugins = defineJuniorPlugins(["@sentry/junior-notion"]);
|
|
|
18
18
|
|
|
19
19
|
This package does not use `NOTION_TOKEN` or a shared workspace integration. Each user connects their own Notion account the first time Junior calls a Notion MCP tool. Junior sends the OAuth link privately and resumes the thread automatically after the user authorizes.
|
|
20
20
|
|
|
21
|
+
Optionally, a Junior admin can connect a Notion service account from the dashboard Admin page, or with `junior service-account connect notion`. The manifest lets that account call only `notion-search` and `notion-fetch` (`accounts.service-account.tools`). Users who have not connected Notion then use that account for those tools. Write tools still ask the user to connect their own account.
|
|
22
|
+
|
|
21
23
|
The package exposes a deliberately limited Notion MCP surface:
|
|
22
24
|
|
|
23
25
|
- `notion-search`
|
|
@@ -40,7 +42,8 @@ This package uses Notion MCP search and fetch rather than the older REST helper
|
|
|
40
42
|
## Auth model
|
|
41
43
|
|
|
42
44
|
- Notion MCP requires user-based OAuth and does not support bearer token authentication.
|
|
43
|
-
-
|
|
45
|
+
- Without a service account, this package is not suitable for fully headless or unattended automation. With one, automations can read but not write.
|
|
46
|
+
- Anyone who can talk to Junior can read what the service account can read.
|
|
44
47
|
- Users can disconnect from Junior App Home with `Unlink`, or by asking Junior to disconnect Notion.
|
|
45
48
|
- Existing OAuth connections may need reauthorization if Notion requires additional scopes for write tools.
|
|
46
49
|
|
package/package.json
CHANGED
package/plugin.yaml
CHANGED
|
@@ -10,3 +10,11 @@ mcp:
|
|
|
10
10
|
- notion-create-pages
|
|
11
11
|
- notion-update-page
|
|
12
12
|
- notion-move-pages
|
|
13
|
+
|
|
14
|
+
# Optional shared read account. It has no effect until an admin connects it
|
|
15
|
+
# on the dashboard Admin page.
|
|
16
|
+
accounts:
|
|
17
|
+
service-account:
|
|
18
|
+
tools:
|
|
19
|
+
- notion-search
|
|
20
|
+
- notion-fetch
|