Cursor MCP

Cursor MCP

一、MCP

MCP(Model Context Protocol)是由 Anthropic 推出的开放标准协议,它为开发者提供了一个强大的工具,能够在数据源和 AI 驱动工具之间建立安全的双向连接。

二、安装

2.1、安装 cursor

Cursor - The AI Code Editor

2.2、安装 nodejs

要使用 mcp 一定要安装 node,npm 和 npx 是 Node.js 生态中两个的工具,主要用于包管理和执行命令。

三、Cursor+MCP

3.1、MCP Server

目前有很多网站开始提供 MCP Server、MCP Client 等内容:
1、官网上有一些例子可以体验:Example Servers - Model Context Protocol
2、pulsemcp:https://www.pulsemcp.com/,这个平台收录了很多 MCP Server,也包含了 MCP Client 的介绍
3、smithery:https://smithery.ai/,这个平台收录了很多 MCP Server,提供多种 MCP Client 的配置命令,可以直接复制
4、这些 github 仓库 中也整理了一些好用的 MCP 工具:awesome-mcp-servers/README-zh.md at main・punkpeye/awesome-mcp-servers・GitHub

3.2、配置 Cursor

3.2、如何配置 MCP

在 smithery 上选择一个 server,在 installation 里选择 cursor,复制安装命令,将该命令,复制到 cursor 配置页面的 command 为止,type 选择 command 即可。

评论

暂无

添加新评论