Top 10 MCP Use Cases - Using Claude & Model Context Protocol

Codex Community www.youtube.com

Tóm tắt ngắn gọn

Video này giới thiệu 10 cách sử dụng Model Context Protocol (MCP) cho các nhà phát triển và thiết kế. MCP cho phép các AI agent gọi các công cụ từ máy tính cá nhân hoặc các dịch vụ của bên thứ ba như Figma, Docker và terminal. Video hướng dẫn cách thiết lập MCP với Claude Desktop, tổ chức file, gửi email, quản lý hộp thư, duyệt web, điều khiển WhatsApp, làm việc với Blender và các ứng dụng khác như Figma, Docker, GitHub, Spotify.

  • Thiết lập Claude Desktop để sử dụng MCP.
  • Sử dụng MCP để tổ chức file, gửi email và quản lý hộp thư.
  • Điều khiển trình duyệt web, WhatsApp và các ứng dụng thiết kế 3D như Blender thông qua MCP.

Top 10 MCP Use Cases - Model Context Protocol

MCP là một phương pháp cho phép các AI agent gọi các công cụ từ máy tính cá nhân hoặc các dịch vụ của bên thứ ba. Video này sẽ trình bày 10 cách sử dụng MCP hữu ích cho các nhà phát triển và thiết kế. MCP có thể được sử dụng để kết nối với các công cụ như Figma, Docker và terminal.

Setup Claude Desktop for MCP

Để bắt đầu sử dụng MCP, cần thiết lập Claude Desktop làm lớp kết nối giữa các công cụ và các AI model. Claude Desktop hoạt động tốt trên cả Mac OS và Windows, mặc dù Mac OS được ưu tiên hơn. Sau khi cài đặt và đăng nhập vào Claude Desktop bằng Google O, cần bật chế độ nhà phát triển và cấu hình các giao thức mà MCP sẽ truy cập. Cần chỉnh sửa file cấu hình để cập nhật thư mục hệ thống file với tên người dùng của bạn. Sau khi khởi động lại Claude Desktop, biểu tượng công cụ sẽ xuất hiện, cho biết MCP đã được cài đặt thành công.

MCP File Organisation

Một trong những ứng dụng đầu tiên của MCP là tổ chức file. Ví dụ, thư mục "Downloads" thường rất lộn xộn. Khi Claude được cấp quyền truy cập vào hệ thống file (sau khi được phê duyệt), nó có thể xem danh sách các file và thư mục trong bất kỳ thư mục nào được chỉ định. AI model sẽ tổ chức các file dựa trên prompt đã cho, chẳng hạn như di chuyển chúng vào các thư mục khác nhau, sắp xếp và xóa các file trùng lặp. Kết quả là các file được sắp xếp gọn gàng hơn vào các thư mục như hình ảnh, trình cài đặt và video.

MCP for Sending Emails

MCP có thể được sử dụng để gửi email trực tiếp từ địa chỉ email của bạn. Thay vì sao chép và dán email được tạo bởi AI, MCP kết nối trực tiếp với Gmail thông qua Zapier actions. Cần kết nối các hành động Gmail mong muốn trong Zapier và sao chép cấu hình máy chủ MCUP vào Claude. Sau khi khởi động lại Claude, công cụ này sẽ có sẵn để sử dụng. Ví dụ, Claude có thể được yêu cầu gửi email nhắc nhở về một khóa học thiết kế mới. Email sẽ được gửi qua Zapier MCP và sẽ đến ngay lập tức từ địa chỉ email chính thức của bạn, bao gồm mô tả và lời kêu gọi hành động.

MCP for Inbox Organisation

MCP cũng có thể giúp quản lý email bằng cách tổ chức hộp thư đến. Các hành động bổ sung như gắn nhãn, xóa và tìm email có thể được thêm vào các công cụ MCP. Claude có thể quét hộp thư đến, gắn nhãn các email quan trọng và xóa các email không cần thiết hoặc spam. Ví dụ, nó có thể xóa email về một khóa học thiết kế không mong muốn và cập nhật nhãn cho các email quan trọng. Ngoài ra, MCP có thể được cấu hình để soạn thảo hoặc trả lời email.

MCP for Web Browsing and Research

MCP có thể được sử dụng để điều khiển trình duyệt web và thực hiện các tác vụ. Bằng cách kết hợp Puppeteer với MCP, AI có thể tương tác với trình duyệt web thông qua JavaScript. Sau khi thêm Puppeteer vào file cấu hình JSON, nó sẽ có sẵn như một công cụ. Ví dụ, Claude có thể được yêu cầu tóm tắt các bài viết hay nhất từ ​​dev.to trong tuần trước. AI sẽ mở trình duyệt web, duyệt các trang khác nhau, thu thập thông tin và biên soạn một bản tóm tắt các bài viết hàng đầu.

MCP for WhatsApp Control

MCP có thể được sử dụng với WhatsApp để gửi tin nhắn và hoàn thành các tác vụ. Sau khi kết nối WhatsApp với Zapier, nó sẽ có sẵn như một công cụ. Ví dụ, Claude có thể được yêu cầu gửi tin nhắn "hello world" kèm theo một hàm JavaScript đến WhatsApp của bạn để bạn hiểu cách hàm này hoạt động.

MCP for Blender and 3D assets

Blender kết hợp với MCP là một ứng dụng khác. Claude có thể được kết nối với Blender thông qua MCP để thiết kế các model và cảnh 3D khác nhau. Ví dụ, bạn có thể tạo một hình ảnh trong Midjourney, tải nó lên và sau đó yêu cầu nó được tạo trong Blender. AI sẽ tạo toàn bộ cảnh như một mockup 3D. Sau đó, bạn có thể yêu cầu nó xem xét kỹ hơn model 3D Blender đó và tạo lại nó bằng JavaScript và 3JS, kết quả là một cảnh 3D đầy đủ được hiển thị trong trình duyệt web trên mọi thiết bị.

MCP for Figma, Docker, GitHub, Spotify

Figma có thể được truy cập như một công cụ MCP và được điều khiển thông qua các ứng dụng như Cursor hoặc Claude. AI có thể tạo các thiết kế khác nhau, chẳng hạn như màn hình đăng nhập cho viewport di động. Ngoài ra, bạn có thể điều khiển Docker, cập nhật GitHub hoặc thậm chí điều khiển thư viện Spotify của mình thông qua MCP. Có các máy chủ chính thức và của bên thứ ba mà bạn có thể kết nối để điều khiển hầu hết mọi thứ bạn có thể tưởng tượng.

Summarize any YouTube video in seconds

Get summaries like this one for any video, in your language, with the free Summ app.

Download on the Apple Store
Get it on Google Play

Transcript

YouTube Transcript Generator

0:00 MCP is pretty popular. So, in this video, I'm going to show you 10 use cases for MCP as a developer or a designer that you can use right now. If you haven't heard of MCP before, it's simply a way to allow AI agents to call tools. Tools from your own computer or even from thirdparty services like Figma, Docker, or even just your own terminal. First, let's make sure that we can get MCP up and running. I'm going to be using Clawude Desktop to serve as the connecting layer between the tools I want to implement and the AI models that will do so. I've tried MCP on both Mac OS and Windows. And while it works a lot better on Mac OS, you can still set it up for Windows if that's what you're running. Here I've installed Claw Desktop on my account and I've logged in using Google O. There is one more step we need before we can start using MCP,

0:47 which is to enable developer mode with the protocols we want MCP to have access to. Here inside of Claw Desktop, I'm going to head over to settings and then select developer and then edit the configuration file. This will locate the file which I'm going to edit in my code or of choice which is right now cursor. And then here I'm going to paste in the configuration to access my file system. I'll need to update the file system directory here to have my username instead of this placeholder for username. And that is pretty much it. Now all I have to do is restart claw desktop and I can start utilizing MCP. You'll know it's worked if you get this little tool icon just below your filter options, which has a little bit of a connector here. And if you select it, then you'll see that you have MCP

1:34 installed, as well as what you can do. Our first use case for MCP will be file organization. I definitely recommend this if it's the first time you're using MCP. You see, the one folder that's always quite disorganized is my downloads folder. Here you can see lots of photos and PDFs as well as executable downloads. And all of this is a huge mess. We've provided Claude with access to the file system. You still will need to approve it, but once you do, you'll see the list of all the files and folders inside of any directory you've approved inside of the chat window. Then the AI model will go through and organize it based on what prompt you've given. In this case, I've just wanted them to be moved in different types of folders and just organized a little bit better, as well as removing or deleting any duplicates. I've now run this for a few minutes, and I've hit the maximum

2:20 length for messages. But let's have a look at the results here inside of files. I can see a lot of my files have been organized into these folders. I can expand these out and here I have all my images, my installers, as well as things like all my videos. So, this is much better organized than what I had in the past. For the next example, I want to be able to use MCP to send emails on behalf of me. Right now, the majority of AI tools allow you to have a chat interface, and if you do want them to write up an email, you will have to manually copy and paste that across. So, my goal here will be to use the MCP server to connect straight to my Gmail and from there send emails directly from my email address. This will need a little bit more setup. In this case, I'm going to be using Zapier actions. It's a way to allow you to connect up an MCP server straight to Zapia, which can then

3:06 perform these actions on your behalf. Heading to actions, I'm going to connect up the ones that I want to utilize for this example. So, this will be to perform Gmail interactions. And later on, I want to do maybe some Discord channel messages, too. There's a quick configuration guide on how to connect these actions to Claude, which is to copy over this MCUP server configuration. It comes with a secret key, so make sure you guys keep this hidden. And from there, I'll just restart Claude, and I'll see that it's now available as a tool for MCP to utilize. Here, I'm going to prompt Claw to send an email to myself, reminding myself that there's a new design course called enhanced UI that I can check out. I want to then send myself an email regarding it. And here, I'm going to allow that email to be sent through the Zapier MCP. According to Claude, it's

3:53 been sent. So, let's see if it's arrived. And here's that new email. Looks like it delivered immediately. Additionally, it's got my email address here. It's got a little bit of a description and a call to action. And it is using my official email address, which is pretty cool. It links to my website and here people can purchase my course. Since we're on the topic of emails, another use case for MCP is email management. I've added a few additional actions to my MCP tools, which include labeling, deleting, and finding emails. This time, I want it to organize my mail inbox because it's usually a mess with hundreds of emails and normally disorganized without any labels and a lot of spam, too. Here, Claude is scanning through my inbox and then selecting to label certain emails and delete others. Here you can see it

4:38 deleted that email about some sort of a new design course. And here it appropriately updated some of my important emails. There are other ways you can manage your emails such as preparing drafts or replying to people. And it's really up to you to configure it the way you want. For the next MCP example, I wanted to be able to control my web browser to perform tasks on my behalf. For this, I'll be combining Puppeteer with MCP, allowing it to interact with the web browser through JavaScript using the following web tool. I've copied this syntax into my JSON configuration file. And if I head to tools over here, you can see that puppeteer is now available as one of the tools that it can utilize. Let me test it out by asking it to summarize the best articles from the last week from dev.2. It'll request access to run Puppeteer with a web browser on the

5:23 side. Here it is. And then it'll go on to the web, browsing different pages, collecting the information I need, and compiling that all into a nice little summary of the top articles that are probably of interest to me this week, like this one with a top MCP ideas that you should try, or five projects you should build if you're a developer, and a few others. The next use case is to use MCP with WhatsApp to send messages and complete tasks. First, I'll connect it up to WhatsApp here in Zapia, and now it's available as one of the tools I can utilize. I requested claw to send me a message of hello world with a JavaScript function straight to my WhatsApp so I understand exactly how this function works and here it is. Blender combined with MCP is another use case. I've seen people connect Claude to Blender through MCP to be able to design different types

6:10 of 3D models and scenes and it's pretty impressive what you can actually get it to do. For example, you could create an image in Midjourney, upload it and then get it to be created in Blender. It goes through and creates the entire scene as if it was a 3D mockup. Then you can ask it to take a closer look at that Blender 3D model and recreate it using JavaScript and 3JS and the result is a full 3D scene with this rendered in the web browser on any device. Another example is Figma. You can have a Figma accessible as an MCP tool that you can now control through applications like cursor or just through Claude. It will then go through and create different types of designs such as this login screen for a mobile viewport. If you're getting into MCP, this is just the tip of the iceberg. You can control Docker through MCP or update GitHub or even

6:57 control your Spotify library. There are official and thirdparty servers that you can start to connect to pretty much anything that you can imagine. So, let me know if you found this interesting and if you want a deeper dive into MCP and some of the creative things you can

Share

YouTube Video Summaries