
Mefcs Mcp
io.github.cayocan由 GitHub 账号 cayocan 发布v0.1.0更新于 Nov 21, 2026
Control M-VAVE Tank-G pedals and install TONE3000 tones through the M-EFCS USB bridge
概览
通过 USB 控制 M-VAVE Tank-G 吉他效果器并从 TONE3000 安装音色,让助手读取、编辑、备份和加载预设与采样。
- 可以做什么
- 读取效果器状态:当前预设、旁通、全部 36 个预设及实时参数
- 切换与调整:选择预设、开关旁通、编辑并保存参数,或不保存地实时试听
- 管理预设文件:导出和导入 .atkg 预设库,离线解析预设文件
- 加载采样:把 NAM A2 音箱采样和 WAV 箱体 IR 转换后写入槽位,或仅预览
- 使用 TONE3000:搜索音色、查看详情、下载模型、一步安装到槽位
- 适用场景
- 适合在 Windows 电脑上拥有 M-VAVE Tank-G(v2)的用户,希望让助手查看、调整、备份或恢复预设,或无需手动操作 M-EFCS 就能查找并安装 TONE3000 的采样与 IR。
- 运行要求
- Windows 10/11、Node.js 20 或更高版本、已安装 M-EFCS(使用其中的 mefcs_ks_bridge.exe),并通过 USB 连接效果器。可选变量:MEFCS_BRIDGE_PATH、MEFCS_BACKUP_DIR、TONE3000_DOWNLOAD_DIR、TONE3000_CLIENT_ID、TONE3000_API_KEY、TONE3000_TOKEN_FILE、MEFCS_CONFIG_FILE、MEFCS_NO_BROWSER。仅 TONE3000 相关工具需要免费账号。
安装
在 SourceWeft 中
- 打开 控制台中的 Mefcs Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
English | Português (BR)
mefcs-mcp
An MCP server that lets AI assistants (Claude, Cursor, VS Code Copilot, Gemini CLI, Codex and any other MCP client) control an M-VAVE Tank-G guitar pedal and pull tones from TONE3000.
It talks to the pedal over USB with the same protocol as the official M-EFCS app. The protocol is reverse engineered and documented in docs/PROTOCOL.md. It uses the USB helper that ships with M-EFCS, so nothing has to be installed on the pedal.
Unofficial project, not affiliated with M-VAVE / Sinco or TONE3000. Firmware update, repair and factory-restore functions are intentionally not implemented.
Contents
- What it can do
- Requirements
- Installation
- Connecting it to an AI client
- Configuration
- TONE3000 setup
- Tool reference
- Example prompts
- Safety
- How it works
- Troubleshooting
- Development
- Publishing
- License
What it can do
Pedal (Tank-G)
- Read all 36 presets, or the live values of the active preset.
- Switch presets, toggle bypass.
- Edit any value (amp slot, gain, EQ, volume, gate, MOD / DELAY / REVERB type and knobs, cab slot, LED color) and save it to the pedal. A backup is taken automatically first.
- Tweak the active preset live without saving.
- Export and import
.atkgpreset files, the same format as M-EFCS "Share/Import all presets". Imports are backed up and verified. - Upload an amp capture (NAM A2
.nam, converted to "A2 Lite (Original)" like M-EFCS does) to amp slot 1-9, or preview it. - Upload a cab impulse response (
.wav, any rate/bit depth, resampled to 44.1 kHz) to cab slot 1-8, or preview it.
TONE3000
- Search tones (NAM A2 captures by default, or IRs) by text, gear type, make/model, tags or creator.
- See a tone's details and its downloadable models.
- Download
.nam/.wavfiles. - Install a TONE3000 model straight onto a pedal slot in one step.
- When keys or a login are missing, the server opens the right TONE3000 page in your browser for you.
Requirements
Important: only one program can talk to the pedal at a time. Close M-EFCS before the AI uses a pedal tool. Ask the AI to run tankg_disconnect before opening M-EFCS again.
Installation
The server entry point is dist/src/server.js. Once the package is published on npm you can skip the clone and use npx -y mefcs-mcp instead (see Publishing).
Find the full path of mefcs_ks_bridge.exe inside your M-EFCS folder (for example C:\Program Files\M-EFCS\mefcs_ks_bridge.exe). Standard locations are detected automatically; otherwise set MEFCS_BRIDGE_PATH.
Connecting it to an AI client
MCP is an open standard, so the same server works in every client that supports local (stdio) MCP servers. In each example, replace the paths with yours.
Claude Desktop
Edit %APPDATA%\Claude\claude_desktop_config.json and restart Claude Desktop:
Claude Code
Cursor
%USERPROFILE%\.cursor\mcp.json (global) or .cursor/mcp.json (project) takes the same mcpServers block as Claude Desktop.
VS Code (GitHub Copilot agent mode)
.vscode/mcp.json:
Windsurf, Cline, Gemini CLI and others
They all accept the same three things: command = node, args = path to dist/src/server.js, and env = the variables below. The mcpServers JSON block from Claude Desktop goes in:
~/.codeium/windsurf/mcp_config.json(Windsurf)- Cline's MCP settings
~/.gemini/settings.json(Gemini CLI)
OpenAI Codex CLI
%USERPROFILE%\.codex\config.toml:
Clients that only accept remote (HTTPS) MCP servers, such as web chat apps, cannot reach a USB pedal directly. The server has to run on the PC that has the pedal. See Publishing.
Configuration
TONE3000 setup
You only do this once, and you never need to edit config files for it:
- Ask the AI to search TONE3000 (for example "search TONE3000 for a Fender Twin"). Without keys, the server opens https://www.tone3000.com/settings in your browser.
- Log in there and generate API keys. Give the publishable key (client id) to the AI, which saves it with
tone3000_set_credentials. It is stored in~/.mefcs-mcp/config.jsonon your PC. - The server then opens the TONE3000 approval page with your code. Click approve, and the AI runs
tone3000_login_finish. - Done. The session is saved and refreshed automatically. From now on, searches and downloads just work.
Prefer not to log in? Put the secret key (t3k_cs_…) in TONE3000_API_KEY yourself instead. Don't paste secret keys into a chat.
Notes:
- The default rate limit is 100 requests per minute.
- Searches default to NAM A2 captures, because the Tank-G loads the lite part of A2 files. Standard (A1) WaveNet captures cannot be converted.
- TONE3000's API terms ask independent developers to credit TONE3000.
Tool reference
Pedal
changes fields (all optional):
Effect types follow the knob zones in the official manual:
amount ranges from 0 to 42 (0 to 40 for type 2).
TONE3000
Example prompts
- "Which preset is active on my Tank-G, and what does it have?"
- "Turn off the reverb on 5D and lower the gain to 60."
- "Make 1A's chorus subtler without saving, I want to hear it first."
- "Back up all my presets to D:\Backups\tankg.atkg."
- "Search TONE3000 for a Vox AC30 capture with lots of downloads and preview the best one."
- "Install the Marshall JCM800 capture you found on amp slot 4 and point preset 3C at it."
- "Find a Celestion V30 4x12 IR on TONE3000 and put it on cab slot 5."
Safety
- There is no code path to firmware update, repair or factory restore, and every write is checked against an address allow-list (see
assertAllowedWrite). - Preset edits and imports back up all 36 presets first. Imports are verified by reading the bank back.
- Values are validated: knobs 0-100 (the range M-EFCS uses), slots 1-9 / 1-8, effect amounts within the type's zone. Untouched legacy values are kept as they are.
- Slot uploads overwrite the slot. Without
slotthey only preview, and nothing is stored. - The browser is only opened for
https://www.tone3000.compages. - TONE3000 keys and tokens stay on your PC (
~/.mefcs-mcp).
How it works
src/protocol/bridge.ts: spawns the M-EFCS helper (open-raw) and speaks its text protocol (send <hex>→data <hex>).src/protocol/framing.ts: SysEx frames: 8-bit frame → 7-bit LSB-first bitstream, inverted-sum checksum.src/devices/tankg.ts: memory map (preset bank, live preset, select/bypass/commit, model buffers, slot store) plus the write allow-list.src/devices/tankg-presets.ts: 21-byte preset record codec (.atkglayout).src/codecs/a2lite.ts: NAM A2 → device amp buffer. It takes the lite submodel, transposes the convolution weights and precomputes the zero-input state.src/codecs/ir.ts: WAV → device cab buffer (44.1 kHz, int24, max 1358 samples).src/tone3000/client.ts: TONE3000 API v1 (device login, search, models, download).
Troubleshooting
Development
Two golden tests compare against third-party TONE3000 captures that are not redistributed in this repo. They are skipped automatically when test/fixtures/mesa.nam / ir8.wav are absent.
To add another M-VAVE device (MK300, Tank-B, …), add a driver under src/devices/ with that device's memory map and model format. The framing and the bridge are shared. Capture its traffic first (see docs/PROTOCOL.md).
Publishing
The goal is that anyone can run it with npx -y mefcs-mcp and find it in MCP directories.
- GitHub: push this repository (for example
github.com/cayocan/mefcs-mcp) and add a license. - npm:
npm login, thennpm publish.prepublishOnlybuilds and tests first. After this, clients can use: - Official MCP Registry:
package.jsonalready has"mcpName": "io.github.cayocan/mefcs-mcp"and the repository has aserver.json. Installmcp-publisher, then runmcp-publisher login githubandmcp-publisher publish. Keep the versions inpackage.jsonandserver.jsonequal. - Directories (optional): Smithery, Glama, mcp.so, and the Cursor / VS Code MCP galleries can list it from the npm package or the registry.
Because the pedal is a local USB device, this is a local (stdio) server. Remote-only clients would need an HTTP transport running on the PC with the pedal, exposed through a secure tunnel. That is not included yet.
License
MIT © Cayo Aguiar. M-VAVE, Tank-G, M-EFCS and TONE3000 are trademarks of their respective owners.
来源:README.md,提交 b595cce
工具
0版本历史
1- v0.1.0最新Nov 21, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分