Steam Local Mcp

io.github.Jackson-Brooks由 GitHub 帳號 Jackson-Brooks 發布v0.2.2更新於 Oct 25, 2026

A Windows Steam MCP server with local client controls and optional Steam Web API insights.

發布方自己的服務:LMCP

已驗證STDIO僅桌面位置與生活效率與工作流

概覽

AI 產生的概覽

僅限 Windows 的在地 MCP 伺服器,讓助理檢視、啟動與安裝 Steam 遊戲,並查詢公開的 Steam 商店,選用憑證可讀取帳戶資料。

可以做什麼
列出並尋找本機各 Steam 媒體庫中已安裝的遊戲,顯示安裝、更新與下載狀態,以及各媒體庫占用空間和剩餘磁碟空間。啟動已安裝的遊戲、依應用程式 ID 要求安裝,並在 Steam 中開啟媒體庫、商店或用戶端頁面。搜尋公開商店並讀取遊戲中繼資料、價格、類型、發行日期與 Metacritic 評分。設定憑證後可查看 API 狀態,列出擁有的遊戲及遊玩時數與最近遊玩紀錄。回報偵測到的 Steam 安裝位置以及 Steam 是否正在執行。
適用情境
適用於裝有 Steam 的 Windows 電腦,想讓助理從你的遊戲中挑選、啟動或安裝遊戲、查看下載與磁碟狀態,或查詢商店價格與詳情時。只有需要已擁有遊戲庫與遊玩時數摘要時,才值得啟用帳戶工具。
執行需求
Windows 10 或更新版本,且目前使用者已安裝 Steam;透過 npx 執行 npm 套件需要 Node.js 20 或更新版本。選用的帳戶工具需要在用戶端環境中設定 STEAM_API_KEY 與數字形式的 64 位元 STEAM_ID。自訂 Steam 位置可透過 STEAM_PATH 指定。
安裝前請注意
選用的 STEAM_API_KEY 是私密憑證,不要寫入會提交的檔案,因為伺服器不會自動載入 .env 檔案。伺服器可以啟動遊戲並要求安裝,可能開始下載並占用磁碟空間與頻寬;沒有購買或解除安裝工具。商店與 API 回應會快取在本機,商店描述屬於不可信的外部內容。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Steam Local Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Steam Local MCP

A free, open-source Windows Model Context Protocol server that lets an MCP-capable agent work with the Steam client installed for the current Windows user.

Ask an agent to find an installed game, launch it, open its Steam page, check local download/update status, search the Store, or summarize Steam-library storage. Steam starts quietly in the background when a requested client action needs it.

This is a standard stdio MCP server. It is agent-neutral: use it with Codex, Claude, or any other MCP client that can run a local command.

Example Usage

text
User: "Pick a strategy game for me to play."
Agent: 🛠️ Calling steam_list_games()
Agent: "How about Balatro? Should I launch it?"
User: "Yes."
Agent: 🛠️ Calling steam_launch_game(app_id: 2861700)
Agent: "Launched Balatro."

What it can do

Local Steam tools — no API key

  • steam_list_games and steam_find_game — inspect locally installed games across all configured Steam libraries.
  • steam_launch_game — launch one installed game by name or app ID.
  • steam_get_game_install_status and steam_get_download_status — inspect manifest-recorded install, update, download, and paused-download states.
  • steam_get_library_storage — show installed sizes and free disk space for every local Steam library.
  • steam_open_library_page, steam_open_store_page, and steam_open_client_page — navigate the Steam client.
  • steam_install_game — ask Steam to install an app ID; Steam validates ownership and manages the install flow.
  • steam_client_status — report the detected Steam installation, discovery source, and whether Steam is running.

Public Store tools — no API key

  • steam_search_store — find Store app IDs from a game name.
  • steam_get_game_details — get public metadata, price, genres, release date, and Metacritic score.

Optional account tools — Steam Web API key required

Set STEAM_API_KEY and STEAM_ID to enable:

  • steam_api_status — verify if API credentials are configured, valid, and connected to Steam's Web API.
  • steam_get_library — owned games, playtime, last played, filtering, and pagination.
  • steam_get_recently_played — recently played games, ordered by two-week playtime.

Requirements

  • Windows 10 or newer
  • Steam installed for the current Windows user
  • Node.js 20 or newer

Install from npm

To install the published package via npm, add this equivalent configuration to your MCP client:

json
{  "mcpServers": {    "steam": {      "command": "npx",      "args": ["-y", "steam-local-mcp"]    }  }}

The configuration-file location differs by agent, but the command and arguments above remain the same. Restart or reconnect your MCP client after saving its configuration.

To confirm your install manually, run:

powershell
npx -y steam-local-mcp print-config

Install from source

Use this when developing, auditing the source, or before an npm release is available:

powershell
git clone https://github.com/Jackson-Brooks/steam-local-mcp.gitcd steam-local-mcpnpm installnpm run build

Then configure your MCP client to run the compiled entry point from the directory you cloned:

json
{  "mcpServers": {    "steam": {      "command": "node",      "args": ["C:\\path\\to\\steam-local-mcp\\dist\\src\\index.js"]    }  }}

Replace C:\path\to\steam-local-mcp with your own clone location. Do not use another user's path.

Optional Steam Web API configuration

Pass credentials through your MCP client's environment configuration or the operating-system environment:

json
{  "mcpServers": {    "steam": {      "command": "npx",      "args": ["-y", "steam-local-mcp"],      "env": {        "STEAM_API_KEY": "your_key",        "STEAM_ID": "your_64_bit_steam_id"      }    }  }}

The server never loads a .env file automatically. Never commit credentials. Steam profile and game-details privacy settings can prevent account tools from returning data; local client controls still work for private profiles.

Getting your Steam API credentials

  1. Sign in to Steam in a browser and open the Steam Web API key page.
  2. Create or copy your key, then set it as STEAM_API_KEY in your MCP client's environment configuration. Keep it private.
  3. Set STEAM_ID to your numeric 64-bit Steam ID, not your account name. It is commonly visible in a profile URL such as https://steamcommunity.com/profiles/7656119....
  4. Restart or reconnect your MCP client, then call steam_api_status to confirm that the credentials are configured.

With the key configured, an agent can answer requests such as “show my unplayed Steam games” or “what have I played recently?” The key is optional: launching games, local install status, storage, Store search, and Store metadata work without it.

Steam detection and local status

Steam Local MCP checks, in order:

  1. STEAM_PATH — either the Steam directory or its steam.exe
  2. Current-user and machine Valve registry keys
  3. Conventional per-user, Program Files, and C:\Steam locations
  4. steam.exe on PATH

Use steam_client_status to see the selected path and discovery source. For a portable or unusual custom-drive install, set STEAM_PATH to the directory containing steam.exe.

Installation/download tools read Steam's local app manifests. needs_update: true means Steam has already recorded an update as pending. false means no pending update is currently recorded locally; it does not force a network update check.

Privacy and safety

  • Local tools read local Steam files and open Steam URIs; they do not require a Steam Web API key.
  • steam_launch_game only launches games found in a local installed-game manifest.
  • Steam starts hidden when required for an action, rather than opening a visible launcher window first.
  • There is no purchase or uninstall tool.
  • Public Store descriptions are omitted by default. If explicitly requested, descriptions are capped, converted to plain text, and marked as untrusted external content.
  • Web API and Store responses are cached locally under %LOCALAPPDATA%\steam-local-mcp\cache by default. Set STEAM_MCP_CACHE_DIR to override it, and call steam_refresh_cache to clear it.

Development

powershell
npm installnpm testnpm pack --dry-run

The test suite includes local parsing/caching tests, mocked Store and API tests, all-tool MCP protocol tests, and a real stdio handshake for the packaged entry point.

Contributing

Issues and pull requests are welcome. Please include a regression test for behavior changes, and keep destructive Steam operations out of scope unless they are explicitly designed and documented.

License

MIT

來源:README.md,提交 d1ce88a

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.2.2最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Local-Mcp 整合