import { VSCodeButton, VSCodeLink } from "@vscode/webview-ui-toolkit/react" import { memo } from "react" // import VSCodeButtonLink from "./VSCodeButtonLink" // import { getOpenRouterAuthUrl } from "./ApiOptions" // import { vscode } from "../utils/vscode" interface AnnouncementProps { version: string hideAnnouncement: () => void } /* You must update the latestAnnouncementId in ClineProvider for new announcements to show to users. This new id will be compared with whats in state for the 'last announcement shown', and if it's different then the announcement will render. As soon as an announcement is shown, the id will be updated in state. This ensures that announcements are not shown more than once, even if the user doesn't close it themselves. */ const Announcement = ({ version, hideAnnouncement }: AnnouncementProps) => { const minorVersion = version.split(".").slice(0, 2).join(".") // 2.0.0 -> 2.0 return (
Add custom tools to Cline using MCP!
The Model Context Protocol allows agents like Cline to plug and play custom tools,{" "}
You can add and configure MCP servers by clicking the new{" "} icon in the menu bar.
To take things a step further, Cline also has the ability to create custom tools for himself. Just say "add a tool that..." and watch as he builds and installs new capabilities specific to{" "} your workflow. For example:
~/Documents/Cline/MCP so you can easily share them
with others too.{" "}
Try it yourself by asking Cline to "add a tool that gets the latest npm docs", or
{"// rest of code here"}" shenanigans)
search_files tool that lets Cline perform regex searches in your project, letting
him refactor code, address TODOs and FIXMEs, remove dead code, and more!
Join