JM

jordansucher/musescore-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

32 stars 10 forks 품질 49 트렌드 26

MuseScore의 MCP 서버.

개요

이 MCP (Model Context Protocol) 서버는 Claude Desktop과 같은 LLM 클라이언트와 MuseScore를 통합하여 천연 언어를 통해 기본 음악 구성을 가능하게 합니다. 여기 간단한 데모: https://www.canva.com/design/DAGlHeR706g/4UcXvK23I1axWOfm6lSSxQ/edit 서버는 MCP 연결 LLM을 허용합니다. - MuseScore에 연결하고 열린 점수를 조작 - 메모와 나머지를 추가 - 선택 및 삭제 - 변경을 생성 - 직원에서 직원으로 이동 - 직원 내에서 여러 목소리를 이해할 수 없거나 그들 사이에서 탐색 할 수 없습니다. - Python 3.9+ - MuseScore 3 또는 4 설치 - MCP Python SDK 2. venv 또는 globally에 의존성을 설치하십시오: 3. MuseScore 플러그인 dir에 복사하여 musescore-mcp-plugin 설치 (이 맥에 ~/Documents/MuseScore4/plugins)

개요(AI 번역)

이 MCP (Model Context Protocol) 서버는 Claude Desktop과 같은 LLM 클라이언트와 MuseScore를 통합하여 천연 언어를 통해 기본 음악 구성을 가능하게 합니다.

여기 간단한 데모: https://www.canva.com/design/DAGlHeR706g/4UcXvK23I1axWOfm6lSSxQ/edit

특징

서버는 MCP 연결 LLM을 허용합니다.

  • MuseScore에 연결하고 열린 점수를 조작
  • 메모 및 휴식 추가
  • 선택 및 삭제
  • tuplets 만들기
  • 변경 없음
  • 직원에서 직원으로 이동

제한

  • 직원 내에서 여러 목소리를 이해할 수 없거나 그들 사이에서 탐색 할 수 없습니다.

요구 사항

  • 파이썬 3.9+
  • MuseScore 3 또는 4 설치
  • MCP 파이썬 SDK

설치

  1. Clone 이 저장소:

  2. venv 또는 globally에 의존성을 설치하십시오:

  3. MuseScore 플러그인 dir에 복사하여 musescore-mcp-plugin 설치 (이 맥에 ~/Documents/MuseScore4/plugins)

  4. MCP 서버 (server.py)로 LLM 구성. Claude Desktop 및 venv를 사용하는 경우 claude desktop config 파일을 만들기 위해 수행 할 수 있습니다.

사용법

준비 MuseScore

musescore를 열고 사용하려는 모든 점수.

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

MuseScore MCP Server

This MCP (Model Context Protocol) server integrates MuseScore with LLM clients like Claude Desktop, enabling basic music composition through natural language.

Brief demo here: https://www.canva.com/design/DAGlHeR706g/4UcXvK23I1axWOfm6lSSxQ/edit

Features

The server allows an MCP-connected LLM to:

  • Connect to MuseScore and manipulate an open score
  • Add notes and rests
  • Select and delete
  • Create tuplets
  • Undo a change
  • Move from staff to staff

Limitations

  • Can not understand multiple voices within a staff or navigate between them

Requirements

  • Python 3.9+
  • MuseScore 3 or 4 installed
  • MCP Python SDK

Installation

  1. Clone this repository:

    git clone https://github.com/yourusername/musescore-mcp-server.git
    cd musescore-mcp-server
    
  2. Install dependencies, either in a venv or globally:

    pip install -r requirements.txt
    
  3. Install the musescore-mcp-plugin by copying it into your MuseScore plugins dir (on my mac this was ~/Documents/MuseScore4/plugins)

  4. Configure your LLM with the MCP server (server.py). If you are using Claude Desktop and a venv, this can be done by creating a claude_desktop_config file like so:

    {
     "mcpServers": {
       "musescore": {
         "command": "bash",
         "args": [
           "-c",
           "source /path/to/venv/activate && python3 /path/to/server.py"
         ]
       }
     }
    

Usage

Prepare MuseScore

Open musescore and whatever score you want to use. Then, connect the musescore-mcp-plugin and launch it by selecting it from the plugins menu.

Example Queries

Once connected, you can ask Claude questions like:

  • "Help me come up with some possible chords for the melody in my score
  • Compose a simple melody and show me 4 ways to harmonize it
  • Extend the melody in measures 1-12 with 4 measures that match the style of this piece

Development

If you want to add features to the MuseScore plugin and test them, the testClient.html file in this repo may be a useful development tool - simply extend it to call whatever functions you add.

GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "musescore": { "command": "bash", "args": [ "-c", "source /path/to/venv/activate && python3 /path/to/server.py" ] } }