MCP server templated reports

Intro I have been fooling around a lot with ai recently, and one of the things I’ve found myself doing is integrating with MCP servers and then using the projects feature in claude to generate custom reports. What is this? I have set up a remote MCP server that pulls data from the Star Wars API (swapi). This is a remote MCP server, so I am hosting it on one of my domains....

December 28, 2025 · 5 min · codecowboy.io

Github dockerfile service using AI - Part 2

Intro I have been fooling around a lot with ai recently, and I thought I would write something about what I’ve been doing. There are a few things that I’ve been doing, and they’re all fascinating. Writing average looking code using minimum viable prompts. Getting this average looking code refactored to be a robust service. Generating API documentation - and having Claude fix this code. This is part two of a small series that I have created to walk through the process I went through to get decent code....

November 26, 2025 · 18 min · codecowboy.io

Github dockerfile service using AI - Part 1

Intro I have been fooling around a lot with ai recently, and I thought I would write something about what I’ve been doing. There are a few things that I’ve been doing, and they’re all fascinating. Writing average looking code using minimum viable prompts. Getting this average looking code refactored to be a robust service. Generating API documentation - and having Claude fix this code. This is part one of a small series that I have created to walk through the process I went through to get decent code....

November 24, 2025 · 10 min · codecowboy.io

A Simple svelte app

Intro I recently had a need to think about API testing again. I needed to quickly come up with a small web based tester to perform the occasional get request but also a post request with data. It’s a lot simpler for me to just grab a JSON blob of data and send it to an endpoint with a click and evaluate the results. I decided to use svelte. I haven’t used svelte before but I was surprised by its simplicity and ease of use....

June 19, 2025 · 10 min · codecowboy.io

Creating an MCP server with Anthropic

Intro There has been a lot of hype on socials recently about MCP or Model Context Protocol. Essentially it’s a protocol that allows LLM AI to be extended. Most of the extensions relate to providing context using your own data. This is what I am going to walk through here. I will walk through: Creating an MCP What works and what works better My discoveries so far TLDR If you just want the code - it’s here:...

May 10, 2025 · 9 min · codecowboy.io

Buildkite and Pulumi

Intro I’ve been doing a bit of work recently with different CI tools. One of the ones that I’ve been using is buildkite. You can find out more about buildkite buildkite.com Infrastructure In order to use buildkite, I need to stand up a buildkite agent, or a runner. In builtkite terms its called an agent. I am going to stand up all of my infrastructure using Infrastructure as Code (IaC). My chosen IaC framework is pulumi....

October 28, 2022 · 9 min · codecowboy.io

Everything is a file

Intro I’ve been programming in C on unix for a long time - too long in fact. I was reminded recently by someone that everything is a file in Linux / Unix. Tip I am going to use the term Linux to cover off both Unix and Linux from here on I thought that I would write about this with some code examples, and given I’m currently working for a security company, I thought it would be useful to point out how to use this functionality for evil rather than good from a security perspective....

October 23, 2022 · 5 min · codecowboy.io

Code first api development

Intro I recently had a discussion with a friend about what was better with regards to creating API’s. Design First or Code First. The approaches are radically different. We debated back and forth a bit, and I decided what better way to figure this out than to do two four hour sprints and write about the results. This post is about the first sprint that I did which was the Code First approach....

July 22, 2022 · 11 min · codecowboy.io

Follow the white rabbit - Monitoring the network of a single process

Intro I was recently challenged with the single task of being able to monitor all connectivity in and out of a process. At first thought this is actually fairly easy. “I’ll just use tcpdump” I thought to myself. That single sentence lead me down a rabbit hole of processes, namespaces and the linux kernel. I thought that I would share my experiences of how to do this. Why do this at all?...

June 23, 2022 · 9 min · codecowboy.io