What You'll Build
A workflow that lets you query, update, and create Notion pages or database
entries from natural-language prompts. Generate PRDs, sprint tasks, meeting
notes, or status reports automatically – perfect for individual developers
and cross-functional teams.
What You’ll Learn
- Connect the Notion MCP to Continue
- Securely add both Notion and Continue API keys as Hub secrets
- Use a pre-built agent (
continuedev/notion-continuous-ai
) for instant productivity - Issue advanced prompts to automate docs, tasks, and reporting
Prerequisites
Before starting, ensure you have:- Continue CLI installed (
npm i -g @continuedev/cli
) - A Notion workspace with Editor (or higher) access
- Node.js 18+ installed locally
- Continue account with Hub access
Agent usage requires credits – create a Continue API key at
hub.continue.dev/settings/api-keys
and store it as a secret.
1
Install Continue CLI
2
Create Notion Integration & Get Token
- Go to Notion Integrations
- Click + New integration → give it a name (e.g. “Continue MCP”)
- Select your workspace
- Under Capabilities enable Read / Write
- Click Submit and Copy the Internal Integration Token
This token is your
NOTION_MCP_TOKEN
secret.
Keep it safe – you won’t be able to view it again.- In Notion, open each database or top-level page you want accessible → Share → Invite your new integration → Full access.
3
Add Secrets to Continue Hub
- Open Continue Hub Secrets
- Click + New Secret and add the following:
- Key:
NOTION_MCP_TOKEN
→ Value:secret_...
(Your token from Step 2) - Key:
CONTINUE_API_KEY
→ Value:cont_api_...
(Your Continue API key)
Continue’s secure storage means secrets are available in any prompt as
$NOTION_MCP_TOKEN
etc.Notion Continuous AI Workflow Options
🚀 Fastest Path to Success
Skip the manual setup and use our pre-built Notion agent that includes
optimized prompts, rules, and the Notion MCP for more consistent results.
- ⚡ Quick Start (Recommended)
- 🛠️ Manual Setup
Perfect for: Immediate results with optimized prompts and built-in workflowsThat’s it! The agent handles everything automatically.
1
Load the Pre-Built Agent
Navigate to your project directory and run:This agent includes:
- Pre-installed Notion MCP for seamless integration
- Developer-focused rules for technical documentation
- Code-aware prompts that understand your repository structure
2
Run Your First Prompt
Why Use the Agent? Results are more consistent and debugging is easier thanks to the Notion MCP integration and pre-tested prompts.
Agent Requirements
Agent Requirements
To use the pre-built agent, you need either:
- Continue CLI Pro Plan with the models add-on, OR
- Your own API keys added to Continue Hub secrets
Example Prompts & Workflows
Now you can use natural language prompts to automate Notion. The Continue agent automatically calls the appropriate Notion MCP tools.API Documentation
Prompt:
Sprint Planning from Code
Prompt:
Launch Week Orchestration
Prompt:
RFC from Discussion
Prompt:
Advanced Workflows
Multi-Tool Workflows
Combine Notion with other MCPs for powerful automation:Notion + GitHub
Notion + PostHog
Code Review Insights
🎯 Outside the Box:
Notion + Linear
Security Best Practices
Protect Your API Keys:
- Treat
NOTION_MCP_TOKEN
like a password → rotate every 90 days - Grant the integration only required page/database access
- Use Continue’s secrets, never commit tokens to git
- Monitor token usage for unusual activity
What You’ve Built
After completing this guide, you have a complete AI-powered Notion automation system that:- Generates content - Create PRDs, meeting notes, and documentation with natural language
- Manages tasks - Update databases, track progress, and sync with other tools
- Runs autonomously - Set up GitHub Actions for scheduled documentation updates
- Scales with your team - Handle growing documentation needs automatically
Continuous AI
Your system now operates at Level 2 Continuous AI -
AI handles routine documentation and task management with human oversight
through review and approval of generated content.
Next Steps
- Add a GitHub Actions workflow to run
cn
nightly and publish status pages - Combine with Slack MCP for bi-directional updates
- Explore rule-based guardrails to enforce doc templates
- Set up multi-tool workflows connecting GitHub, Linear, or other services
Resources
Notion MCP Docs
Official documentation for the Notion MCP.
Continue CLI Reference
A complete guide to using the Continue CLI.
Pre-built Notion Agent
View the pre-built agent on Continue Hub.
Notion API Documentation
Complete Notion API reference and guides.