MCP server for AI-assisted debugging of DOS binaries via GDB protocol. Features: - GDB remote protocol client for DOSBox-X debugging - 16 debugging tools: launch, attach, breakpoint management, registers, memory read/write, disassemble, step, continue, etc. - Docker container with DOSBox-X for consistent environment - Support for DOS segment:offset addressing - Comprehensive test suite (49 tests) Primary use case: Reverse engineering the unpublished Bezier algorithm in RIPTERM.EXE for the RIPscrip graphics protocol project.
61 lines
1.5 KiB
TOML
61 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"]
|
|
|
|
# This is the key setting for src-layout
|
|
[tool.hatch.build]
|
|
sources = ["src"]
|
|
|
|
[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"]
|