Integrations
Allows GitHub Copilot in Agent mode to query and interact with Azure Cosmos DB data, supporting operations like listing vehicles and other database queries
Runs the MCP server that facilitates communication between AI models and Azure Cosmos DB, processing queries and returning results
PlayFab MCP サーバー
これは何ですか?🤔
このサーバーは、ClaudeやVS Codeなどの大規模言語モデルがPlayFabサービスと直接やり取りできるようにするミドルウェアです。安全で効率的な翻訳者として機能し、AIアシスタントをアイテム検索、セグメント照会、プレイヤープロフィール検索、インベントリ管理、PlayFab ID変換といったPlayFabの様々な機能に接続します。
簡単な例
どのように機能するのですか?🛠️
このサーバーは、モデルコンテキストプロトコル(MCP)を活用して、AIモデルとPlayFabサービス間のユニバーサルインターフェースを確立します。MCPはあらゆるAIモデルをサポートするように設計されていますが、現在は開発者向けプレビューとして提供されています。
開始するには、次の手順に従ってください。
- プロジェクトを設定します。
- プロジェクトの詳細を LLM クライアントの構成に追加します。
- PlayFab データを自然に操作してみましょう。
何ができるの?📊
- PlayFab の search_items API を使用してアイテムを検索します。
- 包括的なセグメント情報を取得します。
- 指定されたセグメント内のプレーヤー プロファイルを照会します。
- get_inventory_items API を使用して現在の在庫アイテムを取得します。
- get_inventory_collection_ids API を使用してインベントリ コレクション ID を取得します。
- get_title_player_account_id_from_playfab_id API を使用して、PlayFab ID をタイトル プレーヤー アカウント ID に変換します。
クイックスタート 🚀
前提条件
- Node.js 14 以上。
- 有効な PlayFab アカウント (PlayFab ゲーム マネージャー経由でタイトル ID と開発者秘密キーを取得します)。
- Claude Desktop などのサポートされている LLM クライアント。
プロジェクトの設定
PlayFab ゲーム マネージャーから PlayFab タイトル ID と開発者秘密キーを取得し、次の内容を含む.env
ファイルをプロジェクト ルートに作成します (プレースホルダーを実際の資格情報に置き換えます)。
はじめる
- 依存関係をインストールする
プロジェクト ルートで次のコマンドを実行して、必要な依存関係をすべてインストールします。Copy - プロジェクトを構築する
次のコマンドを実行してプロジェクトをコンパイルします。Copy - サーバーを起動する
dist
フォルダに移動し、次のコマンドでサーバーを起動します。Copy - 確認メッセージ
起動時に次のメッセージが表示されます。Copy
VS Code Insiders で実行する
VS Code Insiders および GitHub Copilot エージェント モードで PlayFab MCP サーバーを使用するには、次の手順に従います。
- VS Code Insidersをインストールします。
- VS Code Insiders に GitHub Copilot および GitHub Copilot Chat 拡張機能のプレリリース バージョンをインストールします。
- 空のフォルダーで VS Code Insiders の新しいインスタンスを開きます。
- このリポジトリから
mcp.json
ファイルをフォルダーにコピーし、環境に応じて値を更新します。 - GitHub Copilot を起動し、エージェント モードに切り替えると、PlayFab MCP サーバーがツール リストに表示されます。
- たとえば、「最新の 10 件のアイテムを表示」のようなプロンプトを試して、サーバーがクエリを正しく処理していることを確認します。
Claude Desktop の設定ファイルにプロジェクトの詳細を追加する
Claude Desktopを開き、「ファイル」→「設定」→「開発者」→「設定の編集」に移動します。次に、 claude_desktop_config
ファイルの内容を以下のコードに置き換えます。
これらの手順により、PlayFab MCP サーバーを LLM クライアントで使用するように正常に構成し、PlayFab のサービスとのシームレスな対話が可能になります。
You must be authenticated.
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
LLM (Claude や VSCode Copilot など) が自然言語クエリを通じて Azure Cosmos DB データと対話できるようにし、AI アシスタントとデータベース間の翻訳者として機能できるようにするサーバー。
Related Resources
Related MCP Servers
- -securityAlicense-qualityThis is a server that lets your LLMs (like Claude) talk directly to your BigQuery data! Think of it as a friendly translator that sits between your AI assistant and your database, making sure they can chat securely and efficiently.Last updated -121537JavaScriptMIT License
- AsecurityAlicenseAqualityThis server provides a convenient API for interacting with Azure DevOps services, enabling AI assistants and other tools to manage work items, code repositories, boards, sprints, and more. Built with the Model Context Protocol, it provides a standardized interface for communicating with Azure DevOpsLast updated -9610TypeScriptMIT License
- -securityAlicense-qualityA server that enables LLMs like Claude to interact with Azure Cosmos DB databases through natural language queries, acting as a translator between AI assistants and database systems.Last updated -JavaScriptMIT License
- -securityAlicense-qualityThis server enables natural language interaction between a user and their Kuzu databases using clients like Claude Desktop or Cursor, allowing LLMs to retrieve the database schema, execute Cypher queries, create nodes, and establish relationships in the graph database.Last updated -2JavaScriptMIT License