当前位置: 首页 > web >正文

Cursor 配置 MCP Tool

文章目录

    • 1、MCP Tool 的集合
    • 2、一个 demo :Sequential Thinking
      • 2.1、搜索一个 MCP Tool 获取 command 命令
      • 2.2、在 Cursor 配置
      • 2.3、配置状态检查与修正(解决网络问题)
        • 检查
        • 解决办法
      • 2.4、使用

1、MCP Tool 的集合

https://smithery.ai/

2、一个 demo :Sequential Thinking

我们以 Sequential Thinking 这个 MCP Server 作为 demo 配置一下

2.1、搜索一个 MCP Tool 获取 command 命令

在这里插入图片描述
https://smithery.ai/server/@smithery-ai/server-sequential-thinking
在这里插入图片描述
得到:

npx -y @smithery/cli@latest install @smithery-ai/server-sequential-thinking --client cursor --key d17b0085-f937-4a71-b723-cc2671612b9a

2.2、在 Cursor 配置

Name 是自定义的
Type 选择 command
Command 直接填写上面得到的

npx -y @smithery/cli@latest install @smithery-ai/server-sequential-thinking --client cursor --key d17b0085-f937-4a71-b723-cc2671612b9a

在这里插入图片描述

2.3、配置状态检查与修正(解决网络问题)

检查

配置完毕后,如果前面的点是绿色的,表示正常,否则表示配置没有生效。
在这里插入图片描述

解决办法

npx -y @smithery/cli@latest install @smithery-ai/server-sequential-thinking --client cursor --key d17b0085-f937-4a71-b723-cc2671612b9a

中 @xxx 部分 替换为 github 开源项目中提供的原始命令
在这里插入图片描述
比如下面 https://github.com/smithery-ai/reference-servers/tree/main/src/sequentialthinking
你可以获取的命令就是

npx -y @modelcontextprotocol/server-sequential-thinking

在这里插入图片描述

npx -y @smithery/cli@latest install @smithery-ai/server-sequential-thinking --client cursor --key d17b0085-f937-4a71-b723-cc2671612b9a

=>

npx -y @modelcontextprotocol/server-sequential-thinking --client cursor --key d17b0085-f937-4a71-b723-cc2671612b9a

然后就正常了
在这里插入图片描述

2.4、使用

  • 比如我再配置一个热点新闻
npx -y @wopal/mcp-server-hotnews --client cursor --key d17b0085-f937-4a71-b723-cc2671612b9a

在这里插入图片描述

  • 然后使用
  • 可以发现,我的指令,直接调用了查询新闻的 MCP tool
    在这里插入图片描述
http://www.xdnf.cn/news/2073.html

相关文章:

  • 写在后面的话
  • yolo常用操作(长话短说)热力图,特征图,结构图,训练,测试,预测
  • 打开Qt应用程序以控制台
  • Linux基础篇、第四章_02磁盘及分区管理fdisk 和 gdisk
  • 厚铜PCB打样全流程解析:从文件审核到可靠性测试的关键步骤
  • Python的库
  • Hbase集群管理与实践
  • C语言——字串处理
  • 什么是快应用
  • STM32 I2C总线通信协议
  • 遥感金融风险监管:技术革新与实践探索
  • Java—— 常见API介绍 第五期
  • cursor 提示词和规则
  • 基于SpringBoot+Vue实现停车场管理系统
  • sync.Cond条件变量:使用场景与范例
  • Centos 7 ssh连接速度慢(耗时秒+)
  • LWIP中两种重要的数据结构pbuf和pcb详细介绍
  • 【大模型学习】Qwen-2.5-VL制作gradio前端demo页面
  • (九)深入了解AVFoundation-采集:拍照 摄像头切换、拍照参数和照片数据EXIF 信息
  • Pandas 数据处理:长格式到宽格式的全面指南
  • 文章记单词 | 第41篇(六级)
  • Vue3文件上传组件实战:打造高效的Element Plus上传解决方案,可以对文件进行删除,查看,下载功能。
  • 代码随想录算法训练营第五十八天 | 1.拓扑排序精讲 2.dijkstra(朴素版)精讲 卡码网117.网站构建 卡码网47.参加科学大会
  • 【基于Qt的QQ音乐播放器开发实战:从0到1打造全功能音乐播放应用】
  • 银行卡归属地查询的快速入门:API接口性能与安全兼备的高效实现
  • 文章记单词 | 第42篇(六级)
  • Integer[]::new方法引用
  • NLP系列【自然语言处理的深度学习模型综述】
  • 深入理解指针 (1)
  • 虚拟机网络NAT配置