Human Edits to MCP and Ollama

This commit is contained in:
armistace 2025-07-24 12:25:55 +10:00
parent 46c1e17be0
commit 9f07ffce80

View File

@ -1,4 +1,24 @@
# MCP and Ollama - Local Assistant is Close
Title: MCP and Ollama - Local Assistant is getting nearer
Date: 2025-07-24 20:00
Modified: 2025-07-24 20:00
Category: AI
Tags: tech, ai, ollama, mcp, ai-tools
Slug: mcp-ollama-local-assistant-soon
Authors: Andrew Ridgway
Summary: An Exploration of the Model Context Protocol and its potential to revolutionise how we interact with AI
## Human Introduction
So for today's blog I've upped the model paramters on both the editors and a couple drafters.. and I have to say I think we've nailed what my meagre hardware can achieve in terms of content production. The process take 30 more minutes to churn now but that quality output more than makes up for it. For context we are now using:
- Editor: Gemma3:27b
- Journalist 1: phi4-mini:latest
- Journalist 2: phi4:latest
- Journalist 3: deepseek-r1:14b <-> _I know but it **is** good even if it won't talk about Tiananmen Square_
- Journalist 4: qwen3:14b
As you can see if you compare some of the other blogs this Blog has really nailed tone and flow. Some of the content was wrong.. it though I "wrote" [MCPO](https://github.com/open-webui/mcpo) I didn't I wrapped it and the sign off was very cringe but otherwise the blog is largely what came out from the editor.
It's very exciting to see as I get better hardware and can run better models I fully see this being something that could potentially not need much editing on this side.. have to see how it goes moving forward... anyways, without futher adieu, Behold.. MCP and Ollama - A blog _**about**_ AI _**BY**_ AI
## Introduction: Beyond the Buzzwords A Real Shift in AI
@ -16,15 +36,15 @@ The beauty of MCP is its **openness**. Its not controlled by a single company
## My MCP Playground: Building a Gateway with mcpo
I wanted to get my hands dirty, so I built a little project called **mcpo** (Model Context Protocol Overlord yes, Im a bit dramatic). Its a gateway that connects **OpenWebUI** a fantastic tool for running LLMs locally with various **MCP servers**.
I wanted to get my hands dirty, so I built a little project wrapping [**mcpo**](https://github.com/open-webui/mcpo) in a container that can pull in config to create a containerised service. Its a gateway that connects **OpenWebUI** a fantastic tool for running LLMs locally with various **MCP servers**.
The goal? To create a flexible and extensible platform for experimenting with different AI agents and tools. I wanted to be able to quickly swap out different models, connect to different services, and see what happens. Its a bit like having a LEGO set for AI you can build whatever you want.
The goal? To create a flexible and extensible platform for experimenting with different AI agent tools within my build pipeline. I wanted to be able to quickly swap out different models, connect to different services, and see what happens. Its a bit like having a LEGO set for AI you can build whatever you want.
You can check out the project [here](https://git.aridgwayweb.com/armistace/mcpo_mcp_servers). If youre feeling adventurous, I encourage you to clone it and play around. Ive got it running in my **k3s cluster** (a lightweight Kubernetes distribution), but you can easily adapt it to Docker or other containerization platforms.
## Connecting the Dots: Home Assistant and Gitea Integration
Right now, mcpo supports two key services: **Home Assistant** and **Gitea**.
Right now my wrapper, supports two key services: **Home Assistant** and **Gitea**.
**Home Assistant** is my smart home hub it controls everything from the lights and thermostat to the security system. Integrating it with mcpo allows me to control these devices using natural language commands. Imagine saying, “Hey AI, dim the lights and play some jazz,” and it just happens. Its like living in a sci-fi movie.
@ -44,17 +64,17 @@ Another challenge is managing the context window. These models have a limited me
I believe the future of AI lies in the development of intelligent **agents** that can seamlessly interact with the world around us. These agents will need to be able to understand natural language, manage complex tasks, and adapt to changing circumstances.
**Prompt engineering** will be a critical skill for building these agents. Well need to learn how to craft prompts that elicit the desired behavior from the models.
**Prompt engineering** will be a critical skill for building these agents. Well need to learn how to craft prompts that elicit the desired behavior from the models. Almost like coding in a way but with far less structure and no need to understand the "syntax". But we're a long way from here yet
**Context management** will also be crucial. Well need to develop techniques for storing and retrieving relevant information, so the models can make informed decisions.
## Papering Over the Cracks: Using MCP to Integrate Legacy Systems
At work, were exploring how to use MCP to integrate legacy systems. Many organizations have a patchwork of different applications and databases that dont easily communicate with each other.
At my workplace, were exploring how to use MCP to integrate legacy systems. Many organizations have a patchwork of different applications and databases that dont easily communicate with each other.
MCP can act as a bridge between these systems, allowing them to share data and functionality. Its like building a universal translator for your IT infrastructure.
This can significantly reduce the cost and complexity of integrating new applications and services.
This can significantly reduce the cost and complexity of integrating new applications and services, if we get the boilerplate right.
## Conclusion: The Dawn of a New Era in AI
@ -66,4 +86,6 @@ If youre interested in learning more about MCP, I encourage you to check out
And if youre feeling adventurous, I encourage you to clone my mcpo project ([https://git.aridgwayweb.com/armistace/mcpo_mcp_servers](https://git.aridgwayweb.com/armistace/mcpo_mcp_servers)) and start building your own AI agents.
The future of AI is in our hands. Lets build something amazing.
It's been a bit of a ride. Hopefully I'll get a few more projects that can utilise some of these services but with so much new stuff happening my 'ooo squirell' mentality could prove a bit of a headache... might be time to crack open the blog_creator and use crew ai and mcp to create some research assistants on top of the drafters and editor!
Talk soon!