Skip to main content
Glama

zork mcp

A text adventure interpreter as an MCP server. The AI is the player, it explores, solves puzzles, fights trolls, and collects treasure, turn by turn, through tool calls.

Games

  • colossal dungeon, a Zork style dungeon: a grue in the dark, a toll collecting troll, a locked grate, five treasures.

  • brainrot manor, a meme palace. Collect the aura artifacts. Become the main character.

Related MCP server: DMCP

Tools

  • list_games, available games

  • start_game(gameId), start/restart, returns your first room

  • act(command), look, go north, take the lantern, use lantern, attack troll with sword, inventory...

  • hint, a nudge for the current room

  • score, treasures, moves, win status

Run

npm install && npm run build && node dist/index.js

Example session

  1. start_game("colossal-dungeon")

  2. act("take the lantern") → act("use lantern")

  3. act("go north"), a troll blocks you...

  4. act("attack troll with sword")

  5. ...find all 4 treasures to win

Add a game

Games are pure data, see src/games.ts. Rooms, items with use-effects, hints, and treasures are all declarative; no engine changes needed.

Available Tools

5 tools
actA

Send a command to the current game: move, look, take, use, examine... Returns the game's response.

Inputs: command (required).

hintA

Get a hint for the current room.

Inputs: no named parameters.

list_gamesA

List the text-adventure games available to play.

Inputs: no named parameters.

scoreA

Show your current score, treasures collected, and move count.

Inputs: no named parameters.

start_gameB

Start (or restart) a text-adventure game. The AI is the player — explore with 'look', move with 'go north' etc., take items, and collect treasures to win.

Inputs: gameId.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: listing games, starting a game, issuing commands, getting hints, and viewing score. No two tools overlap in functionality.

    Naming Consistency5/5

    All tool names are single verbs that directly describe their action: list, start, act, hint, score. This is a consistent and predictable pattern.

    Tool Count5/5

    Five tools is well-scoped for a text-adventure MCP server. Each tool serves a necessary function in the gameplay loop without redundancy.

    Completeness4/5

    The core game lifecycle is covered: discover, start, play, assist, and track progress. Minor features like saving/loading are missing but not essential for basic play.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      A MCP server enabling LLMs to roll dice
      1
      4
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      An MCP server that enables AI agents to act as dynamic dungeon masters for text-based RPGs with dynamically generated rule systems and comprehensive game state management.
      15
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      A proof-of-concept MCP server that enables LLMs to read local text files and fetch real-time weather data through external tools.
      -
    • F
      license
      C
      quality
      D
      maintenance
      An MCP server that exposes Discord bot actions as tools for LLM clients.
      29
      1
      -