<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Harshal patil</title>
    <description>The latest articles on DEV Community by Harshal patil (@harshal141).</description>
    <link>https://dev.to/harshal141</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F945450%2F7393ccf7-615b-4a66-a8a7-ca66e9b6094c.jpeg</url>
      <title>DEV Community: Harshal patil</title>
      <link>https://dev.to/harshal141</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/harshal141"/>
    <language>en</language>
    <item>
      <title>I Built an AI Project Lifecycle Manager with Notion MCP: PRD Review to Tickets in One Flow</title>
      <dc:creator>Harshal patil</dc:creator>
      <pubDate>Sun, 22 Mar 2026 10:22:59 +0000</pubDate>
      <link>https://dev.to/harshal141/i-built-an-ai-project-lifecycle-manager-with-notion-mcp-prd-review-to-tickets-in-one-flow-1h75</link>
      <guid>https://dev.to/harshal141/i-built-an-ai-project-lifecycle-manager-with-notion-mcp-prd-review-to-tickets-in-one-flow-1h75</guid>
      <description>&lt;h2&gt;
  
  
  Notion Assist
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;AI-powered project lifecycle manager: from PRD review to TRD to tickets, all inside Notion. (Bye Bye PMs)&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  What It Does
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Notion Assist&lt;/strong&gt; takes your PRD, reviews it against your existing workspace context (business logic, RCAs, issues, engineering DB). Writes a Technical Requirements Document and creates a full tickets dashboard in one flow, all living in Notion.&lt;/p&gt;

&lt;p&gt;Share a PRD link. One button later, you have three production-ready artifacts:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;PRD Review&lt;/strong&gt; — structured analysis with gaps, strengths, and completeness score&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;TRD&lt;/strong&gt; — full technical doc with architecture, APIs, data models, edge cases&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tickets Dashboard&lt;/strong&gt; — Notion database pre-populated with all tasks (type, priority, description)&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  The Problem
&lt;/h2&gt;

&lt;p&gt;Every product team does this manually:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Write PRD → share with team for review&lt;/li&gt;
&lt;li&gt;Engineers write TRD from PRD&lt;/li&gt;
&lt;li&gt;Someone breaks TRD into tickets&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;That's 3 context switches, 3 docs to write, and the information rarely stays connected. By the time tickets are created, half the PRD context is lost.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Flow
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;You: "Review my PRD for the billing upgrade flow."
         ↓
Claude searches the Notion workspace (via MCP)
Claude reads PRD + related docs + known issues
Claude outputs: Summary → Gaps → Strengths → Score
         ↓
  [ → Build TRD + Tickets in Notion ]   ← one button
         ↓
TRD page created in Notion
         ↓
Tickets database created in Notion (pre-populated)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The sidebar tracks live progress and shows &lt;code&gt;↗ view&lt;/code&gt; links to each artifact as they're created.&lt;/p&gt;




&lt;h2&gt;
  
  
  How It Works — Notion MCP
&lt;/h2&gt;

&lt;p&gt;This branch uses the &lt;strong&gt;Anthropic Messages API &lt;code&gt;mcp-client-2025-04-04&lt;/code&gt; beta&lt;/strong&gt;. One API call gives Claude native access to your entire Notion workspace — no tool definitions, no proxy for chat, no MCP client code.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="nf"&gt;fetch&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;https://api.anthropic.com/v1/messages&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="na"&gt;headers&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;x-api-key&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;ANTHROPIC_API_KEY&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;anthropic-version&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;2023-06-01&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;anthropic-beta&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;mcp-client-2025-04-04&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;anthropic-dangerous-direct-browser-access&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;true&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="p"&gt;},&lt;/span&gt;
  &lt;span class="na"&gt;body&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;JSON&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;stringify&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;
    &lt;span class="na"&gt;model&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;claude-sonnet-4-20250514&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="na"&gt;max_tokens&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;8096&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="na"&gt;system&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;SYSTEM_PROMPT&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="na"&gt;messages&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[...],&lt;/span&gt;
    &lt;span class="na"&gt;mcp_servers&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[{&lt;/span&gt;
      &lt;span class="na"&gt;type&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;url&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="na"&gt;url&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;https://mcp.notion.com/sse&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="na"&gt;headers&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="na"&gt;Authorization&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;`Bearer &lt;/span&gt;&lt;span class="p"&gt;${&lt;/span&gt;&lt;span class="nx"&gt;NOTION_TOKEN&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;`&lt;/span&gt; &lt;span class="p"&gt;},&lt;/span&gt;
      &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;notion&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;}],&lt;/span&gt;
  &lt;span class="p"&gt;}),&lt;/span&gt;
&lt;span class="p"&gt;});&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Claude gets access to &lt;code&gt;notion-search&lt;/code&gt;, &lt;code&gt;notion-fetch&lt;/code&gt;, &lt;code&gt;notion-create-pages&lt;/code&gt;, &lt;code&gt;notion-create-database&lt;/code&gt;, and more — automatically. It decides which tools to call, reads multiple pages, cross-references issues, and creates artifacts. Zero routing logic on our end.&lt;/p&gt;

&lt;h3&gt;
  
  
  Session storage
&lt;/h3&gt;

&lt;p&gt;Project state (name, stage, timestamps) is stored in a Notion database that the app creates automatically on first run (&lt;code&gt;notion-assist-sessions-v1&lt;/code&gt;). This uses the Notion REST API via a Next.js server-side proxy to avoid CORS.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Browser → Anthropic API + mcp_servers  (chat, CORS allowed via beta header)
Browser → /api/notion (Next.js proxy)  (session storage only)
              ↕
         Notion Workspace
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  Tech Stack
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Next.js 16&lt;/strong&gt; (App Router) — frontend + &lt;code&gt;/api/notion&lt;/code&gt; proxy for session storage&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tailwind CSS v4&lt;/strong&gt; — dark terminal-style UI&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Anthropic API&lt;/strong&gt; — Claude Sonnet with Notion MCP (&lt;code&gt;mcp-client-2025-04-04&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Notion MCP&lt;/strong&gt; — &lt;code&gt;mcp.notion.com/sse&lt;/code&gt; — full workspace read/write via Claude&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;react-markdown&lt;/strong&gt; — AI response rendering&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;No backend. No database. Everything lives in Notion.&lt;/p&gt;




&lt;h2&gt;
  
  
  Architecture
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Browser
  ├── Anthropic API (Claude + Notion MCP)   ← chat, PRD review, TRD, tickets
  │       Claude ↔ mcp.notion.com ↔ Notion workspace
  │
  └── /api/notion (Next.js proxy)           ← session/project tracking only
              ↕
         notion-assist-sessions-v1/
                 └── Projects DB
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  Getting Started
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. Get an Anthropic API key&lt;/strong&gt;&lt;br&gt;
Sign up at &lt;a href="https://console.anthropic.com" rel="noopener noreferrer"&gt;console.anthropic.com&lt;/a&gt;. Key starts with &lt;code&gt;sk-ant-&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Create a Notion integration&lt;/strong&gt;&lt;br&gt;
Go to &lt;a href="https://www.notion.so/my-integrations" rel="noopener noreferrer"&gt;notion.so/my-integrations&lt;/a&gt;, create an integration, copy the token (&lt;code&gt;ntn_...&lt;/code&gt;). Share your workspace pages with it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Run&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm &lt;span class="nb"&gt;install
&lt;/span&gt;npm run dev
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Open &lt;code&gt;http://localhost:3000&lt;/code&gt;, enter your keys, and paste a PRD link to start.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fm2x5tb2vlyzmkfrlihp3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fm2x5tb2vlyzmkfrlihp3.png" alt="Setup"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  What's Next
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Retrospective stage&lt;/strong&gt; — AI reads closed tickets and writes a retro doc&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Slack integration&lt;/strong&gt; — post PRD review summary to a channel&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Real streaming&lt;/strong&gt; — SSE streaming once MCP beta supports it&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Multi-user&lt;/strong&gt; — shared project state via the Notion DB (already there)&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Branches
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Branch&lt;/th&gt;
&lt;th&gt;LLM&lt;/th&gt;
&lt;th&gt;Notion access&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;anthropic-api&lt;/code&gt; (this)&lt;/td&gt;
&lt;td&gt;Claude via Anthropic API&lt;/td&gt;
&lt;td&gt;Notion MCP — native, zero tool code&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;main&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Gemini/Claude via OpenRouter (free)&lt;/td&gt;
&lt;td&gt;Direct Notion REST API + custom tools&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Use &lt;code&gt;main&lt;/code&gt; if you don't have an Anthropic key — it works with a free OpenRouter account.&lt;/p&gt;




&lt;h2&gt;
  
  
  Links
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;GitHub: &lt;a href="https://github.com/Harshal141/notion_assist" rel="noopener noreferrer"&gt;github.com/Harshal141/notion_assist&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Built for the Notion MCP Hackathon&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>notionchallenge</category>
      <category>ai</category>
      <category>nextjs</category>
      <category>devchallenge</category>
    </item>
  </channel>
</rss>
