notion-automation-suite
by LucasBiason
Overview
Automate Notion workflows by encapsulating specific business rules for different database types (Work, Studies, Personal, Youtuber) and exposing them as Model Context Protocol (MCP) tools for AI agents.
Installation
docker run -i --rm -e NOTION_API_TOKEN=... -e NOTION_WORK_DATABASE_ID=... -e NOTION_STUDIES_DATABASE_ID=... -e NOTION_PERSONAL_DATABASE_ID=... -e NOTION_YOUTUBER_DATABASE_ID=... ghcr.io/lucasbiason/notion-mcp-server:latestEnvironment Variables
- NOTION_API_TOKEN
- NOTION_WORK_DATABASE_ID
- NOTION_STUDIES_DATABASE_ID
- NOTION_PERSONAL_DATABASE_ID
- NOTION_YOUTUBER_DATABASE_ID
- NOTION_API_VERSION
- REQUEST_TIMEOUT
- LOG_LEVEL
- LOG_FORMAT
- NOTION_ENV_FILE
- LOG_FILE_PATH
Security Notes
The server dynamically generates and executes Python code using `exec()` within the `_build_tool_callable` function during tool registration. While the inputs for code generation (tool names, schemas) are derived from internal, hardcoded definitions, relying on `exec()` for core functionality is a significant security risk. If an attacker could compromise the tool definition files (e.g., via a supply chain attack or direct file system access), they could inject arbitrary code, leading to remote code execution. This makes the server vulnerable if the integrity of its source or deployment environment is compromised.
Similar Servers
context-portal
Manages structured project context for AI assistants and developer tools, enabling Retrieval Augmented Generation (RAG) and prompt caching within IDEs.
better-notion-mcp
Provides a Markdown-first MCP server for Notion, optimizing Notion API interactions for AI agents by consolidating endpoints into composite actions and reducing LLM token overhead for tool descriptions.
jotsu-mcp
General-purpose library for implementing the Model Context Protocol (MCP) and creating workflows that use MCP tools, resources, and prompts.
comptext-mcp-server
Provides token-efficient access to Domain-Specific Language (DSL) documentation stored in Notion for LLM interactions.