From ca35520338057512a71acd42bb116ffbb82cc192 Mon Sep 17 00:00:00 2001 From: tanaka takashi Date: Sat, 11 Jul 2026 19:02:14 +0900 Subject: feat: implement Famicom-style MML composer MCP server - Add FastMCP server with compose_mml tool - Support ppmck and pyxel MML syntax - Add lexer and parsers for both formats - Add NES APU-style synthesizer (pulse/triangle/noise) to WAV - Add MML templates (basic/melody/chord/drum/empty) for both modes - Add tests for lexer, parser, and server - Support stdio, http, sse, streamable-http transports - Update README, pyproject.toml, and .gitignore --- pyproject.toml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'pyproject.toml') diff --git a/pyproject.toml b/pyproject.toml index 198a5dd..6ee2458 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,10 +1,13 @@ [project] name = "mml-composemusic-mcp" version = "0.1.0" -description = "Add your description here" +description = "MCP server for LLM-driven Famicom-style MML composition" readme = "README.md" requires-python = ">=3.14" -dependencies = [] +dependencies = [ + "fastmcp>=2.1.0", + "numpy>=2.0.0", +] [dependency-groups] dev = [ @@ -24,12 +27,17 @@ target-version = "py314" line-length = 88 src = ["src", "tests"] + [tool.ruff.lint] select = ["E", "F", "W", "I", "N", "UP", "B", "C4"] +ignore = ["E501"] [tool.ruff.format] quote-style = "double" [tool.pytest.ini_options] testpaths = ["tests"] -pythonpath = ["src"] \ No newline at end of file +pythonpath = ["src"] + +[project.scripts] +mml-composemusic-mcp = "mml_composemusic_mcp.server:main" -- cgit v1.2.3