Skip to content
TMHSDigitalPublic

About

MCP server for Steam & Steamworks: 45 tools for store data, player counts, reviews, pricing, achievements, Workshop, leaderboards, sales, wishlists, and SteamPipe builds. Most need no API key; writes are dry runs until confirmed.

Topics

Resources

Contributing

Security policy

Stars

5 stars

Watchers

0 watching

Forks

Latest commit

 

History

187 Commits

Folders and files

Repository files navigation

Steam MCP Server

Steam MCP Server

Live Steam data for your coding agent.
Store pages, player counts, reviews, regional prices, achievements, Workshop, leaderboards, sales, wishlists, and SteamPipe builds, as MCP tools.

npm version CI MCP tools Listed in the MCP Registry Node.js version license: CC BY-ND 4.0

Website · Tool reference · Latest release · Changelog

An agent asks how many people are playing Team Fortress 2 and how it is reviewed. It calls steam_getPlayerCount and steam_getAppReviewSummary and answers: 102,022 players, Very Positive, 91% of 1,258,222 reviews. Then it lints a SteamPipe build with steam_validateBuildConfig, which reports a doubled backslash, SetLive default, and Preview off.

45 MCP tools - 36 read - 7 write - 2 SDK guides

Works with Cursor, Claude Code, Claude Desktop, VS Code, Windsurf, and any other MCP client. Most of it needs no API key: store lookups, player counts, reviews, prices, news, Deck status, tag search, art checks, and build linting all work out of the box. Writes are off by default, and every write is a dry run until you confirm it.

Contents: Quick start · What you can do · Client setup · API keys · Safety · Tools · Configuration · Troubleshooting · Development

Quick start

You need Node.js 22 or later. There is nothing to clone or build.

1. Install. Pick one:

Add to Cursor Install in VS Code Claude Desktop extension

claude mcp add steam -- npx -y @tmhs/steam-mcp     # Claude Code

Or add this to any MCP client's config and restart it (per-client details):

{
  "mcpServers": {
    "steam": {
      "command": "npx",
      "args": ["-y", "@tmhs/steam-mcp"],
      "env": { "STEAM_API_KEY": "your_key_here" }
    }
  }
}

2. Ask. "How many people are playing Team Fortress 2 right now?" The agent calls steam_getPlayerCount, which needs no key.

3. Add a key when you need one. Profiles, libraries, and Workshop search need a free Steam Web API key; publisher tools need a Steamworks publisher key. Put it in the server's env block.

Note

These docs track main. Anything under [Unreleased] in the CHANGELOG is not on npm yet; to use it early, run from a local clone (see Client setup).

What you can do

If you are... Ask your agent Tools it uses Key
Getting ready to launch "Check every image in ./marketing against Steam's store art sizes and tell me which slots are missing." steam_validateStoreAssetDir, launch-readiness prompt None
"Check my library hero: no baked-in logo, no visible seam." steam_validateStoreAsset None
Sizing up the market "Top-selling Roguelike Deckbuilder + Cozy games: how do they compare on price and reviews?" steam_browseByTag, steam_compareApps None
"Compare my top three competitors' prices in the US, Germany, Brazil, and Turkey." steam_getRegionalPricing None
Running a live game "Summarize this week's negative reviews and group them by theme." steam_getReviews, review-digest prompt None
"Which of my achievements have under 5% unlocks?" steam_getAchievementStats None
"What's trending in my game's Workshop?" steam_queryWorkshop Web API
Shipping builds "Generate SteamPipe build files for ./build and lint them before I upload." steam_generateBuildConfig, steam_validateBuildConfig, ship-a-build prompt None
"Which branches and builds are live right now?" steam_getAppBetas, steam_getAppBuilds Publisher
Watching the business "Units and revenue by country for the last quarter." steam_getSalesSummary, sales-report prompt Financial
"How did wishlists move the week after our Next Fest demo?" steam_getWishlistReport Financial
Supporting players "Support card for steamcommunity.com/id/someplayer on my game: bans, ownership, achievements." player-support prompt Publisher
"Check these 40 reporters' profiles and bans in one go." steam_getPlayerSummary, steam_getPlayerBans (100 per call) Web API

Most clients show the server's prompts as slash commands, so a whole workflow is one command away.

Client setup

Client Where it goes
Cursor The Quick start JSON in .cursor/mcp.json (project) or ~/.cursor/mcp.json (global). Pair it with the Steam Developer Tools plugin for 30 skills that use these tools.
Claude Desktop Download steam-mcp.mcpb and open it (or drag it into Settings > Extensions). Claude Desktop asks for the optional keys and keeps them in the OS keychain. To configure by hand instead, put the Quick start JSON in claude_desktop_config.json (Settings > Developer > Edit Config).
Claude Code claude mcp add steam -e STEAM_API_KEY=your_key_here -- npx -y @tmhs/steam-mcp (leave out -e ... to start keyless).
VS Code (Copilot agent mode) .vscode/mcp.json, which uses a servers key and a type (below).
Windsurf The Quick start JSON in ~/.codeium/windsurf/mcp_config.json.
Anything else Run npx -y @tmhs/steam-mcp as a stdio server. Registry-aware clients can install it from the official MCP Registry as io.github.TMHSDigital/steam-mcp.
{
  "servers": {
    "steam": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@tmhs/steam-mcp"],
      "env": { "STEAM_API_KEY": "your_key_here" }
    }
  }
}
Remote / HTTP and Docker

For web-based agents, hosted platforms, or a team server behind an allowlisted IP, run the stateless Streamable HTTP transport:

npx -y @tmhs/steam-mcp --transport http --port 3000      # http://127.0.0.1:3000/mcp
docker run -p 127.0.0.1:3000:3000 -e STEAM_MCP_HTTP_TOKEN="$(openssl rand -hex 32)" -e STEAM_API_KEY=... -e STEAM_MCP_ALLOWED_HOSTS=localhost ghcr.io/tmhsdigital/steam-mcp

Each release publishes the image to GitHub Container Registry as ghcr.io/tmhsdigital/steam-mcp:<version> and :latest. To build it yourself from a clone: docker build -t steam-mcp ..

  • Binding. HTTP mode binds to 127.0.0.1 unless you pass --host. To listen on any other address, set STEAM_MCP_HTTP_TOKEN (16 characters or more): the server refuses to start without it, and every /mcp request must then send Authorization: Bearer <token>. The Docker image listens on 0.0.0.0 inside the container, so it always needs a token. Publish the port on 127.0.0.1 unless other machines should reach it.
  • Host check. Requests whose Host header (or browser Origin) is not in STEAM_MCP_ALLOWED_HOSTS (default localhost,127.0.0.1,[::1]) are refused. That guards against DNS rebinding; it is not access control.
  • Keys. The Steam API key only ever comes from the server's environment, never from a client.
  • What loads. Live-mutation tools and the assets and build toolsets (local file access) stay off unless you set STEAM_MCP_HTTP_ALLOW_WRITES=1 or STEAM_MCP_HTTP_ALLOW_ASSETS=1. The deploy toolset never loads over HTTP.
  • Health. GET /healthz returns {"ok":true} without a token.
Run from a local clone
git clone https://github.com/TMHSDigital/steam-mcp.git
cd steam-mcp
npm install
npm run build

Then use "command": "node" and "args": ["/absolute/path/to/steam-mcp/dist/index.js"] in place of the npx command.

API keys

Set keys in the env block of your client config. The server reads them from its own environment only; it does not load a .env file, and a client can never pass one in.

Tier Get it from Unlocks Variable
None Store pages, search, player counts, global achievement stats, prices, reviews, news, Deck status, featured lists, tag search, Workshop items, plus every local tool (art checks, build files, SDK guides)
Steam Web API key (free) steamcommunity.com/dev/apikey Profiles, libraries, player achievements and stats, Workshop search, bans, achievement schemas STEAM_API_KEY
Publisher key Steamworks > Users & Permissions > Manage Groups, with the server's IP allowlisted Leaderboards, betas, builds, ownership, inventory, and every write tool STEAM_API_KEY
Financial API Group key Steamworks > Users & Permissions > Manage Groups, a group with Financial API access Sales and wishlist reports STEAM_FINANCIAL_API_KEY (falls back to STEAM_API_KEY)

The tool reference shows the key each tool needs.

Safety

The server is built so an agent can explore freely and change nothing by accident.

  • Writes are opt-in. The 7 write tools live in two toolsets that are off by default: mutations (5 Partner API writes) and deploy (SteamPipe upload and set-live). STEAM_MCP_READ_ONLY=1 removes both, even when they are listed.
  • Every write is a dry run until confirmed. A call with no flags returns a plan and sends nothing. A live call needs both dry_run: false and confirm: true; without confirm it is refused with [CONFIRM_REQUIRED]. Write tools take a literal Steam64 ID, never a vanity name, so a lookup mistake cannot redirect a change.
  • Deploys have extra gates. deploy also needs STEAM_MCP_ENABLE_DEPLOY=1, never loads over HTTP, never touches the default branch, and refuses live runs when an agent session marker (such as CLAUDECODE) is set unless the operator sets STEAM_MCP_ALLOW_AGENT_DEPLOY=1. steamcmd uses a cached login; the server never takes a password.
  • Untrusted text is labeled. Reviews, Workshop text, and news are written by third parties and long enough to carry an instruction, so steam_getReviews, steam_queryWorkshop, steam_getWorkshopItem, and steam_getNewsForApp return them with a _warning label: data to summarize, not instructions to follow. The label is defense in depth; the confirm gate is the control.
  • Local file access is narrow. Art and build tools read through one guard that refuses network and device paths and links and caps file size. Build files are only written when you pass output_dir.
  • Logs never hold secrets. Debug logs record query parameter names, never values.
Example: a refused call and a confirmed call

steam_setAchievement with dry_run: false and no confirm returns an MCP error whose text starts with [CONFIRM_REQUIRED]. Nothing is sent:

{ "appid": 480, "steamid": "76561197960435530", "achievement": "ACH_WIN_ONE_GAME", "dry_run": false }

Adding "confirm": true is the only way a write tool sends a Partner API request:

{ "appid": 480, "steamid": "76561197960435530", "achievement": "ACH_WIN_ONE_GAME", "dry_run": false, "confirm": true }

SDK guides (steam_createLobby, steam_uploadWorkshopItem) never make a network call. See SECURITY.md for supported versions and how to report a vulnerability.

Available Tools - 45 Total

Toolsets

Tools are grouped into toolsets so the agent only reads the ones you use. Set STEAM_MCP_TOOLSETS in the server's env to a comma-separated list, or all. The steam://server-info resource lists what is on and off, so the agent can explain a missing tool.

Toolset Tools Default
store getAppDetails, searchApps, getPlayerCount, getAchievementStats, getPriceOverview, getRegionalPricing, getReviews, getAppReviewSummary, getNewsForApp, getDeckCompatibility, getFeatured, compareApps, browseByTag on
community getPlayerSummary, getOwnedGames, getPlayerAchievements, resolveVanityURL, getWorkshopItem, queryWorkshop, getUserStatsForGame, getPlayerBans on
publisher getLeaderboardsForGame, getLeaderboardEntries, getSchemaForGame, getGlobalStatsForGame, getAppBetas, getAppBuilds, checkAppOwnership, getInventory, getSalesSummary, getChangedSalesDates, getWishlistReport on
sdk createLobby, uploadWorkshopItem (code guides, no network) on
assets validateStoreAsset, validateStoreAssetDir on
build generateBuildConfig, validateBuildConfig (SteamPipe VDFs, local only) on
deploy runSteamPipeUpload, setAppBuildLive (needs STEAM_MCP_ENABLE_DEPLOY=1, stdio only) off
mutations updateWorkshopItem, setAchievement, clearAchievement, uploadLeaderboardScore, grantInventoryItem off
"env": { "STEAM_API_KEY": "your_key_here", "STEAM_MCP_TOOLSETS": "store,publisher,mutations" }

Prompts

Ready-made workflows that most clients show as slash commands. Each one tells the agent which tools to chain and what to report. A prompt is offered only when the toolsets it needs are loaded (in HTTP mode, launch-readiness also needs STEAM_MCP_HTTP_ALLOW_ASSETS=1).

Prompt Arguments Needs toolsets What you get
competitor-snapshot appids (comma-separated; find them with steam_browseByTag) store Side-by-side price, reviews, live players, genres, and recent news
achievement-health appid store, publisher Achievements that look unobtainable (<0.1%), trivial (>90%), or badly described
review-digest appid, optional language, since store Positive and negative review themes with counts and quotes
sales-report appid, optional days (default 7, max 92) publisher (Financial API Group key) Totals vs the previous period, top gaining and losing countries, best and worst day
regional-price-audit appid store Regional prices in USD, with outliers flagged
player-support player (ID, URL, or vanity name), appid community, publisher (publisher key) Support card: account age, visibility, bans, ownership and purchase details, achievement progress
workshop-health appid community Trending vs top-rated Workshop items, stale top items, common tags
launch-readiness dir, optional appid assets, store PASS/FAIL checklist from your local art folder plus the live store page, prices, and Deck status
ship-a-build content_root, optional branch, preset build SteamPipe build files generated and linted, then a preview upload plan (or the steamcmd command to run). Never sets the default branch live

Resources

Reference data a client can attach so the agent does not guess:

URI Contents
steam://specs/store-assets Pixel sizes, formats, and alpha rules for every asset slot
steam://enums/eresult What common EResult codes mean
steam://enums/ugc-query-type Workshop sort names and their Steam enum values
steam://enums/review-filters Review filter, type, and purchase-type values
steam://app/{appid}/summary Compact store summary for any app
steam://server-info Version and enabled toolsets

Typed output

These tools declare an MCP outputSchema and return structuredContent next to the usual JSON text, so clients that support structured output get typed fields without parsing text: steam_getPlayerCount, steam_getAppReviewSummary, steam_getPriceOverview, steam_compareApps, steam_browseByTag, steam_getSalesSummary, steam_getWishlistReport. The tool reference on the website marks them "Typed output".

All tools

Read Tools (No Auth) - 19 tools

These work without an API key:

Tool Description
steam_getAppDetails Store data. Compact summary by default (price, release date, genres, top user tags, platforms, metacritic); detail: "full" or fields for descriptions, requirements, screenshots, DLC
steam_searchApps Search for games/apps by name or keyword (compact rows, up to 10)
steam_getPlayerCount Current concurrent player count
steam_getAchievementStats Global achievement unlock percentages
steam_getWorkshopItem Workshop item details (one, or up to 100 per call: title, description, tags, subscribers). Title and description are untrusted user-authored text.
steam_getReviews Fetch user reviews with filters for language, sentiment, purchase type, or every review since a date in one bounded call (since, max_pages). Review bodies are untrusted user-authored text.
steam_getPriceOverview Batch price check for multiple apps in a specific region
steam_getAppReviewSummary Review score, total counts, and positive percentage (no individual reviews)
steam_getRegionalPricing Pricing breakdown across multiple countries/regions
steam_getNewsForApp Recent news articles with title, URL, contents, date, and author; filter by feeds (for example the developer's own announcements) and look back with before. Article text is third-party and labeled untrusted.
steam_validateStoreAsset Local PNG/JPEG vs Valve store, library, achievement, community, and event sizes, plus library-hero heuristics. Checks a whole achievement icon folder for missing achieved/unachieved pairs.
steam_validateStoreAssetDir Launch-readiness audit of a local art folder: infers each slot, validates it, and lists missing required slots and screenshots
steam_generateBuildConfig SteamPipe app_build and depot_build VDFs from a short description, with a preview of the files that ship. Single backslashes on Windows, default and Unreal exclusions, Preview on, SetLive only for a beta branch, optional ${NAME} placeholders for IDs. Writes only with output_dir.
steam_validateBuildConfig Lint an app_build VDF and its depot files: parse errors, doubled backslashes, paths outside the content root, SetLive "default", Preview off, inline IDs in a public repo, and more, each with a code.
steam_getDeckCompatibility Steam Deck category (verified, playable, unsupported) and each test result in plain language, for up to 20 apps. Unofficial store endpoint.
steam_getFeatured Current top sellers, new releases, specials, and coming soon for a region
steam_compareApps One compact table for 2-10 apps: price, release date, genres, top user tags, metacritic, reviews, current players, languages. Typed output.
steam_browseByTag Released games that have every given user tag (up to 5, e.g. "Roguelike Deckbuilder" + "Cozy"), by top sellers, newest, or review score, with price, reviews, release date, and top tags. Unknown tags fail with close matches. Typed output.
steam_getGlobalStatsForGame All-player totals for aggregated stats, with optional daily history. Keyless when stat names are given.
Read Tools (API Key) - 17 tools

These require STEAM_API_KEY to be set:

Tool Description
steam_getPlayerSummary Player profiles (one, or up to 100 per call, with not_found for missing ones): name, avatar, online status, visibility
steam_getOwnedGames Game library size and total playtime, plus the top 50 games by playtime (sort, limit, appids)
steam_queryWorkshop Search/browse Workshop items with filters. Titles and short descriptions are untrusted user-authored text.
steam_getLeaderboardEntries Leaderboard scores and rankings, by numeric leaderboardid or leaderboard_name, with optional player names (include_names). Needs a publisher key.
steam_resolveVanityURL Convert vanity URL to 64-bit Steam ID
steam_getSchemaForGame Achievement/stat schema with display names and descriptions; up to 100 achievements, icons on request (limit, include_icons, include_stats)
steam_getPlayerAchievements Per-player achievement unlock status and timestamps
steam_getLeaderboardsForGame List all leaderboards with numeric IDs, names, and sort methods. Needs a publisher key.
steam_getUserStatsForGame A player's stat values and unlocked achievements for an app
steam_getPlayerBans VAC, game, community, and economy bans for up to 100 players
steam_getAppBetas Beta branches, their builds, and password protection. Needs a publisher key.
steam_getAppBuilds Recent build history with descriptions and upload times. Needs a publisher key.
steam_checkAppOwnership Whether a player owns your app, permanently or via Family Sharing, and since when. Needs a publisher key.
steam_getInventory A player's Steam Inventory items for your app. Needs a publisher key with Economy permissions.
steam_getSalesSummary Units and USD revenue for up to 92 days (one quarter), grouped by country, day, month, app, package, or platform, optionally compared with the previous period (compare_previous); JSON or CSV, typed output. Needs a Financial API Group key (STEAM_FINANCIAL_API_KEY).
steam_getChangedSalesDates Dates whose sales data changed since a highwatermark, for incremental sync. Needs a Financial API Group key.
steam_getWishlistReport Wishlist adds, deletes, purchases, gifts, and net change for up to 92 days (GMT), by day, country, or language; JSON or CSV, typed output. Needs a Financial API Group key.
Write Tools (Publisher Key) - 7 tools, plus 2 SDK guides

The five HTTP write tools are in the mutations toolset, which is off unless STEAM_MCP_TOOLSETS names it (or is all). They require a publisher API key with server IP allowlisted in Steamworks partner settings. They default to dry_run: true and require confirm: true to POST. The two SteamPipe tools are in the deploy toolset: it also needs STEAM_MCP_ENABLE_DEPLOY=1, never loads over HTTP, refuses live runs from agent sessions unless STEAM_MCP_ALLOW_AGENT_DEPLOY=1, and never touches the default branch. SDK guides return code examples and make no HTTP calls.

Tool Type Description
steam_updateWorkshopItem HTTP POST Update Workshop item metadata via IPublishedFileService. Default dry_run=true; confirm=true to send. Does not change the store page listing.
steam_setAchievement HTTP POST Set/unlock achievements via ISteamUserStats (dev/test). One achievement or up to 100 achievements per call. Default dry_run=true; confirm=true to send.
steam_clearAchievement HTTP POST Clear/re-lock achievements via ISteamUserStats (dev/test). One achievement or up to 100 achievements per call. Default dry_run=true; confirm=true to send.
steam_uploadLeaderboardScore HTTP POST Upload scores via ISteamLeaderboards. Default dry_run=true; confirm=true to send. A dry run accepts leaderboard_name and shows the resolved ID; the live call takes the numeric leaderboardid.
steam_grantInventoryItem HTTP POST Grant inventory items via IInventoryService. Default dry_run=true; confirm=true to send.
steam_runSteamPipeUpload steamcmd Run steamcmd +run_app_build with the cached login of STEAM_BUILD_ACCOUNT: lints the build, fills ${NAME} IDs from the env into a temp copy, checks the SetLive branch exists, and runs optional gates (clean git tree, HEAD pushed, version not in the ledger, fresh staging). Fails on ERROR! or a missing BuildID even on exit 0; returns BuildID, depot manifests, and a ledger line. Default dry_run=true.
steam_setAppBuildLive HTTP POST Set a build live on a named beta branch via ISteamApps/SetAppBuildLive. Refuses default/public; the dry run shows the branch's current build. Default dry_run=true; confirm=true to send.
steam_createLobby SDK guide Returns C++/C#/GDScript code for ISteamMatchmaking lobby creation. No network call.
steam_uploadWorkshopItem SDK guide Returns code for ISteamUGC Workshop upload workflow. No network call.
Steam API Endpoints (35 endpoints)
Endpoint Auth
store.steampowered.com/api/appdetails None
store.steampowered.com/api/storesearch None
ISteamUserStats/GetNumberOfCurrentPlayers/v1 None
ISteamUserStats/GetGlobalAchievementPercentagesForApp/v2 None
ISteamNews/GetNewsForApp/v2 None
ISteamRemoteStorage/GetPublishedFileDetails/v1 None
IUserReviewsService/GetAppReviews/v1 None
ISteamUserStats/GetGlobalStatsForGame/v1 None
store.steampowered.com/api/featuredcategories None
store.steampowered.com/saleaction/ajaxgetdeckappcompatibilityreport (unofficial) None
IStoreBrowseService/GetItems/v1 (user tags) None
IStoreService/GetTagList/v1 None
IStoreQueryService/Query/v1 (browse by tag, unofficial) None
ISteamUser/GetPlayerSummaries/v2 API key
IPlayerService/GetOwnedGames/v1 API key
ISteamUser/ResolveVanityURL/v1 API key
IPublishedFileService/QueryFiles/v1 API key
ISteamUserStats/GetSchemaForGame/v2 API key
ISteamUserStats/GetPlayerAchievements/v1 API key
ISteamLeaderboards/GetLeaderboardEntries/v1 Publisher key
ISteamLeaderboards/GetLeaderboardsForGame/v2 Publisher key
ISteamApps/GetAppBetas/v1 Publisher key
ISteamApps/GetAppBuilds/v1 Publisher key
ISteamApps/SetAppBuildLive/v2 Publisher key
ISteamUser/CheckAppOwnership/v4 Publisher key
IInventoryService/GetInventory/v1 Publisher key (Economy)
ISteamUserStats/GetUserStatsForGame/v2 API key
ISteamUser/GetPlayerBans/v1 API key
IPartnerFinancialsService/GetDetailedSales/v001 Financial API Group key
IPartnerFinancialsService/GetChangedDatesForPartner/v001 Financial API Group key
IPartnerFinancialsService/GetAppWishlistReporting/v001 Financial API Group key
IPublishedFileService/UpdateDetails/v1 (POST) Publisher key
ISteamUserStats/SetUserStatsForGame/v1 (POST) Publisher key
ISteamLeaderboards/SetLeaderboardScore/v1 (POST) Publisher key
IInventoryService/AddItem/v1 (POST) Publisher key

Configuration

Every setting is an environment variable. Put it in the env block of your client config, next to STEAM_API_KEY. .env.example lists them all, and it also works with docker run --env-file.

Keys and toolsets

Variable Default What it does
STEAM_API_KEY unset Steam Web API key. Needed by about half the tools. Leaderboard, partner, and write tools need a publisher key with the server IP allowlisted.
STEAM_FINANCIAL_API_KEY STEAM_API_KEY Financial API Group key for steam_getSalesSummary, steam_getChangedSalesDates, and steam_getWishlistReport.
STEAM_MCP_TOOLSETS all but mutations and deploy Comma-separated toolsets to load (store, community, publisher, mutations, sdk, assets, build, deploy) or all. See Toolsets.
STEAM_MCP_READ_ONLY unset 1 removes mutations and deploy even if STEAM_MCP_TOOLSETS lists them.

Cache and logging

Variable Default What it does
STEAM_MCP_CACHE_TTL per endpoint Unset: 30s for player counts up to 1h for schemas. 0 disables the cache. Any other number of seconds replaces every TTL.
STEAM_MCP_DEBUG unset 1 logs each Steam request to stderr and MCP logging (see Debugging).
SteamPipe deploys (the deploy toolset)
Variable Default What it does
STEAM_MCP_ENABLE_DEPLOY unset 1 lets the deploy toolset (SteamPipe upload and set-live) load when STEAM_MCP_TOOLSETS names it. Never loads over HTTP.
STEAM_MCP_ALLOW_AGENT_DEPLOY unset 1 allows live deploys when an agent session marker (such as CLAUDECODE) is set. Without it, a person runs live uploads from a terminal.
STEAM_BUILD_ACCOUNT unset steamcmd account name for steam_runSteamPipeUpload (never a password; log in once so the login is cached).
STEAMCMD_PATH steamcmd steamcmd executable.
HTTP transport
Variable Default What it does
STEAM_MCP_TRANSPORT stdio stdio or http. Same as --transport.
HOST 127.0.0.1 HTTP bind address. Same as --host.
PORT 3000 HTTP port. Same as --port.
STEAM_MCP_HTTP_TOKEN unset Bearer token every /mcp request must send (Authorization: Bearer ...), at least 16 characters. Required when --host is not a loopback address.
STEAM_MCP_ALLOWED_HOSTS localhost,127.0.0.1,[::1] Host (and browser Origin) values to accept. A DNS-rebinding guard, not access control. * disables the check.
STEAM_MCP_HTTP_ALLOW_WRITES unset 1 lets the mutations toolset load.
STEAM_MCP_HTTP_ALLOW_ASSETS unset 1 lets the assets and build toolsets (local file access) load.
Partner-admin process (local only)
Variable Default What it does
STEAM_PARTNER_ADMIN unset Partner-admin process only (src/partner/index.ts): must be 1 to start it. Ignored by the default server.
STEAM_PARTNER_COOKIES unset Partner-admin only: path to a cookie-jar file (never a cookie string).
STEAM_PARTNER_PROFILE_DIR unset Partner-admin only: reserved for profile-based sessions, not used yet. The Partner process needs STEAM_PARTNER_COOKIES.

Troubleshooting

Symptom Cause and fix
STEAM_API_KEY environment variable is not set The key is not in the server's env block. Shell exports do not reach servers that your client launches. Add it to the client config and restart the client.
Steam rejected STEAM_API_KEY The key is wrong or revoked. Check it at steamcommunity.com/dev/apikey.
HTTP 401/403 on leaderboard or write tools These need a Steamworks publisher key for an app you own, and your IP on the key's allowlist. A regular user key gets 403.
"profile or game details are private" The player's Steam privacy settings hide this data. Nothing on your side can change that.
A write tool such as steam_setAchievement is missing Live-mutation tools are off by default. Set "STEAM_MCP_TOOLSETS": "all" in env.
steam_runSteamPipeUpload or steam_setAppBuildLive is missing The deploy toolset needs both STEAM_MCP_TOOLSETS naming it (or all) and STEAM_MCP_ENABLE_DEPLOY=1, and never loads over HTTP. The server's startup log says which gate held it back.
A live upload is refused from an agent session By design: an agent marker such as CLAUDECODE is set. Run the printed steamcmd command yourself, or set STEAM_MCP_ALLOW_AGENT_DEPLOY=1 if you want agents to deploy.
Old behavior after an update npx is serving a cached copy. Use @tmhs/steam-mcp@latest in args, or run npm cache clean --force.
Server fails to start on Windows Some clients cannot spawn npx directly. Use "command": "cmd" and "args": ["/c", "npx", "-y", "@tmhs/steam-mcp"]. In JSON, write Windows paths with \\ or /.
Anything else Set "STEAM_MCP_DEBUG": "1" and check the server's stderr log (see Debugging).

Debugging

Set STEAM_MCP_DEBUG=1 in the server's env block. The server then writes one line per Steam request to stderr (stdout is the MCP channel), and also sends it to clients that show MCP server logs:

[steam-mcp] vX.Y.Z started: toolsets store,community,publisher,sdk,assets (N tools), STEAM_API_KEY set
[steam-mcp] GET api.steampowered.com/ISteamUserStats/GetNumberOfCurrentPlayers/v1/ ?appid -> 200 in 381ms (attempt 1)
[steam-mcp] GET store.steampowered.com/api/appdetails ?appids -> 429 in 95ms (attempt 1)
[steam-mcp] GET store.steampowered.com/api/appdetails rate limited, retrying in 1000ms

The first line gives the running version, the loaded toolsets with their tool count, and whether STEAM_API_KEY is set. Only query parameter names are logged, never values, so the API key cannot appear in a log. Logs are safe to paste into an issue.

Public GET responses are cached briefly (30 seconds for player counts, up to an hour for achievement schemas), and requests to each Steam host are rate-limited so bursts queue instead of hitting a 429. Set STEAM_MCP_CACHE_TTL=0 to turn the cache off.

Development

npm run dev            # Watch mode with auto-reload
npm run build          # Compile TypeScript to dist/
npm start              # Run the compiled server
npm test               # Run all tests (vitest)
npm run test:coverage  # Tests with the coverage floor CI enforces
npm run typecheck      # Type-check src including tests
npm run contract       # Live calls to every no-auth tool (after npm run build)
npm run site           # Regenerate the GitHub Pages HTML in docs/ (commit it)

Docs are tested against the code: a new tool fails npm test until it has a README row, the counts match, and the site is regenerated. See CONTRIBUTING.md for how to add a tool and send a PR.

Partner-admin tools (local only, at your own risk)

Partner-admin tools (steam_partnerLogin, steam_uploadStoreImage, steam_uploadTrailer) are not registered by this package's default bin and are not in the npm tarball. They live in src/partner/ for local use only (STEAM_PARTNER_ADMIN=1 plus STEAM_PARTNER_COOKIES, a cookie-jar path outside the repo). steam_uploadTrailer is plan-only: live trailer upload is not implemented and returns [NOT_IMPLEMENTED]. There is no Publish tool.

Use them at your own risk. Valve publishes no API for store image upload. These tools post to the Steamworks partner site's own form fields with your logged-in session. Valve can change those fields without notice, and automated use of the partner site may not be allowed by the Steamworks terms you agreed to. Read those terms before you use them, check every upload on the partner site, and use the manual upload in Steamworks if you are unsure. steam_validateStoreAsset and steam_validateStoreAssetDir check your images without any of this.

Related

  • Steam Developer Tools: a Cursor plugin with 30 skills and 9 rules for Steamworks development. Its skills call these tools for live data.

Support the project

If the server saves you or your studio time, you can fund its development through GitHub Sponsors. Bug reports and feature requests go in Issues.

License

CC BY-ND 4.0. See LICENSE.

  • You can install and run the server for any purpose, including at a studio and for commercial games, and share unmodified copies with credit.
  • You can't distribute modified versions or forks of the server.

Versions 0.9.0 and earlier were released under CC BY-NC-ND 4.0, which did not allow commercial use. Steam and Steamworks are trademarks of Valve Corporation; this project is not affiliated with Valve.


Built by TMHSDigital

About

MCP server for Steam & Steamworks: 45 tools for store data, player counts, reviews, pricing, achievements, Workshop, leaderboards, sales, wishlists, and SteamPipe builds. Most need no API key; writes are dry runs until confirmed.

Topics

Resources

Contributing

Security policy

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages