<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/spring-ai-build-a-blogging-machine-t7emzirmz" -->

---
title: Spring AI: Build a Blogging Machine | daily.dev
description: A demo walks through a personal project called Blogify built with Spring AI that chains multiple LLMs (OpenAI, Groq, Gemini) to generate, enhance, and...
canonical: https://daily.dev/posts/spring-ai-build-a-blogging-machine-t7emzirmz
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Spring AI: Build a Blogging Machine | daily.dev
og:description: A demo walks through a personal project called Blogify built with Spring AI that chains multiple LLMs (OpenAI, Groq, Gemini) to generate, enhance, and...
og:url: https://daily.dev/posts/spring-ai-build-a-blogging-machine-t7emzirmz
og:image: https://api.daily.dev/og/posts/t7eMZiRmz.png
og:image:alt: Spring AI: Build a Blogging Machine
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Spring AI: Build a Blogging Machine

**[SivaLabs \(YouTube\)](https://daily.dev/sources/sivalabs-youtube)** · 23 min read · 0 upvotes · 0 comments

## Summary

A demo walks through a personal project called Blogify built with Spring AI that chains multiple LLMs (OpenAI, Groq, Gemini) to generate, enhance, and fact-check blog article drafts, then uses a GitHub MCP server integration to publish the final markdown file to a Hugo-based static site repository, triggering GitHub Actions to build and publish the blog. The creator walks through the Spring Boot configuration, multiple chat client setups for different OpenAI-compatible models, structured output handling, and the MCP client setup for GitHub, while crediting another developer's similar project as inspiration and cautioning against blindly auto-publishing AI-generated content without review.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=X3Anoqoj7XA>

## Questions this post answers

### How can I use Spring AI to integrate with a GitHub MCP server for publishing content?

Configure a Spring AI MCP client pointing to a GitHub MCP server run via a docker container, passing a GitHub personal access token as an environment variable rather than hardcoding it in JSON config. Inject a tool call-back provider into the chat client, then prompt the LLM with the target repository, directory, filename, and content; the model figures out the GitHub API calls needed to create the file automatically.

_See how daily.dev surfaces practical Spring AI and MCP integration walkthroughs for developers building similar pipelines._

### How can I configure Spring AI to use multiple OpenAI-compatible LLM providers like Groq and Gemini in one application?

Because Groq, Gemini, and OpenAI all expose OpenAI-compatible APIs, you can define separate application properties for each provider's base URL, model name, and completion path, then build distinct chat client beans from those properties. A verifier property lets you switch which provider handles enhancement and evaluation without changing code, just by toggling which properties are active.

_Developers comparing LLM providers for Spring AI apps can track these configuration patterns on daily.dev._

## Similar posts on daily.dev

- [AI Assistant for Our Blog Writing Process](https://daily.dev/posts/ai-assistant-for-our-blog-writing-process-uduobqhmo) · RUBYLAND · 1 upvotes · 0 comments
- [Spring AI tutorial: Get started with Spring AI](https://daily.dev/posts/spring-ai-tutorial-get-started-with-spring-ai-phjfbwkwg) · InfoWorld · 0 upvotes · 0 comments
- [How I Built a Blog-to-Podcast AI Agent](https://daily.dev/posts/how-i-built-a-blog-to-podcast-ai-agent-6hfveoxdq) · Medium · 2 upvotes · 0 comments
- [Spring AI Series](https://daily.dev/posts/spring-ai-series-j7w3rmryb) · Baeldung · 4 upvotes · 0 comments

---

Tags: [#ai-agents](https://daily.dev/tags/ai-agents), [#github](https://daily.dev/tags/github), [#java](https://daily.dev/tags/java), [#mcp](https://daily.dev/tags/mcp), [#spring-ai](https://daily.dev/tags/spring-ai)

[View this post on daily.dev](https://daily.dev/posts/spring-ai-build-a-blogging-machine-t7emzirmz)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Spring AI: Build a Blogging Machine","url":"https://daily.dev/posts/spring-ai-build-a-blogging-machine-t7emzirmz","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/spring-ai-build-a-blogging-machine-t7emzirmz"},"datePublished":"2026-09-27T07:26:42.324Z","dateModified":"2026-09-27T07:53:36.264Z","description":"A demo walks through a personal project called Blogify built with Spring AI that chains multiple LLMs (OpenAI, Groq, Gemini) to generate, enhance, and...","image":"https://i.ytimg.com/vi/X3Anoqoj7XA/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/X3Anoqoj7XA/sddefault.jpg","isAccessibleForFree":true,"articleSection":"SivaLabs (YouTube)","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"SivaLabs (YouTube)","logo":"https://media.daily.dev/image/upload/s--8ATVo4an--/f_auto,q_auto/v1790493987/logos/sivalabs-youtube?_a=BAMAMicg0","url":"https://daily.dev/sources/sivalabs-youtube"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/spring-ai-build-a-blogging-machine-t7emzirmz","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"ai-agents,github,java,mcp,spring-ai","timeRequired":"PT23M","video":{"@type":"VideoObject","name":"Spring AI: Build a Blogging Machine","description":"A demo walks through a personal project called Blogify built with Spring AI that chains multiple LLMs (OpenAI, Groq, Gemini) to generate, enhance, and...","thumbnailUrl":"https://i.ytimg.com/vi/X3Anoqoj7XA/sddefault.jpg","uploadDate":"2026-09-27T07:26:42.324Z","duration":"PT23M","url":"https://api.daily.dev/r/t7eMZiRmz","embedUrl":"https://www.youtube.com/embed/X3Anoqoj7XA"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"SivaLabs (YouTube)","item":"https://daily.dev/sources/sivalabs-youtube"},{"@type":"ListItem","position":3,"name":"Spring AI: Build a Blogging Machine"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/spring-ai-build-a-blogging-machine-t7emzirmz#faq","mainEntity":[{"@type":"Question","name":"How can I use Spring AI to integrate with a GitHub MCP server for publishing content?","acceptedAnswer":{"@type":"Answer","text":"Configure a Spring AI MCP client pointing to a GitHub MCP server run via a docker container, passing a GitHub personal access token as an environment variable rather than hardcoding it in JSON config. Inject a tool call-back provider into the chat client, then prompt the LLM with the target repository, directory, filename, and content; the model figures out the GitHub API calls needed to create the file automatically. See how daily.dev surfaces practical Spring AI and MCP integration walkthroughs for developers building similar pipelines."}},{"@type":"Question","name":"How can I configure Spring AI to use multiple OpenAI-compatible LLM providers like Groq and Gemini in one application?","acceptedAnswer":{"@type":"Answer","text":"Because Groq, Gemini, and OpenAI all expose OpenAI-compatible APIs, you can define separate application properties for each provider's base URL, model name, and completion path, then build distinct chat client beans from those properties. A verifier property lets you switch which provider handles enhancement and evaluation without changing code, just by toggling which properties are active. Developers comparing LLM providers for Spring AI apps can track these configuration patterns on daily.dev."}}]}
```

