Provides access to Notion page content, enabling retrieval and display of various block types including text, headings, lists, toggles, images, code, quotes, columns, and child pages through the Notion API.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Notion Page Viewershow me the main content of my project planning page"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
๐ Notion Page Viewer
Notion ํ์ด์ง์ ์ปจํ ์ธ ๋ฅผ ์น์์ ๋ณผ ์ ์๋ Streamlit ์ฑ์ ๋๋ค.
โจ ์ฃผ์ ๊ธฐ๋ฅ
๐ 4๊ฐ์ง ๋ณด๊ธฐ ๋ชจ๋
์ ์ฒด ์ปจํ ์ธ - ํ ๊ธ, ์ด๋ฏธ์ง, ํ์ ํ์ด์ง๊น์ง ๋ชจ๋ ์ปจํ ์ธ ํ์
์ ๋ชฉ + ์ด๋ฏธ์ง - ๋ฉ์ธํ์ด์ง์ ์ ๋ชฉ๊ณผ ์ด๋ฏธ์ง๋ง ํ์
ํ์ ํ์ด์ง - ์ฐ๊ฒฐ๋ ํ์ ํ์ด์ง๋ค์ ์ ๋ชฉ ๋ฆฌ์คํธ
์๋ณธ ๋ฐ์ดํฐ - JSON ํํ์ ์๋ณธ ๋ฐ์ดํฐ (๋๋ฒ๊น ์ฉ)
๐ ๋น ๋ฅธ ์์
1. ์ค์น
git clone https://github.com/ar-codelabs/MCP_NotionMCP_Webviewer.git
cd MCP_notion_webviewer
# ์ค์น
pip install -r requirements.txt
2. Notion ์ค์
developers.notion.com/)์์ Integration ์์ฑ
Integration Token ๋ณต์ฌ
๋ณด๊ณ ์ถ์ Notion ํ์ด์ง์ Integration ์ฐ๊ฒฐ
ํ์ด์ง ID ๋ณต์ฌ (URL์์ ์ถ์ถ)
3. ์ค์ ํ์ผ ์์ (Notion)
application/mcp.json ํ์ผ์์:
{
"mcpServers": {
"notion": {
"command": "python3",
"args": ["./application/mcp_server_notion.py"],
"env": {
"NOTION_API_KEY": "your_notion_integration_token",
"NOTION_PAGE_ID": "your_notion_page_id"
}
}
}
}4. ์คํ
streamlit run application/app_webview_mcp_simple.py๐ ์ฌ์ฉ ๋ฐฉ๋ฒ
1. ์น ์ฑ ์ ์
๋ธ๋ผ์ฐ์ ์์ ์ ์
2. 4๊ฐ์ง ๋ฒํผ ํ์ฉ
๐ ์ ์ฒด ์ปจํ ์ธ : ํ์ด์ง์ ๋ชจ๋ ๋ด์ฉ์ ๊ตฌ์กฐ์ ์ผ๋ก ํ์
๐ผ๏ธ ์ ๋ชฉ + ์ด๋ฏธ์ง: ์ ๋ชฉ๊ณผ ์ด๋ฏธ์ง๋ง ๊น๋ํ๊ฒ ์ ๋ฆฌํด์ ํ์
๐ ํ์ ํ์ด์ง: ์ฐ๊ฒฐ๋ ํ์ ํ์ด์ง๋ค์ ์ ๋ชฉ ๋ชฉ๋ก๊ณผ ๋งํฌ
๐ง ์๋ณธ ๋ฐ์ดํฐ: ๊ฐ๋ฐ์์ฉ JSON ๋ฐ์ดํฐ ํ์ธ
3. ์ง์ํ๋ Notion ๋ธ๋ก
ํ ์คํธ (paragraph)
ํค๋ฉ (heading_1, heading_2, heading_3)
๋ฆฌ์คํธ (bulleted_list_item, numbered_list_item)
ํ ๊ธ (toggle)
์ด๋ฏธ์ง (image)
์ฝ๋ (code)
์ธ์ฉ๋ฌธ (quote)
์ปฌ๋ผ (column_list, column)
ํ์ ํ์ด์ง (child_page)
๐ง ๊ณ ๊ธ ์ค์
Notion ํ์ด์ง ID ์ฐพ๊ธฐ
Notion ํ์ด์ง URL:
https://notion.so/ํ์ด์ง์ ๋ชฉ-abc123def456...๋ง์ง๋ง ํ์ดํ ๋ค์ 32์๋ฆฌ ๋ฌธ์์ด์ด ํ์ด์ง ID
ํ์ดํ ์ ๊ฑฐ:
abc123def456...
ํฌํธ ๋ณ๊ฒฝ
# MCP ๋ฐฉ์
streamlit run application/app_webview_mcp_simple.py --server.port 8502๐ ๏ธ ๊ธฐ์ ์คํ
๊ณตํต
Frontend: Streamlit
API: Notion API (notion-client)
Language: Python 3.8+
MCP ๋ฐฉ์ ์ถ๊ฐ
MCP: Model Context Protocol
Architecture: Server-Client ๋ถ๋ฆฌ
Modularity: ์ฌ์ฌ์ฉ ๊ฐ๋ฅํ MCP ์๋ฒ
๐ ์ฃผ์์ฌํญ
Notion Integration์ ํ์ด์ง ์ฝ๊ธฐ ๊ถํ์ด ์์ด์ผ ํฉ๋๋ค
์ด๋ฏธ์ง๋ Notion์ ์์ URL์ ์ฌ์ฉํ๋ฏ๋ก ์ผ์ ์๊ฐ ํ ๋ง๋ฃ๋ ์ ์์ต๋๋ค
๋์ฉ๋ ํ์ด์ง์ ๊ฒฝ์ฐ ๋ก๋ฉ ์๊ฐ์ด ๊ธธ์ด์ง ์ ์์ต๋๋ค
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.