Skip to content

Commit 41f1766

Browse files
Merge pull request #21 from insightbuilder/notion-mcp-bd
2 parents faf26a0 + c3e94ea commit 41f1766

2 files changed

Lines changed: 17 additions & 1 deletion

File tree

docs/mcp_notion_brain.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,28 @@ that support python.
2121

2222
- Project Path: ../notion_brain_dump/
2323

24+
The above project folder alone can be downloaded
25+
using
26+
[github-download-directory](https://download-directory.github.io/)
27+
2428
### Project setup commands:
2529

30+
The tool is executed in the terminal or command
31+
prompt. If you have never used the terminal, the
32+
video explaining the process will be available in
33+
the below playlist.
34+
2635
```bash
36+
# install uv tool, which is the python package manager
37+
curl -LsSf https://astral.sh/uv/install.sh | sh
38+
2739
cd notion_brain_dump
2840
# pyproject.toml will contain the libraries that are used in the project
2941

42+
# Before starting the server add the notion token to the server.py file
43+
# This is required for the server to connect with the notion database
44+
# Adding notion key to environment variable will not work.
45+
3046
uv run mcpclient.py server.py
3147

3248
After the client start, you will be prompted for the query.

notion_brain_dump/mcpclient.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ async def chat_loop(self):
119119

120120
while True:
121121
try:
122-
query = input("\nQuery: ").strip()
122+
query = input("\nBrain Dump Here: ").strip()
123123

124124
if query.lower() == "quit":
125125
break

0 commit comments

Comments
 (0)