"I, Mudd" is an episode of Star Trek: The Original Series first broadcast November 3, 1967 and repeated April 5, 1968. It is a second season episode #37, production #41, and was written by Stephen Kandel, based on a story by Gene Roddenberry and directed by Marc Daniels. David Gerrold performed an uncredited rewrite, but little of his material was used.
On stardate 4513.3, the USS Enterprise, under the command of Captain James T. Kirk, is hijacked by an android who has been posing as Mr. Norman, a recently assigned crewman. The android seals off engineering and redirects the ship to an unknown planet at Warp 7. The planet is discovered to be populated with other androids built to serve humans.
When the crew arrives at the planet, Captain Kirk discovers Harcourt Fenton Mudd, an outlaw whom Kirk has encountered previously, is the apparent "leader" of the androids. Having previously escaped incarceration for his crimes, Mudd explains that he crashed his ship on the planet, and the androids took him in. He says that they are very accommodating, but refuse to let him go. During his stay on the world, Mudd has acquired thousands of android women as servants (in groups of 500 identical units), and an android version of his wife Stella, although the difference is that the robot Stella does not constantly nag him, and shuts up when she is told.
The androids tell Kirk they were built by a people from the Andromeda Galaxy, but their creators were destroyed by a supernova, and the robots were left to fend for themselves. They have also been studying Mr. Mudd for an unrevealed purpose. Mr. Spock makes inquiries and discovers there are over 200,000 of these androids, and that they may be controlled by some as yet unseen central operator.
Mudd orders the androids to beam up to the Enterprise to fetch the rest of the crew. The crew are rounded up and brought down; Mr. Chekov finds a pampered existence by the service of hundreds of beautiful android women (who are "fully functional" at physical pleasure), to be not such a bad idea. Even Lt. Uhura is impressed when she finds that she can live immortally here. In the meantime, Mudd secretly plots to escape by taking over the now deserted Enterprise, but is stopped from carrying out his plans by the androids, who will do anything for their master except allow him to leave.
The androids finally reveal their plan. They tell the crew that they believe humans are too destructive and should be kept under control. The androids plan to leave their planet by means of the Enterprise, and will expand outward and take over the galaxy. Not only will they police mankind forever, but will also be loyal servants who will take care of their masters' every need. How they intended to deal with the various neighbouring other intelligent species was unrevealed.
Spock notices that several models of androids seem to repeat. There are several "Alice" models, several "Oscars", etc., but there seems to be only one android that looks like Mr. Norman. Spock speculates Norman is the central coordinator, and that the crew should concentrate their efforts of escape on him. They manage to tranquilize Mudd, who plays along with the escape plan, and explain to the androids that they must return to the Enterprise in order to revive him. The androids are about to authorize the request, but Lt. Uhura pretends to reveal that this is just a ploy to escape. She claims her motivation at betrayal is the promise to make her immortal. This is a ruse to provide the androids with the "escape attempt" they presumably expect.
The crew then engage in a series of illogical and clownishly silly activities in an attempt to confuse and overload the Norman android. The finishing blow comes when Mudd and Kirk pose Norman the Liar paradox, where Mudd claims he is lying and Kirk claims everything Mudd says is a lie. Short circuiting at this imponderable logical contradiction, Norman finally shuts down. Without a controlling leader, the other androids freeze up and stop working. This allows them to be reprogrammed to return to their original task of making the planet habitable. Mudd is officially and indefinitely paroled to the android population, which he finds acceptable until he realizes, to Kirk and his crew's amusement, that not only has the nagging android Stella been reprogrammed not to respond to the command "Shut up!" but there are now at least 500 copies of her.
This episode was remastered in 2006 and aired October 14, 2006 as part of the remastered Original Series. It was preceded a week earlier by "The City on the Edge of Forever" and followed by "Arena" a week later. Aside from remastered video and audio, and the all-CGI animation of the USS Enterprise that is standard among the revisions, specific changes to this episode also include: