TTF Font Support: - Bundle 7 IBM PC fonts from Ultimate Oldschool PC Font Pack (CC BY-SA 4.0) - Add fonts.py module with resolve_font() for host/Docker path handling - Add fonts_list() MCP tool for font discovery - Extend launch() with TTF parameters (output, ttf_font, ttf_ptsize, etc.) - Mount fonts at /fonts in Docker container for TTF rendering Network Tools: - Add port_list() to show configured serial/parallel ports - Add port_status() to check port connectivity - Add modem_dial()/modem_hangup() for BBS dial-out - Extend launch() with serial1/serial2/ipx parameters Logging Tools: - Add logging_status/enable/disable for DOSBox-X debug logging - Add logging_category() for selective category control - Add log_capture()/log_clear() for log retrieval Code quality improvements: - Use contextlib.suppress instead of try-except-pass - Fix variable naming (VIDEO_BASE -> video_base) - Apply ruff formatting throughout
57 lines
1.5 KiB
TOML
57 lines
1.5 KiB
TOML
[project]
|
|
name = "dosbox-mcp"
|
|
version = "2025.01.27"
|
|
description = "MCP server for debugging DOS binaries in DOSBox-X via GDB protocol"
|
|
readme = "README.md"
|
|
requires-python = ">=3.11"
|
|
authors = [{name = "Ryan Malloy", email = "ryan@supported.systems"}]
|
|
license = {text = "MIT"}
|
|
keywords = ["mcp", "dosbox", "gdb", "reverse-engineering", "dos", "debugging"]
|
|
classifiers = [
|
|
"Development Status :: 3 - Alpha",
|
|
"Intended Audience :: Developers",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
"Topic :: Software Development :: Debuggers",
|
|
"Topic :: System :: Emulators",
|
|
]
|
|
|
|
dependencies = [
|
|
"fastmcp>=2.0.0",
|
|
"pillow>=10.0.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=8.0.0",
|
|
"pytest-asyncio>=0.24.0",
|
|
"ruff>=0.8.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
dosbox-mcp = "dosbox_mcp.server:main"
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/dosbox_mcp"]
|
|
|
|
[tool.hatch.build.targets.sdist]
|
|
include = ["src/dosbox_mcp", "src/dosbox_mcp/fonts"]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py311"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "N", "W", "UP", "B", "C4", "SIM"]
|
|
ignore = ["E501"] # Line length handled separately
|
|
|
|
[tool.pytest.ini_options]
|
|
asyncio_mode = "auto"
|
|
testpaths = ["tests"]
|