Understanding MCP servers and how to use them
If you’re not up to date with the latest advancements in GenAI, Model Context Protocol aka MCP servers are taking over the internet and everyone is talking about this AI Agents 2.0 framework which can connect any software (and I mean any) to LLMs and let AI control it for you.
Data Science in Your Pocket – No Rocket Science
So, if you wish to wrap your head around MCP, you’re at the right place. In this post, I will try to explain everything from scratch to advanced topics on MCP.
Let’s get started
1. What are MCP Servers?
MCP Servers helps you to connect to softwares like WhatsApp, Twitter, YouTube to LLMs and let AI control these softwares. That too for free !
How MCP works?
Why MCP important?
Check in the below video for full details
https://medium.com/media/c55e9379d2d2113daa3b96286396f0cd/href
2. How to use MCP Servers using Ollama?
One common misconception amongst everyone is MCPs can be used only with ClaudeAI. No !!
You can use it with any LLM, including local LLMs using Ollama. How? Check below
https://medium.com/media/49c3be099edfcffcdc4faded5289e2ea/href
3. How to use MCP Servers with any LLM API or Cursor?
Using mcp_use python package which enables MCP for OpenAI, Gemini, HuggingFace, etc all at once with a few lines of code
https://medium.com/media/1fc3f79c132928bedf333b576407bf23/hrefhttps://medium.com/media/4d875ee9ed4a492153d1ded87dd56102/href
4. Some Popular MCP server demos
4.1 Social Media MCP Servers tutorial
You can now manage your social media with ease using AI. Let AI post on your behalf and you chill on your bed !
https://medium.com/media/0212b8995a56d931a846d7fd68e7c49d/hrefhttps://medium.com/media/e8a4cde7e85f8a4f61f85df704d79d6e/hrefhttps://medium.com/media/09649ced08d2d9367af312daf97c89d4/href
4.2 GSuite MCP (Gmail and Google Calendar)
Let AI send emails, schedule your calendar and a lot more
https://medium.com/media/e2b2482f9af52cadbaf7a77a054dafe1/hrefhttps://medium.com/media/a3ad57cd4841e1d0d6c1295f90135000/href
4.3 Browser Automation MCP servers
You can even automate your browser, click and fill forms using MCP servers
https://medium.com/media/dc483d93611bc4d4b993b8834adcf4f6/hrefhttps://medium.com/media/6d5be939ad2b264f7f0fc348c11d52ee/href
4.4 MCP Servers for programmers
You can even setup Docker, use jupyter notebooks , manage github repos and even query databses using Model Context Protocol
https://medium.com/media/55dab40a05d94a9e15a0d39706b9fc7e/hrefhttps://medium.com/media/e1d347ab11f6eedead2da8d0ed4b9154/hrefhttps://medium.com/media/2f9884bc97deff4bb4c818788a463fc3/hrefhttps://medium.com/media/39fd8d7cae85d2a3d7b4a7b10e82f323/href
4.5 Productivity MCPs
Increase your productivity by automating file management, your notes on Notion, creating PPTs and even managing excel sheets using AI
https://medium.com/media/f1b394baf69f26aafd64451c93a24e10/hrefhttps://medium.com/media/51331e6552cd7f89ecc5ad2f7759274a/hrefhttps://medium.com/media/1e8fe31b2bb2ff9a8aaf40261b20dd51/hrefhttps://medium.com/media/94052f8985c0e0800674c3d9f594fd58/href
4.6 MCP servers for Graphic Designers
You can now run Figma and even Blender using AI
https://medium.com/media/6eaeb8f17e74f356d9eed8962a62651c/hrefhttps://medium.com/media/11a97d5d8db003ea9e37bbb7818902c8/hrefhttps://medium.com/media/5f8f541331571c3c8644f3667e1d9be1/href
5. Create Custom MCP Servers
Not just that you can use existing servers, even creating a new MCP server is quite easy
https://medium.com/media/5d7bb7cab09a87908fab2aa271b82265/href
6. But MCP servers can be dangerous too !
MCP servers have some serious security lapses that you should know before using them
https://medium.com/media/79a3042e20835030ebc5ae3cbbe14d79/href
Wrapping up
Model Context Protocol will surely blow up in a few months and a next wave of automation is round the corner. Definitely explore MCPs and try them out !
Model Context Protocol (MCP) tutorials for Beginners was originally published in Data Science in Your Pocket on Medium, where people are continuing the conversation by highlighting and responding to this story.