AA

azerothcore/azerothmcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

28 stars 22 forks 品質 71 トレンド 0GPL-2.0

AzerothCore用MCPサーバー

概要

ClaudeのようなAIアシスタントを提供するモデルコンテキストプロトコル(MCP)サーバーは、AzerothCoreデータベースとwikiドキュメントへの読み取り専用アクセスを提供します。 これにより、生き物スクリプト、SmartAIロジック、データベーススキーマ、ゲームメカニクスの理解のためのAIを活用した支援が可能になります。 このMCPは、トークン使用量を最小限にするためにパターンを実装しています。 - : データベースのクエリは、必須フィールド(75-90%削減)のみを返す - : SmartAI/condition型の定義は、必要に応じてのみ読み込まれた - : デフォルトで無効にされたWikiおよびソースコードの検索 - : AIは、すべてのドキュメントの先行よりも、オンデマンドのツールのカテゴリを探索することができます : 全機能を維持しながら、従来のMCPサーバと比較して、トークン使用量96-98%削減.

概要(AI 翻訳)

ClaudeのようなAIアシスタントを提供するモデルコンテキストプロトコル(MCP)サーバーは、AzerothCoreデータベースとwikiドキュメントへの読み取り専用アクセスを提供します。 これにより、生き物スクリプト、SmartAIロジック、データベーススキーマ、ゲームメカニクスの理解のためのAIを活用した支援が可能になります。

主な特長

###進捗管理ディスクロージャーとトークン最適化 この MCP は、** プログレッシブ ディスクリージャー** パターンを実装し、トークンの使用量を最小限に抑えます。 -デフォルトで複雑なデータ: データベースクエリは必須フィールドのみを返します(75-90%削減) -Lazy-loaded参照データ:必要に応じてのみ読み込まれたSmartAI/condition型定義 -オプションのツールは無効: デフォルトではWikiとソースコードの検索が無効になっています(設定で有効) -Discovery層:AIは、すべてのドキュメントの直面をロードするのではなく、オンデマンドのツールカテゴリを探索することができます

結果:全機能を維持しながら、従来のMCPサーバーと比較して、トークンの使用率の96-98%削減。

##特徴

データベースツール

-query database - 読み取り専用SQLクエリを世界、文字、またはauthデータベースから実行する

  • get table schema - テーブル構造/カラム定義の取得

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

AzerothCore MCP Server

A Model Context Protocol (MCP) server that provides AI assistants like Claude with read-only access to AzerothCore databases and wiki documentation. This enables AI-powered assistance for understanding creature scripts, SmartAI logic, database schemas, and game mechanics.

Key Features

Progressive Disclosure & Token Optimization

This MCP implements progressive disclosure patterns to minimize token usage:

  • Compacted data by default: Database queries return only essential fields (75-90% reduction)
  • Lazy-loaded reference data: SmartAI/condition type definitions loaded only when needed
  • Optional tools disabled: Wiki and source code search disabled by default (can enable via config)
  • Discovery layer: AI can explore tool categories on-demand rather than loading all documentation upfront

Result: 96-98% reduction in token usage compared to traditional MCP servers while maintaining full functionality.

Features

Database Tools

  • query_database - Execute read-only SQL queries against world, characters, or auth databases
  • get_table_schema - Retrieve table structure/column definitions
  • list_tables - List tables with optional pattern filtering

Creature/NPC Tools

  • get_creature_template - Get creature data (compacted by default, use full=True for all 61 fields)
  • search_creatures - Search creatures by name pattern
  • get_creature_with_scripts - Get creature template with associated SmartAI scripts (compacted)

SmartAI Tools

  • get_smart_scripts - Retrieve SmartAI scripts (compacted by default, use full=True for all 33 fields)
  • explain_smart_script - Get documentation for event/action/target types
  • trace_script_chain - Debug and visualize SmartAI execution flow, following links, timed action lists, and data triggers
  • get_smartai_source - Get actual C++ implementation from SmartScript.cpp for any event/action/target type
  • generate_sai_comments - Generate human-readable comments for existing creature/gameobject scripts
  • generate_comment_for_script - Generate a comment for a single new script row before inserting
  • generate_comments_for_scripts_batch - Generate comments for multiple script rows at once

Spell Lookup Tools

  • get_spell_name - Look up a spell name by ID from Keira3’s offline database
  • lookup_spell_names - Batch lookup multiple spell names at once

Source Code Tools (Optional - Disabled by Default)

  • search_azerothcore_source - Search AzerothCore source code for patterns
  • read_source_file - Read specific source files from AzerothCore
  • Enable with ENABLE_SOURCE_CODE=true in .env

Wiki/Documentation Tools (Optional - Disabled by Default)

  • search_wiki - Search AzerothCore wiki documentation
  • read_wiki_page - Read specific wiki pages
  • Enable with ENABLE_WIKI=true in .env

Additional Entity Tools

GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "azerothcore": { "url": "http://localhost:8080/sse" } } }