@notionhq/notion-mcp-server 1.9.0 → 1.9.1
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/Dockerfile +0 -1
- package/README.md +0 -11
- package/bin/cli.mjs +118 -86
- package/package.json +1 -1
- package/smithery.yaml +0 -38
package/package.json
CHANGED
package/smithery.yaml
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
# Smithery configuration file: https://smithery.ai/docs/build/project-config
|
|
2
|
-
|
|
3
|
-
startCommand:
|
|
4
|
-
type: stdio
|
|
5
|
-
commandFunction:
|
|
6
|
-
# A JS function that produces the CLI command based on the given config to start the MCP on stdio.
|
|
7
|
-
|-
|
|
8
|
-
(config) => {
|
|
9
|
-
const env = {};
|
|
10
|
-
if (config.notionToken) {
|
|
11
|
-
env.NOTION_TOKEN = config.notionToken;
|
|
12
|
-
} else if (config.openapiMcpHeaders) {
|
|
13
|
-
env.OPENAPI_MCP_HEADERS = config.openapiMcpHeaders;
|
|
14
|
-
}
|
|
15
|
-
if (config.baseUrl) env.BASE_URL = config.baseUrl;
|
|
16
|
-
return { command: 'notion-mcp-server', args: [], env };
|
|
17
|
-
}
|
|
18
|
-
configSchema:
|
|
19
|
-
# JSON Schema defining the configuration options for the MCP.
|
|
20
|
-
type: object
|
|
21
|
-
anyOf:
|
|
22
|
-
- required: [notionToken]
|
|
23
|
-
- required: [openapiMcpHeaders]
|
|
24
|
-
properties:
|
|
25
|
-
notionToken:
|
|
26
|
-
type: string
|
|
27
|
-
description: Notion integration token (recommended)
|
|
28
|
-
openapiMcpHeaders:
|
|
29
|
-
type: string
|
|
30
|
-
default: "{}"
|
|
31
|
-
description: JSON string for HTTP headers, must include Authorization and
|
|
32
|
-
Notion-Version (alternative to notionToken)
|
|
33
|
-
baseUrl:
|
|
34
|
-
type: string
|
|
35
|
-
description: Optional override for Notion API base URL
|
|
36
|
-
exampleConfig:
|
|
37
|
-
notionToken: 'ntn_abcdef'
|
|
38
|
-
baseUrl: https://api.notion.com
|