Skip to content

Commit a55fb01

Browse files
authored
Small fixes/cleanups to package files and README (#170)
1 parent 433f0d3 commit a55fb01

3 files changed

Lines changed: 23 additions & 3 deletions

File tree

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,8 +385,28 @@ npm test
385385
npx -y --prefix /path/to/local/notion-mcp-server @notionhq/notion-mcp-server
386386
```
387387

388+
Testing changes locally in Cursor:
389+
390+
1. Run `npm link` command from repository root to create a machine-global symlink to the `notion-mcp-server` package.
391+
2. Merge the configuration snippet below into Cursor's `mcp.json` (or other MCP client you want to test with).
392+
3. (Cleanup) run `npm unlink` from repository root.
393+
394+
```json
395+
{
396+
"mcpServers": {
397+
"notion-local-package": {
398+
"command": "notion-mcp-server",
399+
"env": {
400+
"NOTION_TOKEN": "ntn_..."
401+
}
402+
}
403+
}
404+
}
405+
```
406+
388407
#### Publish
389408

390409
```bash
410+
npm login
391411
npm publish --access public
392412
```

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"main": "index.js",
5454
"repository": {
5555
"type": "git",
56-
"url": "git@github.com:makenotion/notion-mcp-server.git"
56+
"url": "git+ssh://git@github.com/makenotion/notion-mcp-server.git"
5757
},
5858
"author": "@notionhq",
5959
"bugs": {

0 commit comments

Comments
 (0)