
Game Mcp
io.github.moonolgerd由 GitHub 账号 moonolgerd 发布v1.0.0更新于 Nov 3, 2026
Discovers and manages installed games on Windows from Steam, Epic, GOG, Xbox, and other platforms.
概览
仅限 Windows 的 MCP 服务器,扫描已安装的游戏启动器与程序,让助手列出、查看并启动本机游戏。
- 可以做什么
- 发现 Steam、Epic、GOG、Xbox/Windows 商店、EA、Ubisoft、Rockstar、Battle.Net 及注册表中其他程序的已安装游戏
- 按名称查询某款游戏的详情,包括平台、安装路径、可执行文件位置、安装日期与大小
- 在找到有效可执行文件路径时按名称启动游戏
- 适用场景
- 适合在 Windows 游戏电脑上让助手盘点已安装的游戏、回答某款游戏的安装位置或占用大小,或按名称启动游戏。
- 运行要求
- 通过 dnx 命令以 stdio 在本机运行 GameMcpServer NuGet 包;需要 Windows 和 .NET 10.0 或更高版本。未声明账号、API 密钥或环境变量。
安装
在 SourceWeft 中
- 打开 控制台中的 Game Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Game Discovery MCP Server
A Model Context Protocol (MCP) server that discovers and manages installed games on Windows PC from various platforms including Steam, Epic Games, GOG, Windows Store/Xbox, and other installed programs.
Features
-
Multi-platform game discovery: Automatically scans for games from:
- Steam (including custom library locations)
- Epic Games Store
- GOG (Good Old Games)
- Xbox/Windows Store games
- EA games
- Ubisoft Connect games
- Rockstar games
- Battle.Net games
- Other installed programs (via Windows registry)
-
Comprehensive game information: Provides details including:
- Game name and platform
- Installation path and executable location
- Installation date and size
- Platform-specific metadata
-
MCP Tools Available:
discover_games: Finds all installed games across all platformsget_game_info: Gets detailed information about a specific gamelaunch_game: Launches a game by name (if executable is found)
Prerequisites
- .NET 10.0 or later
- Windows operating system
Usage with VS Code
Available Tools
discover_games
Discovers all installed games from all supported platforms.
Example usage in Claude: "Can you discover all the games I have installed on my PC?"
Returns: JSON object with:
- Total game count
- Games grouped by platform
- Detailed list of all games with metadata
get_game_info
Gets detailed information about a specific game by name.
Parameters:
gameName: The name of the game to search for
Example usage: "Get information about Cyberpunk 2077"
launch_game
Launches a game by name if it has a valid executable path.
Parameters:
gameName: The exact name of the game to launch
Example usage: "Launch Steam's Half-Life 2"
How It Works
The server uses multiple discovery methods:
-
Steam Games:
- Reads Steam installation path from registry
- Parses
libraryfolders.vdffor custom library locations - Scans
steamapps/commondirectories for game folders
-
Epic Games:
- Reads game manifests from
%ProgramData%/Epic/EpicGamesLauncher/Data/Manifests - Parses JSON manifest files for game information
- Reads game manifests from
-
GOG Games:
- Queries Windows registry under
SOFTWARE\GOG.com\Games - Extracts game paths and executable information
- Queries Windows registry under
-
Xbox/Windows Store:
- Scans
%ProgramFiles%/WindowsAppsdirectory - Parses AppxManifest.xml files for application information
- Filters for gaming applications
- Scans
-
Registry Programs:
- Scans Windows uninstall registry entries
- Uses heuristics to identify game-like applications
- Filters out system utilities and non-gaming software
Error Handling
The server is designed to be robust and continue functioning even if:
- Some platforms are not installed
- Registry keys are inaccessible
- Directories have permission restrictions
- Individual games have corrupted metadata
Errors are logged to stderr and don't interrupt the discovery process for other platforms.
Security Considerations
- The server only reads system information and doesn't modify anything
- Game launching requires explicit user confirmation through the MCP client
- All file system access is read-only except for launching executables
- Registry access is read-only
Development
This project uses:
- .NET 10.0
- Model Context Protocol SDK for .NET
- Microsoft.Extensions.Hosting for application lifecycle
来源:README.md,提交 08c24b2
工具
0版本历史
1- v1.0.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分