Web上下文MCP服务器
用于音频插件开发的模型上下文协议(MCP)服务器。
特性
- 上下文集 (
@mentions加载 Web 文档(@juce、@vue、@dsp 等) - 提示模板 (
/commands面向任务的模板(/audio_processor、/filter_design 等) - 缓存网页内容的智能缓存(24小时)
- 苏格兰和南方能源公司运输兼容 Continue、Cline、Windsurf
快速开始
# Server starten
.\start.ps1
# Oder manuell
python -m mcp_server --transport sse --port 8003Konzept:提示vs@提及
| 功能 | 提示(/name) | @提及(@name) |
|---|---|---|
| 目的 | 任务模板 | 载入文档 |
| 例子 | /audio_processor | @juce |
结合以获得最佳效果:
/audio_processor @juce
→ Template + JUCE Dokumentation可用提示
| Prompt | 描述 | 推荐的 @Mentions |
|---|---|---|
/audio_processor | 音频处理器实施者 | @juce |
/plugin_param | APVTS参数设置 | @juce |
/dsp_block | processBlock实现 | @juce @dsp |
/filter_design | 音频滤波器设计 | @dsp |
/plugin_gui | JUCE组件图形用户界面 | @juce |
/cmake_plugin CMakeLists.txt 插件 @cmake @juce | ||
/vst3_compat | VST3兼容性 | @vst @juce |
/vue_component | 视图3组件 | @vue |
/webview_bridge | WebView2/JUCE桥 | @webview2 @juce |
/code_review | 代码审查清单 | - |
/optimize | 性能优化 | - |
/debug | 错误分析 | |
/test | 生成单元测试 | - |
查看 PROMPTS.md 为了细节。
可用的上下文集
| Set | 描述 |
|---|---|
@juce | JUCE框架 |
@dsp | 数字信号处理 |
@vst | VST3 SDK |
@clap | CLAP插件格式 |
@au | 音频单元 |
@aax | AAX格式 |
@vue | Vue.js |
@react | 反应 |
@cmake | CMake |
@webview2 | WebView 2 |
@frontend | 所有前端框架 |
@plugin | Alle插件格式 |
@toolset | 构建工具 |
配置
继续IDE(~/.continue/config.yaml)
mcpServers:
- name: web-context
type: sse
url: http://127.0.0.1:8003/sse文件
mcp_server/:服务器模块web_context_sets.json:上下文集定义prompts.json快速定义PROMPTS.md快速文档
故障排除
服务器未启动
.\stop.ps1
.\start.ps1端口已占用
Get-NetTCPConnection -LocalPort 8003 | Stop-Process -Force删除缓存
Remove-Item -Recurse -Force .\cache\*