Introduction to Cline and MCP
Cline is a popular VS Code plug-in that plays the role of AI-assisted programming in the daily work of developers. Recently, Cline has released support for the MCP protocol, which means that developers can integrate many tools or servers in the MCP ecosystem based on the Cline plug-in. With the support of MCP, VS Code will not only be a code editor, but it will be transformed into a very important AI platform in daily work and study.
Installing Cline Plug-in
Installing Cline Plug-in
To install the Cline plug-in, enter Cline in the plug-in section and click install to install the plug-in. After the installation is complete, you will see the Cline icon in the menu bar on the left. Click it to enter the configuration interface of the Cline plug-in.
Introduction to MCP
Introduction to MCP
MCP is the open source Model Context Protocol from Anthropic. It changes the way large models interact with the outside world. The protocol provides a standardized way to enable large models to easily connect to external data sources and tools, so as to achieve seamless access and processing of information.
Installing MCP Tools
Installing MCP Tools
To install MCP tools, click the Cline plug-in in the left menu. There will be an MCP Servers option at the top of the menu. Click it here to list the MCP tools or servers that can be installed at present. The first tool to be installed is Fetch, which helps to crawl the entire web page.
Installing Fetch Tool
Installing Fetch Tool
To install the Fetch tool, click Install. A series of commands will be executed. Everyone carefully reviews to ensure that these commands are what you expect. The tool installation is now complete.
Installing Tavily Tool
Installing Tavily Tool
The next tool to be installed is Tavily, which is a search engine tool. The purpose is to be able to use the search engine to capture information through questions and answers. When installing, you first need to provide a Tavily API key.
Writing Articles with Cline and MCP
Writing Articles with Cline and MCP
Now that we have the support of the tool, let's try to write an article. In my local code repository, there is a Docs directory. We will use it to write some articles. The article used is the introduction of Grok 3 Beta version, which is also a big event in the AI market recently.
Using Fetch and Tavily Tools
Using Fetch and Tavily Tools
We will use the Fetch tool to get the content of the web page and write it into the grok-3.md file. We will also use the Tavily tool to search for some articles related to LiveCodebench and integrate them into an effective article paragraph and embed it in the current blog post.
Previewing and Saving the Article
Previewing and Saving the Article
Now let's open the preview and take a look at this MD format article. We can save the content of this article as a note or publish it as a blog so that more readers can learn Grok 3 and learn what LiveCodeBench is.
Conclusion
Conclusion
This is the main content of today's sharing. The most important thing about the Cline plug-in is to help us with AI-assisted programming. But now, in daily work and study, we can also use the VS Code Cline plug-in to complete more meaningful work. If you have any better application scenarios during use, you are also welcome to leave us a message in the video description.