DOS Games logo

DOS Games

Organization
basementstudio

A Model Context Protocol (MCP) server that provides access to classic DOS games through js-dos emulation. Play legendary games like DOOM, Super Mario, Tetris, and Duke Nukem 3D directly from your AI…

Publisherbasementstudio
Repositorymcp-dos
LanguageTypeScript
Forks
1
Stars
4
Available tools
3
Transport typestdio
Categories
Links
  • Connect tools to AI workflows

    DOS Games exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 3 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    4 stars and 1 forks from the linked repository.

MCP DOS - Classic DOS Gaming Server

A Model Context Protocol (MCP) server that provides access to classic DOS games through js-dos emulation. Play legendary games like DOOM, Super Mario, Tetris, and Duke Nukem 3D directly from your AI assistant.

Features

  • Classic DOS Games: Play iconic DOS games including DOOM, Super Mario, Tetris, and Duke Nukem 3D
  • Web-based Emulation: Uses js-dos for authentic DOS gaming experience in the browser
  • Fullscreen Support: Enjoy games in fullscreen mode with proper controls
  • Keyboard Mapping: Pre-configured key mappings for each game with on-screen controls
  • Server Management: Tools to start, stop, and manage the gaming server

Available Games

  • DOOM (doom) - The legendary first-person shooter
  • Super Mario (super-mario) - Classic platformer adventure
  • Tetris (tetris) - The timeless puzzle game
  • Duke Nukem 3D (duke3d) - Action-packed FPS adventure

Getting Started

Add this server to your MCP client configuration:

json
{
  "mcpServers": {
    "mcp-dos": {
      "command": "npx",
      "args": ["-y", "mcp-dos"]
    }
  }
}

Game Controls

Each game comes with pre-configured controls displayed on screen:

DOOM

  • Arrow Keys: Movement (Forward/Back/Left/Right)
  • W: Use
  • S: Fire
  • A/D: Strafe left/right
  • Enter: Menu navigation

Super Mario

  • Arrow Left/Right: Movement
  • Alt: Jump

Tetris

  • 7/8: Move left/right
  • 9: Rotate piece
  • Space: Drop piece
  • Enter: Menu navigation

Duke Nukem 3D

  • Arrow Keys: Movement
  • Ctrl: Fire
  • A: Jump
  • Enter: Menu navigation

Tools Available

1. List DOS Games

Lists all available DOS games that can be played through the server.

Returns:

  • Array of available game slugs
  • Instructions on how to play games using the open-dos tool

2. open-dos

Opens and plays a specific DOS game using js-dos emulation in a browser window.

Parameters:

  • game (string): DOS game slug to play (e.g., 'doom', 'super-mario', 'tetris', 'duke3d')

Features:

  • Launches game in a new browser window
  • Displays game-specific controls on screen
  • Fullscreen support
  • Authentic DOS gaming experience

3. close-app

Closes an existing running mcp-dos server instance.

Parameters:

  • port (number): The port number of the server to close

Use Cases:

  • Clean up server instances
  • Resolve port conflicts
  • Server maintenance

Development

bash
# Install dependencies
pnpm install

# Build the project
pnpm build

# Run the server
pnpm start

Requirements

  • Node.js ≥20.0.0
  • Modern web browser with JavaScript enabled
  • Internet connection for js-dos CDN resources

This project is built using the xmcp framework.

Installation

TypingMind
Prerequisites:

Node.js 18+

{
  "mcpServers": {
    "mcp-dos": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-dos"
      ]
    }
  }
}

Available Tools

  • close-app

    Close an existing running mcp-dos server. You can use this tool if you are getting erros when starting a new server.

  • List DOS Games

    List all available DOS games

  • open-dos

    Open and play a DOS game using js-dos. Use list to see the exact key you need to use and the available games.

Use DOS Games MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once DOS Games is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add DOS Games as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the DOS Games MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "dos-games": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-dos"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the DOS Games MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the DOS Games MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use DOS Games to help me with this task?
DOS Games
Sure. I read it.
Here is what I found using DOS Games.

Frequently asked questions

What is the DOS Games MCP server used for?

DOS Games is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use DOS Games MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use DOS Games with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use DOS Games MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With DOS Games connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect DOS Games MCP to TypingMind?

DOS Games runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does DOS Games MCP provide in TypingMind?

DOS Games exposes 3 MCP tools that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use DOS Games MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If DOS Games requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇