FM8 MCP Server
Enables AI assistants to control Native Instruments FM8 synthesizer parameters through MIDI CC messages, allowing natural language programming of FM synthesis sounds including operator routing, frequency ratios, and modulation matrix settings.
README
FM8 MCP Server
AI-controlled Native Instruments FM8 synthesizer via MIDI and Model Context Protocol.
What This Does
Lets Claude Desktop (or other MCP clients) control your FM8 synthesizer by sending MIDI CC messages through a virtual MIDI port.
Requirements
- Node.js 18+
- Native Instruments FM8
- Virtual MIDI port software:
- Windows: loopMIDI
- macOS: IAC Driver (built-in)
Quick Start
git clone https://github.com/thesigma1receptor/fm8MCP.git cd fm8MCP npm install npm run build
Setup Virtual MIDI
Windows
- Install and run loopMIDI https://www.tobias-erichsen.de/software/loopmidi.html
- Remove any existing ports
- Create port named
fm8
macOS
- Open Audio MIDI Setup
- Window → Show MIDI Studio
- Double-click IAC Driver
- Enable "Device is online"
- Create port named
fm8
Configure FM8
- Set MIDI input to
fm8port by clicking off/on, change to on - Go to Master tab and load included MCP.f8c file
- Right click any operators that are off to enable them
Claude Desktop Setup
Edit your Claude config file:
Windows: %APPDATA%\Claude\claude_desktop_config.json
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Included in repo, or amend yours with:
{ "mcpServers": { "fm8": { "command": "node", "args": [ "C:/path/to/fm8-mcp-server/dist/server.js", "--transport=stdio", "--midi-port-name=fm8", "--channel=1" ] } } }
Restart Claude Desktop and you're ready!
AnythingLLM Setup
Requirements: Ollama with llama3.1 or qwen2.5:4b minimum
Edit: %APPDATA%\anythingllm-desktop\storage\plugins\anythingllm_mcp_servers.json
Included in repo, or amend yours with:
{ "fm8": { "name": "FM8 Control", "command": "node C:/path/to/fm8-mcp-server/dist/server.js", "args": ["--transport=stdio", "--midi-port-name=fm8", "--channel=1"], "env": {}, "cwd": "C:/path/to/fm8-mcp-server" } }
- Restart AnythingLLM
- Enable MCP server in workspace settings
- Use
@agentin chat to access tools
What You Can Control
FM8 Matrix (CC 0-62)
All operator-to-operator modulation routes (A→B, B→C, etc.)
Operator Outputs (CC 63-70)
Operator-to-Output levels (A→Out, B→Out, etc.)
Frequency Ratios (CC 72-77)
Harmonic/inharmonic relationships for each operator
See mappings.json for complete CC reference.
Example Claude Prompts
- "Create an FM bell sound"
- "Set operator A to modulate B at 75%"
- "Make a pure sine wave"
- "Route operator C to output at full volume"
- "Show all available FM8 controls"
If you want to give Claude free reign to try things:
-"Ratios are from 0 - 64:1, 127 being 64, feel free to look up fm synthesis techniques. There 8 operators, A-F are pure sine waves, X is a noise oscillator and Z is a filter. Let's see what you can come up with!"
Make it your own!
If you want to add any functionality, ie, more midi cc, use the standalone fm8, turn on midi learn and I used touchosc to make ~80 controls and map things. Look at mappings.json and add start with cc #78.
There are also ways with mcp to give claude memory and better instructions. So he could potentially learn how to make complex sounds.
Tip
This also works from VSCode with copilot.
Start server: node C:\fm8MCP\dist\server.js --transport=stdio --midi-port-name=fm8 --channel=1
Example command for agent:
node -e "const easymidi = require('easymidi'); const out = new easymidi.Output('fm8'); console.log('⚡ Creating neuro bass...'); out.send('cc', {controller: 0, value: 95, channel: 0}); setTimeout(() => out.send('cc', {controller: 1, value: 110, channel: 0}), 20); setTimeout(() => out.send('cc', {controller: 8, value: 105, channel: 0}), 40); setTimeout(() => out.send('cc', {controller: 9, value: 90, channel: 0}), 60); setTimeout(() => out.send('cc', {controller: 17, value: 100, channel: 0}), 80); setTimeout(() => out.send('cc', {controller: 63, value: 127, channel: 0}), 100); setTimeout(() => out.send('cc', {controller: 64, value: 110, channel: 0}), 120); setTimeout(() => { console.log('🎵 Neuro bass loaded! Play low notes (C1-C2)'); process.exit(0); }, 400);"
Troubleshooting
No MIDI signal
- loopMIDI/IAC running?
- FM8 input set to
fm8port? - MIDI channel matches (default: 1)?
Server won't start
- Run
npm run buildfirst - Check Node version:
node --version
Claude can't find it
- Use absolute paths in config
- Forward slashes even on Windows
- Restart Claude after config changes
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。