MCP Dungeon Game

MCP Dungeon Game

An idle dungeon crawler game playable through conversation, featuring equipment collection, time-based dungeon exploration, auto-battles, random events, and encrypted local save data.

Category
Visit Server

README

MCP放置型ダンジョンゲーム

MCP (Model Context Protocol) サーバーとして実装された放置型ダンジョンクローラーゲームです。ダンジョンを探索し、装備を集め、強くなりましょう - すべて会話を通じて!

特徴

  • 装備システム: 4つの装備スロット(武器、盾、防具、アクセサリ)と4つのステータス(攻撃力、防御力、速度、運)
  • ダンジョン探索: 時間ベースのダンジョン攻略と自動戦闘
  • ドロップシステム: 様々なレアリティの装備ドロップ(コモン、レア、エピック、レジェンダリ)
  • イベントシステム: 落とし穴、毒の罠、宝箱などのランダムイベント
  • バトルログ: 詳細な戦闘記録と統計
  • 暗号化セーブデータ: ローカルに暗号化されたゲーム進行状況
  • サーバー不要: 完全クライアントサイドで動作

インストール

npm install
npm run build

Claude Desktopでの使用方法

Claude Desktopの設定ファイルに以下を追加してください:

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

{
  "mcpServers": {
    "idle-game": {
      "command": "node",
      "args": ["/absolute/path/to/mcp-idle-game/dist/index.js"]
    }
  }
}

始め方

  1. ゲームの初期化:

    パスワード"mysecretpass"で新しいゲームを初期化して
    
  2. キャラクター作成:

    "勇者"という名前でプレイヤーを作成して
    
  3. ステータス確認:

    ステータスを見せて
    
  4. ダンジョン探索:

    利用可能なダンジョンを教えて
    初心者の洞窟を探索開始
    進行状況を確認して
    
  5. 装備管理:

    インベントリを見せて
    鋼の剣を装備して
    

ゲームの仕組み

ステータス

  • 攻撃力: 戦闘で与えるダメージ
  • 防御力: 受けるダメージを軽減
  • 速度: ダンジョン完了時間を短縮(1ポイントにつき2%、最大50%短縮)
  • : クリティカルヒット率、回避率、ドロップ率上昇

戦闘

  • 自動ターン制戦闘シミュレーション
  • クリティカルヒットは2倍ダメージ
  • 防御力で受けるダメージを軽減(ランダム要素あり)
  • 運は攻撃面(クリティカル)と防御面(回避)の両方に影響

イベントシステム

  • 各階層でランダムイベントが発生
  • ポジティブイベント: 宝箱、癒しの泉、隠し通路
  • ネガティブイベント: 落とし穴、毒の罠、奇襲攻撃
  • 運が高いほど良いイベントが起きやすい

ドロップ

  • 敵ごとに基本ドロップ率設定
  • 運がドロップ確率とレアリティに影響
  • ボス敵は高いドロップ率
  • 装備レアリティがステータスに影響

セーブデータの保存場所

ゲームデータは以下に保存されます:

  • macOS/Linux: ~/.mcp-idle-game/
  • Windows: C:\Users\<username>\.mcp-idle-game\

ファイル:

  • player_data.enc: 暗号化されたゲームセーブ
  • key.enc: 暗号化キーデータ

開発

# 開発時の自動ビルド
npm run watch

# ビルド
npm run build

# 直接実行
npm start

セキュリティについて

セーブデータはAES-256-GCMで暗号化され、パスワード派生キー(PBKDF2、100,000回反復)を使用します。パスワードは保存されないため、必ず覚えておいてください!

ライセンス

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured