Skip to main content
Glama
time_tempo.py678 B
"""Time signature and tempo tools for MuseScore MCP.""" from ..client import MuseScoreClient def setup_time_tempo_tools(mcp, client: MuseScoreClient): """Setup time signature and tempo tools.""" @mcp.tool() async def set_time_signature(numerator: int = 4, denominator: int = 4): """Set the time signature. Args: numerator: Top number of time signature (beats per measure) denominator: Bottom number of time signature (note value that gets the beat) """ return await client.send_command("setTimeSignature", { "numerator": numerator, "denominator": denominator })

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ghchen99/mcp-musescore'

If you have feedback or need assistance with the MCP directory API, please join our Discord server