光标声音 MCP
模型上下文协议 (MCP) 实现,可在 Cursor AI 完成代码生成后播放音效。此 MCP 与 Cursor 集成,可提供音频反馈,从而带来更具互动性的编码体验。
受到 X.com 上的 @EricListin 的启发 - 我对代码做了一些更改,以免出错并保持在线。
特征
当 Cursor 完成代码生成时播放音效
使用模型上下文协议 (MCP) 进行标准化集成
可配置的音效
改进的错误处理和日志记录
稳定的 JSON 响应格式
游标规则
将其添加到您的 Cursor 自定义指令中:
“每次你完成任何任务或者需要我做某事时,请运行 sound-mcp MCP 服务器来引起我的注意。”
安装
安装依赖项:
添加音效:将声音文件放在
sounds
目录中。默认的预期声音是:
sounds/completion.mp3
- 代码生成后播放
您可以在 freesound.org 上找到免费的音效。
构建项目:
用法
运行 MCP 服务器:
服务器将启动并通过 stdio 传输监听来自 Cursor 的事件。
配置
音效和音量可以通过以下方式定制:
替换
sounds
目录中的声音文件修改
src/index.ts
中的声音文件路径
发展
对于使用自动重新编译的开发:
local-only server
The server can only run on the client's local machine because it depends on local resources.
Tools
当 Cursor AI 完成代码生成时播放音效,提供音频反馈以获得更具互动性的编码体验。
Related MCP Servers
- AsecurityAlicenseAqualityHelps refine AI-generated content to sound more natural and human-like. Built with advanced AI detection and text enhancement capabilities.Last updated -14936MIT License
- -securityAlicense-qualityAn AI-powered development toolkit for Cursor providing intelligent coding assistance through advanced reasoning, UI screenshot analysis, and code review tools.Last updated -596337MIT License
- AsecurityFlicenseAqualityProvides audio feedback by playing sound effects when Cursor AI completes code generation, creating a more interactive coding experience.Last updated -119
- -securityFlicense-qualityAn MCP server that plays notification sounds when AI coding assistants like Windsurf or Cursor require user attention, such as when coding is complete or when user approval is needed.Last updated -12