Skip to main content

Part 1: Connecting AI to My Daily Tools – A Simple MCP-Powered TODO App

Imagine asking an AI to manage your TODO list, run a local script, or update a file - it does exactly that, like a virtual assistant plugged into your computer. This is now possible thanks to something called MCP (Model Context Protocol). 


What is MCP? 

MCP (Model Context Protocol) is a lightweight protocol proposed by Anthropic that enables AI models to interact with tools in a structured and transparent manner. It lets you define tools in an AI-readable format — including their names, parameters, descriptions, and return types — so that LLMs like Claude, GPT (and others) can understand and call them safely. With MCP, you can turn your scripts, utilities, and services into AI-callable tools, effectively giving the model "extensions" into your local environment or applications. 

Image Source: fb.com/devtalks


My First Experiment: A TODO List MCP Server 

To explore MCP in action, I created a simple MCP server that exposes two tools: 
 📝 addTodo(day, task) — Adds a task under a specific day in a TODO list. 
 📖 readTodoList() — Reads and returns the current TODO list. 

The TODOs are saved in a plain todo-list.txt file, stored wherever the user prefers (customizable via config). 
I integrated this server with Visual Studio Code’s AI Agent Mode, and it worked like magic: 
 “Add ‘Prepare slides for meeting’ to Thursday’s TODO list.” 
“What’s on my TODO list?” 
 The AI agent calls the tool via MCP, and updates the file instantly. 


Why This Matters 

This is just a simple example, but it shows how MCP can unlock powerful, personalized workflows. You can use the power of AI LLM models to 

- Automate parts of your local workflow 
- Trigger shell scripts, analyze files, or control apps in natural language. 

Not just about your workflow, your application's user can interact with natural language to get result from the application. 

MCP brings a layer of tool-augmented intelligence to your everyday computing. 


What’s Coming in Part 2 

In the next post, I’ll go a step further: 
 - Set up a locally running LLM (no internet or cloud dependency) 
 - Build an MCP client that communicates with the TODO server 
 - Create a fully local, private, LLM-powered system that understands and executes tasks

Comments

Popular posts from this blog

কিভাবে উইন্ডোজ ১০ এ Java/JDK ৮ ইন্সটল করবেন? JDK 8 installation guide!

এই ব্লগে আমরা দেখবো কিভাবে একটি উইন্ডোজ ১০ পিসি তে Java/JDK ইন্সটল করতে হয়। Java ইন্সটল করা বলতে আমরা বুঝবো JDK বা Java Development Kit ইন্সটল করাকে। আমরা এই ব্লগে জানবো কি করে Oracle JDK এর ভার্সন ৮ ইন্সটল করতে হয়। ধাপ ১ঃ ডাউনলোড JDK ৮ ডাউনলোড লিঙ্কঃ  https://www.oracle.com/java/technologies/downloads/#java8 অথবা  https://www.oracle.com/java/technologies/downloads/  এই লিঙ্ক এ গিয়েও স্ক্রল করে নিচে নেমে Java 8 choose করতে পারেন। Available product/file গুলো থেকে x64 Installer এর .exe file টা ডাউনলোড করি (তবে আপনার পিসি যদি 32-bit অপারেটিং সিস্টেম এর হয়, সেক্ষেত্রে আপনি ডাউনলোড করবেন x86 Installer এর exe file টা-কে)। ডাউনলোড করার জন্য Oracle এ অ্যাকাউন্ট থাকতে হয়। আপনার যদি অ্যাকাউন্ট না থাকে তবে অ্যাকাউন্ট create করে নিবেন। Oracle এ অ্যাকাউন্ট create করা একদম free of cost. ধাপ ২ঃ ইন্সটল JDK ৮ ডাউনলোড করা হয়ে গেলে .exe টাতে double click করে ইন্সটল করা শুরু করি। নিচের ছবি গুলোর মতো একটা করা উইন্ডো আপনার সামনে ওপেন হবে এবং আপনি Next button ক্লিক করে সামনে এগিয়ে যা...

JDK 17 installation guide | কিভাবে উইন্ডোজ ১০ এ Java/JDK ১৭ ইন্সটল করবেন? How to install JDK 17 on windows 10?

এই ব্লগে আমরা জানবো কিভাবে উইন্ডোজ ১০ পিসি তে Java/JDK ইন্সটল করতে হয়। Java ইন্সটল করা বলতে আমরা বুঝবো JDK বা Java Development Kit ইন্সটল করাকে। আমরা এই ব্লগে Oracle JDK এর ভার্সন ১৭ কিভাবে ইন্সটল করতে হয় সেই ধাপগুলো জানবো।  ধাপ ১ঃ ডাউনলোড JDK ১৭ ডাউনলোড লিঙ্কঃ  https://www.oracle.com/java/technologies/downloads/#java17 অথবা  https://www.oracle.com/java/technologies/downloads/  এই লিঙ্ক এ গিয়েও স্ক্রল করে নিচে নেমে Java 17 choose করতে পারেন। Available product/file গুলো থেকে x64 Installer এর .exe file টা ডাউনলোড করি। ডাউনলোড করার জন্য Oracle এ অ্যাকাউন্ট থাকতে হয়। আপনার যদি অ্যাকাউন্ট না থাকে তবে অ্যাকাউন্ট create করে নিবেন। Oracle এ অ্যাকাউন্ট create করা একদম free of cost. ধাপ ২ঃ ইন্সটল JDK ১৭ ডাউনলোড করা হয়ে গেলে .exe টাতে double click করে ইন্সটল করা শুরু করি। নিচের ছবি গুলোর মতো একটা করা উইন্ডো আপনার সামনে ওপেন হবে এবং আপনি Next button ক্লিক করে সামনে এগিয়ে যাবেন। সবশেষে Close button ক্লিক করে ইন্সটল করা সম্পন্ন করবেন। ধাপ ৩ঃ Environment Variable সেটআপ S...