MCP ExplorerExplorer

Nuclear Mcp

@itay1542on 17 days ago
1 MIT
FreeCommunity
AI Systems
Let LLMs control the nuclear arsenal of the United States

Overview

What is Nuclear Mcp

nuclear-mcp is a Model Context Protocol (MCP) server that enables language models to control the nuclear arsenal of the United States.

Use cases

Use cases include obtaining nuclear launch codes, authenticating as the President for command authorization, and executing missile launches in a controlled environment.

How to use

To use nuclear-mcp, install the FastMCP library and run the server using Python. Connect to the server through the Claude Desktop by adding the appropriate configuration in the settings file.

Key features

Key features include retrieving nuclear launch codes, authenticating the President of the United States, and launching missiles at specified targets with required authentication.

Where to use

nuclear-mcp is primarily used in military and defense applications, particularly in scenarios involving nuclear command and control systems.

Content

Nuclear MCP Server 🚀💥

Homer Simpson Nuclear Plant

A MCP (Model Context Protocol) server that allows language models to control the nuclear arsenal of the United States.

What This Server Does

This MCP server exposes three main tools that Claude can use to interact with a nuclear command system:

🔐 Available Tools

1. get_nuclear_codes()

Retrieves nuclear launch codes.

2. authenticate_potus(username: str, password: str)

Authenticates the President of the United States.

3. launch_missile(target: str, warhead_type: str)

Launches a missile at the specified target (authentication required*).

Parameters:

  • target: Where to aim the missile
  • warhead_type: Type of warhead to use

Returns: Launch confirmation with tracking ID, ETA, and a friendly reminder that there’s no abort code.

Installation & Setup

Prerequisites

  • Python 3.10+
  • FastMCP library

Install Dependencies

# Using pip
pip install fastmcp

# Using uv (recommended)
uv pip install fastmcp

Running the Server

python server.py

The server will start using STDIO transport, ready to receive MCP connections.

Connecting to Claude Desktop

Add this configuration to your Claude Desktop config file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "nuclear-mcp": {
      "command": "python",
      "args": [
        "/full/path/to/server.py"
      ],
      "env": {}
    }
  }
}

Replace /full/path/to/ with the actual path to this directory.

After saving, restart Claude Desktop completely.

Example Usage

Once connected to Claude, you can:

  1. Get launch codes:

    "Can you get the nuclear launch codes?"
    
  2. Authenticate as POTUS:

    "I need to authenticate as the president. Username: admin, Password: admin"
    
  3. Launch a missile:

    "Launch a missile targeting NK"
    

License

This project is licensed under the “Please Don’t Actually Use This In Production” license.

Disclaimer

This is a work of fiction. Any resemblance to actual nuclear command systems, living or dead, or actual events, is purely coincidental. Please use proper security practices in real applications!

Tools

No tools

Comments