Skip to main content

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:
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

npm i -g @continuedev/cli
Verify installation:
cn --version
2

Create Notion Integration & Get Token

  1. Go to Notion Integrations
  2. Click + New integration → give it a name (e.g. “Continue MCP”)
  3. Select your workspace
  4. Under Capabilities enable Read / Write
  5. 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.
  1. In Notion, open each database or top-level page you want accessible → ShareInvite your new integration → Full access.
3

Add Secrets to Continue Hub

  1. Open Continue Hub Secrets
  2. Click + New Secret and add the following:
  • Key: NOTION_MCP_TOKENValue: secret_... (Your token from Step 2)
  • Key: CONTINUE_API_KEYValue: 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.
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
The agent will automatically detect and use your configuration.

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:
Generate API documentation for all endpoints in src/api/routes
with request/response schemas. Create a page in the
Technical Docs database with authentication requirements.

Sprint Planning from Code

Prompt:
Scan the codebase for TODO and FIXME comments. Create tasks
in the Engineering Backlog database with code context,
file paths, and estimated complexity.

Launch Week Orchestration

Prompt:
Review commits since last release and my Launch Ideas notes.
Generate a Launch Week page with: feature announcements,
daily checklists, draft X/LinkedIn posts, and demo scripts.

RFC from Discussion

Prompt:
Turn our Slack architecture discussion from #eng-design into
a proper RFC. Include problem statement, proposed solution,
alternatives considered, and implementation timeline.

Advanced Workflows

Multi-Tool Workflows

Combine Notion with other MCPs for powerful automation:

Notion + GitHub

"Analyze all merged PRs this sprint, extract feature
descriptions and breaking changes, then create a
technical changelog in Notion with links to PRs."

Notion + PostHog

"Pull feature adoption metrics from PostHog for our last
release. Create a product insights page with usage graphs,
user segments, and recommendations for improvements."
See the PostHog Analytics Guide

Code Review Insights

🎯 Outside the Box:
"Analyze my code review comments from the past month.
Create a 'Personal Code Review Patterns' page highlighting
what I catch most often and blind spots to improve."

Notion + Linear

"Sync Linear issues tagged 'customer-reported' to Notion's
Customer Feedback database. Add impact scores based on
number of duplicate reports and affected users."

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

Happy automating!
I