mailsort: Teaching Gmail to Sort Mail Locally

My Gmail labels already described how I wanted mail grouped. I built mailsort to turn those labels into training data for a small classifier that runs on my own machine. mailsort learns topics from a Google Takeout export, then checks incoming messages over IMAP and suggests Gmail labels. There is no hosted AI service classifying the message text. Gmail is still contacted to read messages and apply labels, but the model and classification run locally. ...

October 26, 2026 · 4 min · 684 words · Taner

Building an MCP Server: Contracts and Use Cases for AI-Driven Code Quality, Documentation, and Dependency Management

Introduction The Model Context Protocol (MCP) is an emerging standard for integrating AI-driven tools into software development workflows. In this post, I’ll share how you can design contracts for an MCP server to automate code quality checks, generate API documentation, and manage dependencies—all with practical C# examples. 1. Code Quality Checker MCP Server Purpose: Integrate with static analysis tools (like SonarQube or ESLint) to automate code reviews, enforce style guidelines, and generate actionable reports. ...

May 5, 2025 · 3 min · TC

Enhancing Code Quality with MCP and ReSharper CLI

Introduction Recently, I started to learn about Model Context Protocol (MCP) and wrote a small project to use on Visual Studio Code with GitHub Copilot agent. After completing some tutorials, I wanted to create something more useful for my own tasks. I decided to write an MCP server that checks code quality and code coverage using ReSharper CLI, which is free and available with my Visual Studio subscription. This use case is perfect for me as it integrates seamlessly with my development workflow. ...

May 5, 2025 · 3 min · tc