
Store and retrieve entities, relations and observations in a persistent local knowledge graph.

A Node.js Model Context Protocol server that lets AI tools observe and command a running DEFCON game through a Lua bridge.
DEFCON MCP Server is cataloged as an MCP server attributed to jorisvddonk. A Node.js Model Context Protocol server that lets AI tools observe and command a running DEFCON game through a Lua bridge. It is categorized under ai agents-models. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for DEFCON MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It runs via stdio with node mcp-server.mjs or over HTTP with the --http flag.
It writes commands to an input text file read by a Lua bot and reads game state from an output text file the bot writes.
README.md · e7434587b971 · Fetched 2026-11-13 11:33:50 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
This is a Model Context Protocol (MCP) server for Introversion Software's 2007 game DEFCON, which allows your favourite AI tool to play GLOBAL THERMONUCLEAR WAR.

(work in progress; not all commands are available yet!)
DEFCON_ai.exe.<defcon installation folder>/AI; rename the folder so that you have <defcon installation folder>/AI/luabot/luabot.dll.luabot folder.R:\input.txt and R:\output.txt by default, but you can supply inputfile and/or outputfile CLI arguments to Defcon to override tis. A RAMDisk is recommended if you can set one up.npm ci in this repository folder..\Defcon_ai.exe host nowan nolan nowlan luabot="AI\luabot\main.lua" numplayers=2 territory=0 debug inputfile="D://input.txt" outputfile="D://output.txt". Select AI/luabot/luabot.dll as the "external bot", and then add an internal AI player as well. The game should start automatically; if it doesn't just ready up to start!node mcp-server.mjs (for stdio transport) or node mcp-server.mjs --http (for HTTP transport). You can pass --inputfile="D://input.txt" and --outputfile="D://output.txt" or similar to set the location of input/output text files.The DEFCON MCP Server uses a multi-layered architecture to enable AI-powered gameplay:
main.lua) that interfaces with the game through the DEFCON AI APIinput.txt: Commands from MCP server to the gameoutput.txt: Game state information from the game to the MCP servermcp-server.mjs) implementing the Model Context Protocol
output.txtoutput.txt to get the current game stateinput.txtinput.txt and executes commands in the gameThe system uses correlation IDs to track command execution:
The MCP server provides the following tools:
debug-log: Send a debug message to the game logsend-chat: Send a chat message to opponentsplace-structure: Place a structure (RadarStation, Silo, or AirBase) at specified coordinatesplace-fleet: Place a fleet of ships at specified coordinatesmove-fleet: Move a fleet to specified coordinateswhiteboard-draw: Draw a line on the whiteboardwhiteboard-clear: Clear all lines from the whiteboardlaunch-nuke: Launch a nuclear missile from a silo to target coordinatesset-silo-defensive: Set a silo to defensive modeget-command-results: Retrieve results of previously executed commandsget-game-state: Get the latest game state informationgenerate-ai-response: Generate an AI response based on the current game stateThe MCP server provides the following resources:
defcon://game-state: Get the current game statedefcon://level: Get the current DEFCON levelThe MCP server provides the following prompts:
analyze-game-state: Analyze the current game state and suggest optimal movessuggest-structure-placement: Suggest optimal locations for structure placementsuggest-nuke-targets: Suggest optimal targets for nuclear strikesClaim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for DEFCON MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/defcon-mcp-server)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

Store and retrieve entities, relations and observations in a persistent local knowledge graph.

Organize problem solving into revisable, branching thought steps through an MCP tool.

Query-aware context compression with an MCP plugin for coding agents, plus Python and HTTP interfaces for reducing the context sent to a language model.