सारांश
Notion MCP सर्वर क्या है?
Notion MCP सर्वर एक आधिकारिक सर्वर है जिसे Notion की कार्यक्षमता को बढ़ाने के लिए डिज़ाइन किया गया है, जो एक लोकप्रिय उत्पादकता और संगठन उपकरण है। यह सर्वर एक बैकएंड समाधान के रूप में कार्य करता है जो उपयोगकर्ताओं को उनके Notion कार्यक्षेत्रों का अधिक प्रभावी ढंग से प्रबंधन करने की अनुमति देता है, जिससे कार्यप्रवाह को सरल बनाने और सहयोग में सुधार करने वाली सुविधाएँ प्रदान की जाती हैं।
Notion MCP सर्वर की विशेषताएँ
- वास्तविक समय सहयोग: सर्वर वास्तविक समय अपडेट का समर्थन करता है, जिससे कई उपयोगकर्ता एक ही Notion पृष्ठ पर एक साथ बिना किसी देरी के काम कर सकते हैं।
- डेटा समन्वयन: यह सुनिश्चित करता है कि Notion में किए गए सभी परिवर्तन उपकरणों के बीच समन्वयित हैं, जिससे उपयोगकर्ताओं के लिए एक सहज अनुभव मिलता है।
- कस्टम एकीकरण: उपयोगकर्ता विभिन्न तृतीय-पक्ष अनुप्रयोगों और सेवाओं को एकीकृत कर सकते हैं, जिससे Notion की क्षमताएँ बढ़ती हैं।
- उपयोगकर्ता प्रबंधन: सर्वर मजबूत उपयोगकर्ता प्रबंधन सुविधाएँ प्रदान करता है, जिससे प्रशासकों को विभिन्न उपयोगकर्ताओं के लिए पहुँच और अनुमतियों को नियंत्रित करने की अनुमति मिलती है।
- एपीआई एक्सेस: डेवलपर्स कस्टम अनुप्रयोगों या एकीकरण बनाने के लिए एपीआई का उपयोग कर सकते हैं जो Notion डेटा के साथ काम करते हैं।
Notion MCP सर्वर सेट अप कैसे करें
- स्थापना: GitHub पर आधिकारिक रिपॉजिटरी से Notion MCP सर्वर डाउनलोड करके शुरू करें।
- कॉन्फ़िगरेशन: अपने आवश्यकताओं के अनुसार सर्वर को कॉन्फ़िगर करने के लिए दस्तावेज़ में दिए गए सेटअप निर्देशों का पालन करें।
- Notion से कनेक्ट करना: डेटा समन्वयन और सभी सुविधाओं तक पहुँच सक्षम करने के लिए अपने Notion खाते को सर्वर से लिंक करें।
- परीक्षण: सेटअप के बाद, यह सुनिश्चित करने के लिए परीक्षण करें कि सभी कार्यक्षमताएँ अपेक्षित रूप से काम कर रही हैं।
- तैनाती: जब सब कुछ कॉन्फ़िगर और परीक्षण हो जाए, तो अपने संगठन या व्यक्तिगत परियोजनाओं के लिए सर्वर को तैनात करें।
अक्सर पूछे जाने वाले प्रश्न
प्रश्न: क्या Notion MCP सर्वर का उपयोग मुफ्त है?
उत्तर: हाँ, Notion MCP सर्वर ओपन-सोर्स है और मुफ्त में उपलब्ध है। हालाँकि, यदि उपयोगकर्ता इसे किसी भुगतान किए गए सर्वर पर होस्ट करने का निर्णय लेते हैं, तो उन्हें लागत का सामना करना पड़ सकता है।
प्रश्न: क्या मैं Notion MCP सर्वर को कस्टमाइज़ कर सकता हूँ?
उत्तर: बिल्कुल! सर्वर को कस्टमाइज़ करने के लिए डिज़ाइन किया गया है, जिससे डेवलपर्स कोड को अपने विशेष आवश्यकताओं के अनुसार संशोधित कर सकते हैं।
प्रश्न: Notion MCP सर्वर चलाने के लिए सिस्टम आवश्यकताएँ क्या हैं?
उत्तर: सर्वर अधिकांश आधुनिक ऑपरेटिंग सिस्टम पर चल सकता है, लेकिन यह अनुशंसा की जाती है कि एक स्थिर इंटरनेट कनेक्शन और कई उपयोगकर्ताओं को संभालने के लिए पर्याप्त RAM हो।
प्रश्न: मैं समस्याएँ कैसे रिपोर्ट करूँ या परियोजना में योगदान कैसे करूँ?
उत्तर: उपयोगकर्ता समस्याएँ रिपोर्ट कर सकते हैं या परियोजना में योगदान देने के लिए GitHub रिपॉजिटरी पर जा सकते हैं और वहाँ दिए गए योगदान दिशानिर्देशों का पालन कर सकते हैं।
प्रश्न: क्या Notion MCP सर्वर के लिए सहायता उपलब्ध है?
उत्तर: जबकि कोई आधिकारिक सहायता टीम नहीं है, उपयोगकर्ता फोरम और GitHub मुद्दों के पृष्ठ के माध्यम से समुदाय से मदद मांग सकते हैं।
विवरण
Notion MCP Server
[!NOTE]
We’ve introduced Notion MCP (Beta), a remote MCP server with the following improvements:
- Easy installation via standard OAuth. No need to fiddle with JSON or API token anymore.
- Powerful tools tailored to AI agents. These tools are designed with optimized token consumption in mind.
Learn more and try it out here
This project implements an MCP server for the Notion API.
Installation
1. Setting up Integration in Notion:
Go to https://www.notion.so/profile/integrations and create a new internal integration or select an existing one.
While we limit the scope of Notion API's exposed (for example, you will not be able to delete databases via MCP), there is a non-zero risk to workspace data by exposing it to LLMs. Security-conscious users may want to further configure the Integration's Capabilities.
For example, you can create a read-only integration token by giving only "Read content" access from the "Configuration" tab:
2. Connecting content to integration:
Ensure relevant pages and databases are connected to your integration.
To do this, visit the Access tab in your internal integration settings. Edit access and select the pages you'd like to use.
Alternatively, you can grant page access individually. You'll need to visit the target page, and click on the 3 dots, and select "Connect to integration".
3. Adding MCP config to your client:
Using npm:
Add the following to your .cursor/mcp.json
or claude_desktop_config.json
(MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json
)
{
"mcpServers": {
"notionApi": {
"command": "npx",
"args": ["-y", "@notionhq/notion-mcp-server"],
"env": {
"OPENAPI_MCP_HEADERS": "{\"Authorization\": \"Bearer ntn_****\", \"Notion-Version\": \"2022-06-28\" }"
}
}
}
}
Using Docker:
There are two options for running the MCP server with Docker:
Option 1: Using the official Docker Hub image:
Add the following to your .cursor/mcp.json
or claude_desktop_config.json
:
{
"mcpServers": {
"notionApi": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"-e", "OPENAPI_MCP_HEADERS",
"mcp/notion"
],
"env": {
"OPENAPI_MCP_HEADERS": "{\"Authorization\":\"Bearer ntn_****\",\"Notion-Version\":\"2022-06-28\"}"
}
}
}
}
This approach:
- Uses the official Docker Hub image
- Properly handles JSON escaping via environment variables
- Provides a more reliable configuration method
Option 2: Building the Docker image locally:
You can also build and run the Docker image locally. First, build the Docker image:
docker-compose build
Then, add the following to your .cursor/mcp.json
or claude_desktop_config.json
:
{
"mcpServers": {
"notionApi": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"-e",
"OPENAPI_MCP_HEADERS={\"Authorization\": \"Bearer ntn_****\", \"Notion-Version\": \"2022-06-28\"}",
"notion-mcp-server"
]
}
}
}
Don't forget to replace ntn_****
with your integration secret. Find it from your integration configuration tab:
Installing via Smithery
To install Notion API Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @makenotion/notion-mcp-server --client claude
Examples
- Using the following instruction
Comment "Hello MCP" on page "Getting started"
AI will correctly plan two API calls, v1/search
and v1/comments
, to achieve the task
- Similarly, the following instruction will result in a new page named "Notion MCP" added to parent page "Development"
Add a page titled "Notion MCP" to page "Development"
- You may also reference content ID directly
Get the content of page 1a6b35e6e67f802fa7e1d27686f017f2
Development
Build
npm run build
Execute
npx -y --prefix /path/to/local/notion-mcp-server @notionhq/notion-mcp-server
Publish
npm publish --access public
सर्वर कॉन्फ़िगरेशन
{
"mcpServers": {
"notion-mcp-server": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/metorial/mcp-container--makenotion--notion-mcp-server--notion-mcp-server",
"node bin/cli.mjs"
],
"env": {
"OPENAPI_MCP_HEADERS": "openapi-mcp-headers"
}
}
}
}