{"id":24399626,"url":"https://github.com/seonglae/mcp-notion","last_synced_at":"2025-04-23T00:13:12.616Z","repository":{"id":272184266,"uuid":"915755820","full_name":"seonglae/mcp-notion","owner":"seonglae","description":"Global Notion workspace-accessible MCP server for all Notion pages within the workspace","archived":false,"fork":false,"pushed_at":"2025-03-19T12:33:37.000Z","size":544,"stargazers_count":6,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-23T00:12:53.964Z","etag":null,"topics":["ai-protocol","anthropic","context-protocol","mcp","model-context-protocol","notion","notion-api","prompt-engineering"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/seonglae.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["seonglae"],"custom":["https://paypal.me/seonglae","https://www.buymeacoffee.com/seongland"]}},"created_at":"2025-01-12T18:06:00.000Z","updated_at":"2025-04-07T08:56:07.000Z","dependencies_parsed_at":"2025-01-12T19:34:02.047Z","dependency_job_id":"f55572fd-00da-41a1-a242-ee3f2dbb61c5","html_url":"https://github.com/seonglae/mcp-notion","commit_stats":null,"previous_names":["texonom/mcp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seonglae%2Fmcp-notion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seonglae%2Fmcp-notion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seonglae%2Fmcp-notion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seonglae%2Fmcp-notion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seonglae","download_url":"https://codeload.github.com/seonglae/mcp-notion/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250343956,"owners_count":21415041,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai-protocol","anthropic","context-protocol","mcp","model-context-protocol","notion","notion-api","prompt-engineering"],"created_at":"2025-01-19T23:50:38.499Z","updated_at":"2025-04-23T00:13:12.595Z","avatar_url":"https://github.com/seonglae.png","language":"TypeScript","funding_links":["https://github.com/sponsors/seonglae","https://paypal.me/seonglae","https://www.buymeacoffee.com/seongland"],"categories":["Other Tools and Integrations","Knowledge Management \u0026 Memory"],"sub_categories":["How to Submit"],"readme":"# Browse your entire Notion workspace, not just one database\n\nMarkdown based Notion navigating MCP with just a single `ROOT_PAGE` variable, eliminating the need for a token.\n\n- Notion MCP Server: `notion-texonom`\n- Notion pages are converted into `text/markdown` mimeType notes.\n- Search and retrieve relevant pages based on graph distance, considering parent-child and reference relationships.\n\nA Model Context Protocol (MCP) server for managing and interacting with Notion-based notes. This TypeScript-based server demonstrates MCP concepts by integrating resources, tools, and prompts to interact with Notion pages efficiently.\n\n## Features\n\n### Resources\n\n\u003cimg width=\"768\" alt=\"Resources Inspection\" src=\"image/resources.png\"\u003e\n\n- **Access Notes**: List and retrieve Notion pages as `note://` URIs with UUID slugs.\n- **Metadata**: Each resource includes a title, description, and content in Markdown format.\n- **Mime Types**: Content is accessible in `text/markdown` format.\n\n### Tools\n\n\u003cimg width=\"768\" alt=\"Tools Inspection\" src=\"image/tools.png\"\u003e\n\n- **Search Notes**: Use the `search_notes` tool to search for Notion pages using a query string.\n  - Input: Query text to filter relevant pages.\n  - Output: Markdown content of matching notes.\n\n### Prompts\n\n\u003cimg width=\"768\" alt=\"Prompts Inspection\" src=\"image/prompts.png\"\u003e\n\n- **Summarize Notes**: Generate summaries for individual Notion pages.\n  - Available Prompts:\n    - `summarize_note`: Summarize a specific note by URI.\n    - `suggest_refactor`: Propose structural improvements.\n    - `suggest_fix`: Identify potential fixes for note content.\n    - `suggest_enhance`: Recommend enhancements to improve the note.\n  - Input: Notion page URI.\n  - Output: Structured messages for summarization and enhancement.\n\n## Development\n\n### Setup\nInstall dependencies:\n```bash\npnpm install\n```\nBuild the project:\n```bash\npnpm build\n```\nFor development with auto-rebuild:\n\n```bash\npnpm watch\n```\n\n\n## Configuration\nTo configure the server with Notion:\n\n- Set environment variables:\n  - `ROOT_PAGE`: The root page ID of your Notion workspace.\n\n\n## Installation for Claude Desktop\n\nTo use this server with Claude Desktop, add the configuration:\n\n- MacOS: `~/Library/Application Support/Claude/claude_desktop_config.json`\n- Windows: `%APPDATA%/Claude/claude_desktop_config.json`\n\nExample configuration:\n\n```json\n{\n  \"mcpServers\": {\n    \"notion-texonom\": {\n      \"command\": \"node\",\n      \"args\": [\n        \"/path/to/mcp/build/index.js\"\n      ],\n      \"env\": {\n        \"ROOT_PAGE\": \"$SOME_UUID\"\n      }\n    }\n  }\n}\n```\n\n### Debugging\nFor troubleshooting and debugging the MCP server, use the MCP Inspector. To start the Inspector, run:\n\n```bash\npnpm inspector\n```\nThe Inspector provides a browser-based interface for inspecting stdio-based server communication.\n\n## Key Technologies\n- Notion Integration: Powered by `@texonom/nclient` and `@texonom/cli.`\n- MCP SDK: Implements `@modelcontextprotocol/sdk` for server operations.\n\n## Remote Deployment\n\nThe server now uses `SSEServerTransport` for remote communication, enabling shared usage of the server. Ensure that the necessary dependencies are installed and the server is configured correctly for remote deployment.\n\n## Usage Instructions\n\nTo run the server with `SSEServerTransport`, use the following command:\n\n```bash\nnpx -y supergateway --port 8000 --stdio \"npx -y @modelcontextprotocol/server-filesystem /some/folder\"\n```\n\nMake sure to replace `/some/folder` with the appropriate path to your folder.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseonglae%2Fmcp-notion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseonglae%2Fmcp-notion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseonglae%2Fmcp-notion/lists"}