Cursor Sound MCP

local-only server

The server can only run on the client’s local machine because it depends on local resources.

光标声音 MCP

模型上下文协议 (MCP) 实现,可在 Cursor AI 完成代码生成后播放音效。此 MCP 与 Cursor 集成,可提供音频反馈,从而带来更具互动性的编码体验。

特征

  • 当 Cursor 完成代码生成时播放音效
  • 使用模型上下文协议 (MCP) 进行标准化集成
  • 可配置的音效

安装

  1. 安装依赖项:
npm install
  1. 添加音效:将声音文件放在sounds目录中。默认的预期声音是:
  • sounds/completion.mp3 - 代码生成后播放

您可以在 freesound.org 上找到免费的音效。

  1. 构建项目:
npm run build

用法

运行 MCP 服务器:

npm start

服务器将启动并通过 stdio 传输监听来自 Cursor 的事件。

配置

音效和音量可以通过以下方式定制:

  1. 替换sounds目录中的声音文件
  2. 修改src/index.ts中的声音文件路径

发展

对于使用自动重新编译的开发:

npm run dev
-
security - not tested
F
license - not found
-
quality - not tested

当 Cursor AI 完成代码生成时通过播放音效提供音频反馈,创造更具互动性的编码体验。

  1. Features
    1. Installation
      1. Usage
        1. Configuration
          1. Development
            ID: eysctxa2n7