dos-mcp
dos-mcp
ループバック専用のDOSBox-X QMPサーバー向けの小さなMCPツール群です。Ghidraが保守するGDB TraceRMIエージェントがデバッガ状態を保持し、このサーバーはエミュレータ制御、ペース調整されたキーボード入力、上限付きメモリ読み取り、スクリーンショット、スナップショットを提供します。
ツール
dosbox_status、dosbox_pause、dosbox_resume、およびdosbox_resetdosbox_swap_floppydosbox_send_keys、dosbox_key_event、およびdosbox_type_textdosbox_break_on_next_execdosbox_read_memoryおよびdosbox_capture_screendosbox_save_stateおよびdosbox_load_state
インラインメモリ応答は4 KiBに制限され、16進数で返されます。最大64 KiBまでの読み取りは、代わりに絶対パスの output_path に書き込むことができます。入力されるテキストはペース調整され、128 US-ASCII文字に制限されます。これは便利なシェル入力であり、サイクル決定的なキーボードプリミティブではありません。キーの押下と解放には dosbox_key_event を使用してください。テキスト送信中は、ゲストがBIOSキーボードリングを能動的に消費している必要があります。ビジーなプログラムは静かに入力を失う可能性があります。状態パスは絶対ASCIIパスである必要があり、overwrite=true でない限り、保存時に既存ファイルは置き換えられません。
入力、リセット、状態、キャプチャ操作は、実行中のエミュレーションを必要とします。QMPメモリ読み取りは、実行中の読み取りが不整合になる可能性があるため、デフォルトで一時停止中のエミュレータを必要とします。allow_running=true はそれを明示的にオプトインします。QMPの一時停止は dosbox_resume で再開できます。GDBの停止はGDBを通じて継続する必要があります。DOSBox-Xは読み取り不能な物理アドレスをゼロで埋めるため、このQMPインターフェースを通じて、未マップのバイトを実際のゼロと区別することはできません。dosbox_swap_floppy は、ホスト側のキーボードショートカットを注入せずに、A: または B: のプリマウント済みイメージリストを進めます。
各ツール呼び出しは、1つのローカルQMPセッションを開き、QMPハンドシェイクを完了し、そのコマンドを直列に実行して切断します。リクエストは再試行されません。タイムアウトした変更はすでに発生している可能性があるため、繰り返す前にエミュレータの状態を確認してください。
このサーバーは、--enable-remotedebug を指定してビルドされ、[dosbox] qmpserver=true で構成された、対応するDOSBox-Xビルドを必要とします。DOSBox-Xは一度に1つのQMPクライアントしか受け付けません。このMCPサーバーを使用している間は、別のモニタを接続しないでください。
Related MCP server: Rikune
構成
サーバーは 127.0.0.1 を使用し、リモートQMPホストを受け付けません。
DOSBOX_X_QMP_PORTのデフォルトは4444です。DOSBOX_X_QMP_TIMEOUTのデフォルトは35秒です。
実行方法:
uv run dos-mcpApache-2.0.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceBridges AI agents to a DOSBox emulator, enabling control of DOS programs via MCP tools for typing, screen reading, video capture, Lua scripting, and memory access.1GPL 2.0
- AlicenseNot gradedqualityAmaintenanceMCP server for reverse engineering Windows executables and related binary formats, offering static analysis, Ghidra-assisted function recovery, plugin-driven tooling, and optional isolated Windows runtime execution.7237MIT
- AlicenseCqualityBmaintenanceA Windows-focused MCP server for controlling and debugging PCSX2 via GDB, offering emulator control, memory inspection, debugger operations, savestates, cheats, screenshots, process management, and log access.64MIT
- AlicenseNot gradedqualityAmaintenanceHeadless reverse engineering MCP server integrating IDA Pro for static analysis and x64dbg for dynamic debugging via controlled MCP tools.4GPL 3.0
Related MCP Connectors
MCP server for understanding Javascript internals from ECMAScript specification.
MCP Server for Slima - AI Writing IDE for Novel Authors with AI Beta Reader.
2,000+ MCP servers read at source level. Know what one does before you connect. Free, no key.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/64kramsystem/dos-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server