<?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>Forem: Lawrence.io</title>
    <description>The latest articles on Forem by Lawrence.io (@lumbol77).</description>
    <link>https://forem.com/lumbol77</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%2F3801026%2F989f1cf9-5707-44d5-bc72-622092664c39.jpeg</url>
      <title>Forem: Lawrence.io</title>
      <link>https://forem.com/lumbol77</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/lumbol77"/>
    <language>en</language>
    <item>
      <title>Building an AI-Powered Backlog Manager with MCP, Gemini 2.5, and Notion</title>
      <dc:creator>Lawrence.io</dc:creator>
      <pubDate>Tue, 17 Mar 2026 19:45:40 +0000</pubDate>
      <link>https://forem.com/lumbol77/building-an-ai-powered-backlog-manager-with-mcp-gemini-25-and-notion-4jol</link>
      <guid>https://forem.com/lumbol77/building-an-ai-powered-backlog-manager-with-mcp-gemini-25-and-notion-4jol</guid>
      <description>&lt;p&gt;&lt;strong&gt;The Problem&lt;/strong&gt;&lt;br&gt;
As a developer, I often have "lightbulb moments" for projects but struggle with the initial overhead of breaking them down into actionable tasks. I wanted a way to turn a single sentence into a structured, prioritized Kanban board and a set of GitHub issues in seconds.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Solution: AI-Backlog-Manager&lt;/strong&gt;&lt;br&gt;
I built an MCP (Model Context Protocol) server that acts as a bridge between high-level project ideas and your development workspace. By leveraging Google Gemini 2.5 Flash, the system decomposes a project idea into critical development phases and pushes them directly into Notion and GitHub simultaneously.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;System Architecture&lt;/strong&gt;&lt;br&gt;
The project follows a decoupled architecture, ensuring that the AI logic, the protocol server, and the database integration remain modular.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Client:&lt;/strong&gt; MCP Inspector (for testing and manual triggers).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Server&lt;/strong&gt;: A Python-based FastMCP server that orchestrates the workflow.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Intelligence&lt;/strong&gt;: Google Gemini 2.5 Flash, utilizing the latest google-genai SDK for high-performance inference.&lt;/p&gt;

&lt;p&gt;The Persistence: Notion API for project management and GitHub API for issue tracking.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Technical Deep Dive&lt;/strong&gt;&lt;br&gt;
The AI Layer (Gemini 2.5 Integration)&lt;br&gt;
I migrated the project to the Gemini 2.5 Flash model to take advantage of improved reasoning and lower latency.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Challenge&lt;/strong&gt;: Encountering 404 errors with legacy API endpoints.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Fix:&lt;/strong&gt; I transitioned from the legacy google-generativeai library to the modern google-genai SDK, explicitly configuring the client to target the stable v1 API version.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Python&lt;/strong&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Snippet from app/ai_agent.py
&lt;/h1&gt;

&lt;p&gt;client = genai.Client(api_key=os.getenv("GOOGLE_API_KEY"))&lt;/p&gt;

&lt;p&gt;response = client.models.generate_content(&lt;br&gt;
    model="models/gemini-2.5-flash", &lt;br&gt;
    contents=f"Generate a development backlog for: {idea}. Return ONLY a JSON list..."&lt;br&gt;
)&lt;br&gt;
The Protocol (MCP)&lt;br&gt;
Using the Model Context Protocol allowed me to standardize how the AI interacts with local tools. By defining a create_backlog_from_idea tool, I made my local Python environment accessible to any MCP-compatible client, turning a script into a powerful agentic tool.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Backend Robustness &amp;amp; Rate Limiting&lt;/strong&gt;&lt;br&gt;
As a Backend Engineer, I realized that sending multiple tasks to Notion simultaneously could trigger 429 Rate Limit errors. I implemented an asynchronous delay (time.sleep) between API calls to ensure stable delivery.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Results&lt;/strong&gt;&lt;br&gt;
I tested the system with a "Solar Power Monitoring System for a rural clinic" idea.&lt;br&gt;
The result? A fully populated Notion table and GitHub issues created in parallel, with priorities (High/Medium/Low) assigned automatically—all in under 5 seconds.&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%2F501k2by7luoffpdpgsjq.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%2F501k2by7luoffpdpgsjq.png" alt=" " width="800" height="356"&gt;&lt;/a&gt;&lt;br&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%2Fhtyogwwz4w1wkoibhzlp.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%2Fhtyogwwz4w1wkoibhzlp.png" alt=" " width="800" height="371"&gt;&lt;/a&gt;&lt;br&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%2Fxb1vscqabuuix57ivt7m.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%2Fxb1vscqabuuix57ivt7m.png" alt=" " width="800" height="473"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Lessons Learned&lt;/strong&gt;&lt;br&gt;
Schema Mapping: Notion’s API is highly sensitive. Aligning Python dictionaries with complex Notion title and select objects was a key debugging milestone.&lt;/p&gt;

&lt;p&gt;API Pathfinding: I used discovery scripts to map available models, which helped bypass regional endpoint restrictions.&lt;/p&gt;

&lt;p&gt;Prompt Stability: Robust regex-based cleaning was necessary to ensure the LLM's JSON output remained parsable even when wrapped in Markdown blocks.&lt;/p&gt;

&lt;p&gt;🔗 &lt;strong&gt;Project Links&lt;/strong&gt;&lt;br&gt;
GitHub:&lt;a href="https://github.com/lumbol77/Notion-ai-backlog-manager" rel="noopener noreferrer"&gt;https://github.com/lumbol77/Notion-ai-backlog-manager&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Loom Demo: &lt;a href="https://www.loom.com/share/4ec2c141a41a41d49e2d919e4dc02934" rel="noopener noreferrer"&gt;https://www.loom.com/share/4ec2c141a41a41d49e2d919e4dc02934&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  MCP #Python #AI #Notion #Gemini #BuildWithMCP #BackendEngineering
&lt;/h1&gt;

</description>
      <category>ai</category>
      <category>gemini</category>
      <category>mcp</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Hello World! | Software Engineer</title>
      <dc:creator>Lawrence.io</dc:creator>
      <pubDate>Mon, 02 Mar 2026 06:50:15 +0000</pubDate>
      <link>https://forem.com/lumbol77/hello-world-software-engineer-9cg</link>
      <guid>https://forem.com/lumbol77/hello-world-software-engineer-9cg</guid>
      <description>&lt;p&gt;Hi everyone! 👋&lt;/p&gt;

&lt;p&gt;I’m LUMBOL (Lawrence), a Computer Science graduate from the University of Jos, Nigeria. I’m moving from academic theory to industry practice and excited to join this community.&lt;/p&gt;

&lt;p&gt;My Focus:&lt;br&gt;
I am a Software Engineer specializing in building clean, scalable systems. I am particularly interested in how Machine Learning and Cybersecurity can make our software smarter and more resilient.&lt;/p&gt;

&lt;p&gt;Why I’m here:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;To connect with mentors and fellow engineers.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;2.To share my journey in the Nigerian tech ecosystem.&lt;/p&gt;

&lt;p&gt;3.To contribute to "Security-by-Design" projects.&lt;/p&gt;

&lt;p&gt;Looking forward to connecting!&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>career</category>
      <category>cybersecurity</category>
      <category>softwareengineering</category>
    </item>
  </channel>
</rss>
