MCP MIDI 서버
LLM이 MIDI 입력을 지원하는 모든 소프트웨어로 MIDI 시퀀스를 보낼 수 있게 해주는 FastMCP 서버입니다.
특징
- 가상 MIDI 출력 포트를 생성합니다
- MIDI Note On/Off 메시지를 보냅니다.
- CC(제어 변경) 메시지를 보냅니다.
- 정확한 타이밍으로 MIDI 이벤트를 시퀀스합니다.
- MIDI를 지원하는 모든 애플리케이션에서 MIDI 입력 장치로 사용할 수 있습니다.
요구 사항
- 파이썬 3.7 이상
- rt미디
- 패스트MCP
- 파이썬-dotenv
- 비동기
설치
- 저장소를 복제합니다.지엑스피1
- 가상 환경을 만들고 활성화한 후 종속성을 설치합니다.
- 구성을 사용하여
.env
파일을 만듭니다.
용법
서버를 실행합니다:
서버는 다른 애플리케이션에서 MIDI 입력 장치로 사용할 수 있는 "MCP MIDI Out"이라는 가상 MIDI 포트를 생성합니다. 즉, 다음과 같은 작업을 수행할 수 있습니다.
- Ableton Live, Logic Pro 또는 FL Studio와 같은 디지털 오디오 워크스테이션(DAW)을 연결하여 이 서버에서 MIDI를 수신합니다.
- 컴퓨터의 MIDI 인터페이스를 통해 하드웨어 신시사이저를 제어하려면 서버를 사용하세요.
- MIDI 입력을 허용하는 다른 소프트웨어(가상 악기, 조명 컨트롤러 등)에 연결합니다.
원하는 MIDI 호환 애플리케이션에서 MIDI 입력 장치로 "MCP MIDI Out"을 선택하기만 하면 됩니다.
MCP 구성
서버는 SSE(Server-Sent Events)를 사용합니다. Cursor에서 이를 구성하는 방법은 다음과 같습니다.
API 메서드
메모 보내기
MIDI Note On 메시지를 보냅니다.
매개변수:
note
: MIDI 음표 번호(0-127)velocity
: 음표 속도(0-127, 기본값 127)channel
: MIDI 채널(0-15, 기본값 0)
메모 보내기
MIDI Note Off 메시지를 보냅니다.
매개변수:
note
: MIDI 음표 번호(0-127)velocity
: 노트 오프 속도(0-127, 기본값 64)channel
: MIDI 채널(0-15, 기본값 0)
제어 변경 보내기
MIDI 컨트롤 변경(CC) 메시지를 보냅니다.
매개변수:
controller
: CC 컨트롤러 번호(0-127)value
: CC 값(0-127)channel
: MIDI 채널(0-15, 기본값 0)
MIDI 시퀀스 보내기
지정된 기간 동안 MIDI Note On/Off 메시지 시퀀스를 보냅니다.
매개변수:
events
: 이벤트 사전 목록입니다. 각 사전에는 다음이 포함되어야 합니다.note
: MIDI 음표 번호(0-127)velocity
: 음표 속도(0-127, 기본값 127)channel
: MIDI 채널(0-15, 기본값 0)duration
: 노트를 보내기 전에 노트를 유지하는 시간(초)start_time
: 시퀀스 시작을 기준으로 노트를 시작할 시간(초)(기본값 0)
예
API를 사용하여 C장조 코드 연주:
특허
MIT
This server cannot be installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
LLM이 MIDI 입력을 허용하는 모든 소프트웨어에 MIDI 데이터를 생성하여 전송할 수 있도록 하는 가상 MIDI 출력 포트를 생성하는 FastMCP 서버입니다.
Related MCP Servers
- -securityAlicense-qualityFastMCP is a comprehensive MCP server allowing secure and standardized data and functionality exposure to LLM applications, offering resources, tools, and prompt management for efficient LLM interactions.Last updated -3PythonMIT License
- -securityFlicense-qualityA production-ready MCP server built with FastAPI, providing an enhanced tool registry for creating, managing, and documenting AI tools for Large Language Models (LLMs).Last updated -32Python
Fibery MCP Serverofficial
AsecurityAlicenseAqualityThe Fibery MCP server provides integration between Fibery and any LLM provider supporting the MCP protocol (e.g., Claude for Desktop), allowing you to explore Fibery Workspace Schema, query databases, create and update entities using natural language.Last updated -623PythonMIT License- AsecurityAlicenseAqualityA powerful MCP tool for parsing and manipulating MIDI files that allows users to read, analyze, and modify MIDI files through natural language commands, supporting operations like reading file information, modifying tracks, adding notes, and setting tempo.Last updated -116736JavaScriptMIT License