Skip to main content
Glama
Probably Stolen MCP

Probably Stolen MCP

by ctsquire

Probably Stolen MCP

A local companion for Probably Stolen – Cyberpunk Shopkeeper Sim. It works with MCP clients that launch local servers over standard input and output. Reference tools work while the game is closed. Live tools communicate with an installed mod through the game's ModData folder and use the game's own methods.

Tool

What it does

search_wiki

Finds items, characters, mechanics, and guides on the Probably Stolen Wiki.

get_wiki_page

Returns item facts, section links, excerpts, and sample table rows. Pass section to focus on a heading such as Obtaining.

get_install_info

Checks the configured game folder, finds Steam, and reports where achievement definitions will be read from.

list_achievements

Reads achievement definitions from Steam’s local cache. Set includeHidden to true to allow hidden entries.

get_live_shop

Reads day, credits, customer, available actions, and after-hours status, including departure blockers and search risks.

call_next_customer

Calls a customer when the game allows it. Requires the active shop token from get_live_shop.

dismiss_current_customer

Dismisses the customer at the counter. Requires the shop and customer tokens from get_live_shop.

report_current_customer

Uses the counter alarm on the current customer. An optional reason checks for stolen goods or serious contraband first.

shotgun_action

Equips, fires, or holsters the shop shotgun. Equipping and firing require the current customer token.

list_live_inventory

Lists owned shop items and containers, or ground loot, pockets, and backpack storage at the Dumping Ground.

move_item

Moves a whole item stack or a specified quantity to a different listed container when a legal slot is available.

shop_day_action

Closes the morning report, opens or closes the shop, or sleeps and saves.

complete_trade

Completes the currently negotiated purchase or sale, guarded by customer token and expected price.

select_customer_offer

Moves a seller’s offered item to the scale or selects an item already on the scale.

dialogue_action

Advances the current line or selects a displayed response.

pay_rent

Selects the Landlord’s pay-rent response at the quoted amount.

buy_property

Selects the Landlord’s buyout response at the quoted price.

phone_action

Lists in-game contacts, dials a contact, or hangs up.

wild_network_action

Lists available upgrades, buys at the quoted price, or closes Wild’s Network.

select_outing_backpack

Selects an owned backpack to equip on departure.

afterhours_action

Visits the Dumping Ground, the Commissary, or Dr. Jackson. It also searches once at the Dumping Ground or returns to the shop.

fish_tank_action

Inspects, opens, or closes an owned aquaculture system and reports water, power, live stock, and storage slot IDs.

set_game_status

Shows a short progress message at the top center of the screen. It clears automatically or when passed empty text.

load_save_slot

Loads an existing slot from the main menu.

return_to_main_menu

Returns from the game's ending screen to the main menu.

quit_game

Exits the loaded game on explicit request. Changes since the last save are discarded.

Wiki tools need internet access and may describe a different game build. Achievement results describe unlock requirements and contain no player progress.

Achievements come from the schema Steam caches at <Steam>\appcache\stats\UserGameStatsSchema_4348910.bin. Steam downloads it the first time you launch the game through Steam. The server finds Steam through the registry and the usual install folders; set STEAM_DIR if yours is elsewhere. If the schema is missing, it falls back to a steam_settings\achievements.json file in the game folder when one exists.

Use the included version 11 bridge for the current tool set. get_live_shop reports the running version. Replace the installed bridge DLL and restart the game after upgrading.

Enable live controls

  1. Put manifest.xml and ProbablyStolenMcpBridge.dll from game-bridge into Mods\ProbablyStolenMcpBridge under the game install. The included DLL was tested with the Windows build that reports version 0.46D. Rebuild against your local game assemblies if the APIs differ.

  2. In the game, open Mods and enable Probably Stolen MCP Bridge, then restart the game. This uses the normal mod activation flow.

  3. Load a shop and start a new Codex chat so it picks up the new MCP tools. Ask it to read the live shop. To try an action, ask it to call the next customer when the counter is ready.

You can turn off live controls from the game's Mods menu. The bridge operates inside the game and uses its own mod data folder for short-lived requests and replies.

To try an item transfer, ask Codex to list your live inventory. Then name an item and where it should go, such as “Move one water filter to the front counter.” The game picks a legal slot in the destination. The tool returns the number of units it moved. Read the inventory again before each move because item and container IDs belong to the latest inventory snapshot.

Related MCP server: rbxmcp

Scavenge after closing

  1. Close the shop and check canVisitDumpingGround in get_live_shop. Pick an item marked canBeOutingBackpack with select_outing_backpack if you want more carrying space.

  2. Call afterhours_action with visit_dumping_ground. Read the live shop until outingLocation is dumping_ground and the transition has finished.

  3. Check canSearchDumpingGround, searchesLeft, and the wound chances. Use search_dumping_ground for each search. List the inventory and move useful finds from After-hours / Ground to a pocket or your backpack’s storage.

  4. Use return_to_shop and confirm arrival in get_live_shop. If you choose to leave items behind, pass the current groundStacks count as leaveGroundCount.

For other outings, check canVisitCommissary or canVisitDoctor. The matching blocker fields explain when a route is unavailable. The game decides when each location is discovered and open.

Inspect a fish tank

List ras in the live inventory and use the selected Recirculating Aquaculture System's item ID and snapshot with fish_tank_action. The inspect action reads tank status. The open and close actions update the actual window and report its visibility. One inventory snapshot can identify several tanks until another inventory listing or item move replaces it.

Use the alarm or shotgun

Check canReportCustomer in get_live_shop before using the alarm. Omit the reason to let the game evaluate the report. Pass stolen_goods to require offerStolenItem or contraband to require offerSeriousContrabandItem on the counter. The game handles the customer's response, the reward, and any false-report fine.

For a suspected Aug, equip the unlocked shotgun with shotgun_action and the current customer token. Wait until canFireShotgun is true, then use the same token to fire. The game resolves the shot and its consequences. Use holster to put the shotgun away.

Handle visitors and rent day

Read dialogueChannel, dialogueLine, and dialogueChoices in get_live_shop. Use dialogue_action with the current dialogueToken to advance a counter or phone line or choose a displayed response. If a seller has several items, use the current offer token and item ID to select one on the scale, then read its negotiated price before buying.

rentAmount, daysUntilRent, and mortgage status come from the loaded save. On a rent visit, advance the Landlord’s dialogue until canPayRentNow or canBuyProperty is true. Send the exact amount shown in get_live_shop. For a Loan Shark visit, use the responses the game displays. A buyout is complete when the game sets propertyPaid.

Use phone_action to list answering contacts and dial a number. After calling Joe Wild’s assistant on 8376, choose the response for browsing services. Once the Network is open, wild_network_action returns its upgrade list and prices. Purchases spend Wild’s favor first and pay any remainder in credits.

Connect to Codex

Install Node.js 22.18 or newer and run these commands in PowerShell from the cloned repository. npm install also compiles the TypeScript sources into dist. Provide the folder containing Probably Stolen.exe, then start a new Codex session after registration. Codex MCP documentation

npm install
$gameDir = (Resolve-Path -LiteralPath (Read-Host 'Probably Stolen install directory')).Path
$serverPath = (Resolve-Path -LiteralPath 'dist\main.js').Path
$nodePath = (Get-Command node.exe).Source
codex mcp add probably-stolen --env "PROBABLY_STOLEN_GAME_DIR=$gameDir" -- $nodePath $serverPath

Try asking “Use the Probably Stolen MCP to find where I can buy a Water Purifier” or “Show me the achievements in my install.”

Connect to Claude Desktop

Run npm install as above, then add the server to claude_desktop_config.json (Settings → Developer → Edit Config in Claude Desktop) and restart Claude. Use your own paths; backslashes must be doubled in JSON.

{
  "mcpServers": {
    "probably-stolen": {
      "command": "node",
      "args": ["C:\\path\\to\\probably-stolen-mcp\\dist\\main.js"],
      "env": { "PROBABLY_STOLEN_GAME_DIR": "C:\\path\\to\\Probably Stolen" }
    }
  }
}

Use another client or move the server

On a fresh copy, install Node.js 22.18 or newer and run npm install from the project folder. Configure your client to launch node with the absolute path to dist/main.js as its sole argument. Set PROBABLY_STOLEN_GAME_DIR in the server environment to the folder containing Probably Stolen.exe. Leave it unset if you only need the wiki and achievements. Set STEAM_DIR if Steam is not in its usual folder.

The server finds the bridge's request folder under %USERPROFILE%\AppData\LocalLow\Questing Goose Studio\Probably Stolen\ModData. Set PROBABLY_STOLEN_BRIDGE_DIR to use a different folder, for example when the game runs under Proton.

Develop

The server is written in TypeScript (src/) with strict compiler settings, linted with ESLint and typescript-eslint, and tested with the Node.js test runner. GitHub Actions runs every check on each push.

Command

What it does

npm run build

Compiles src into dist.

npm run typecheck

Type-checks the sources and tests.

npm run lint

Lints with the strict type-checked rule set.

npm test

Runs the unit tests and an in-memory MCP session against a fake game bridge. Probably Stolen does not need to be running.

npm run check

Runs the type check, lint, and tests together.

Module

Responsibility

src/main.ts

Entry point: wires real dependencies and serves over stdio.

src/server.ts

Registers every MCP tool.

src/game-tools.ts

Live tool schemas and their mapping to bridge commands.

src/bridge-client.ts

File-based request queue shared with the game mod.

src/wiki.ts

Wiki search and page parsing.

src/install.ts

Local install and achievement lookups.

Rebuild the game mod on Windows from your installed game assemblies. Run the following from the repository root with $gameDir set as above.

.\game-bridge\build.ps1 -GameDirectory $gameDir

Change dependencies in package.json, then run Update lockfile from the repository's Actions tab to refresh package-lock.json.

License

MIT. See LICENSE. Probably Stolen and its assets belong to their respective owners; this project ships no game files.

Available Tools

26 tools
afterhours_actionTravel, scavenge, or return after closingA
Destructive

Read get_live_shop before acting. Visit the Dumping Ground, the Commissary, or Dr. Jackson if the game allows that route. Search at the Dumping Ground or return from an outing. Pack loot with list_live_inventory and move_item first. Pass the exact current groundStacks as leaveGroundCount if deliberately leaving loot behind. Refresh status to verify arrival.

Inputs: action (required), shopSession (required), leaveGroundCount.

buy_propertyBuy the shop property outrightA

Select the Landlord’s displayed buyout response and pay the exact propertyPrice from get_live_shop. Wait for canBuyProperty and verify propertyPaid after the action.

Inputs: shopSession (required), expectedPrice (required).

call_next_customerCall the next Probably Stolen customerA

Call the next customer in the active shop. First use get_live_shop and pass its shopSession only if canCallNext is true. Call only when the user requests gameplay.

Inputs: shopSession (required).

complete_tradeComplete the current negotiated tradeA

Buy or sell the currently negotiated item using the game rules. First inspect get_live_shop and provide the exact current customer token and price. Refresh after each attempt.

Inputs: direction (required), shopSession (required), customerToken (required), expectedPrice (required).

dialogue_actionAdvance a line or select a displayed responseA
Destructive

Read the current line, speaker, dialogueToken, and dialogueChoices in get_live_shop. Advance one step or select an enabled choice by choiceId. Refresh after every action because the conversation can advance on its own.

Inputs: action (required), shopSession (required), dialogueToken (required), choiceId.

dismiss_current_customerDismiss the current Probably Stolen customerA
Destructive

Dismiss the current customer without calling another. First use get_live_shop and pass its shopSession and customerToken only if canDismiss is true. Call only when the user requests gameplay.

Inputs: shopSession (required), customerToken (required).

fish_tank_actionInspect, open, or close an aquaculture tankC
Idempotent

Choose an owned Recirculating Aquaculture System from the latest list_live_inventory. Returns window visibility, live stock, water volume and required amount, waste percentage, power, and container IDs for the fish grid, water slot, and feed dispenser slot.

Inputs: action (required), itemId (required), shopSession (required), inventorySnapshot (required).

get_install_infoCheck the local Probably Stolen installB
Read-only

Identify the configured game install and the Steam folder, and report where achievement definitions will be read from.

Inputs: no named parameters.

get_live_shopRead the live Probably Stolen shopA
Read-only

Read the running game directly through the in-game bridge. Returns current dialogue, choices, rent and mortgage status, customer offers and trades, security actions, and after-hours status.

Inputs: no named parameters.

get_wiki_pageLook up a Probably Stolen Wiki pageA
Read-only

Read game facts, sections, and sample table rows from a wiki page by title. Pass a section title such as Obtaining or Usage to focus the lookup.

Inputs: title (required), section.

list_achievementsFind local Probably Stolen achievementsA
Read-only

List achievement definitions from Steam’s local copy of the game’s achievement schema. Search by ID, title, or description. Hidden achievements are omitted by default. These are definitions only, not unlock progress.

Inputs: query, includeHidden.

list_live_inventoryList owned items and containers in the live gameA
Read-only

At the shop, read inventory, counters, display case, and owned storage. At the Dumping Ground, read ground loot, pockets, and backpack storage. Search by item name, identifier, or container. Use the returned shopSession, inventorySnapshot, itemId, and destination containerId with move_item.

Inputs: limit, query, offset.

load_save_slotLoad a game save slotA

Load an existing save slot from the main menu. Specify a known slot number; the game must be on the main menu and not already in a shop.

Inputs: slot (required).

move_itemMove an item between Probably Stolen containersA

Transfer an owned item or part of its stack into a different listed container using normal game placement rules. Omit quantity for the whole stack. Use matching IDs from the latest list_live_inventory result. Read the inventory again after every move, including a partial move. Only call this tool when the user requests gameplay.

Inputs: itemId (required), shopSession (required), destinationId (required), inventorySnapshot (required), +1 more.

pay_rentPay the Landlord’s quoted rentA

Pay rent through the current Landlord conversation. Read get_live_shop for canPayRentNow, rentAmount, and the current dialogueToken. The amount must still match the game’s quote.

Inputs: shopSession (required), dialogueToken (required), expectedPrice (required).

phone_actionRead contacts, dial, or close the in-game phoneB

List current contacts and whether they answer, dial an in-game number when canDialPhone is true, or hang up. Read the live dialogue after dialing to select the contact’s responses.

Inputs: action (required), shopSession (required), number.

quit_gameExit Probably StolenA
Destructive

Exit the running game, discarding changes since the last save. Only use if the user explicitly requests exiting or restarting; pass the current shop session.

Inputs: shopSession (required).

report_current_customerUse the in-game alarm on the current customerA
Destructive

Press the alarm for a customer when canReportCustomer is true. A report without a reason is evaluated by the game and can result in a fine. Optionally pass stolen_goods or contraband to require matching evidence on the counter before pressing the alarm. Read get_live_shop for offer evidence and both current tokens.

Inputs: shopSession (required), customerToken (required), reason.

return_to_main_menuReturn from the ending screen to the main menuB

After a run ends, return to the main menu when canReturnToMenu is true. Wait for get_live_shop to report the shop is unloaded before loading a save.

Inputs: shopSession (required).

search_wikiSearch the Probably Stolen WikiB
Read-only

Find in-game items, machines, NPCs, guides, and mechanics. Returns titles, short snippets, and source URLs.

Inputs: query (required), limit.

select_customer_offerSelect a customer’s offered item on the scaleA

Use the current customerToken, offerToken, and an offerId marked canSelect in get_live_shop. Moves a customer-owned item from their counter to the scale or selects it if already on the scale. Read the resulting negotiation before buying.

Inputs: offerId (required), offerToken (required), shopSession (required), customerToken (required).

select_outing_backpackChoose a backpack for the next outingA

While the shop is closed, select an owned backpack from the latest list_live_inventory result. The item must have canBeOutingBackpack set. The game equips it when you leave.

Inputs: itemId (required), shopSession (required), inventorySnapshot (required).

set_game_statusShow a brief MCP status in the gameA

Display a short player-facing update about the current action, next step, or result in a small in-game box. The box does not intercept clicks and clears after the duration. Pass an empty text to clear immediately.

Inputs: shopSession (required), text, seconds.

shop_day_actionOperate the shop dayA

Close the nightly report, open the shop, close an empty shop, or sleep and save. Read get_live_shop first. Before sleeping, check canSleep, outingsLeft, and canVisitDumpingGround. Sleep advances the game and saves.

Inputs: action (required), shopSession (required).

shotgun_actionEquip, fire, or holster the in-game shop shotgunA
Destructive

Use the shop shotgun for suspected Augs. Read get_live_shop and equip with its current customer token when canEquipShotgun is true. Wait for canFireShotgun and use the same token to fire, or holster. The game determines whether the customer was an Aug and applies the outcome.

Inputs: action (required), shopSession (required), customerToken.

wild_network_actionList, buy, or close upgrades in Wild’s NetworkA

Use the Network once Wild opens it during a visit or phone call. List upgrades to see IDs, prices, and availability. Purchase an available upgrade at the exact listed price. Wild’s favor is used before cash.

Inputs: action (required), shopSession (required), upgradeId, expectedPrice.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 26 tools

    Disambiguation4/5

    Most tools target a clearly distinct game interaction (customers, rent, trade, phone, wiki, inventory), and descriptions reinforce preconditions like required tokens and flags. Some boundaries blur between lifecycle tools (quit_game vs return_to_main_menu vs load_save_slot) and between the 'action' wrappers (shop_day_action vs afterhours_action vs fish_tank_action), which an agent could misorder, but each remains largely identifiable.

    Naming Consistency3/5

    The surface is snake_case throughout with a verb-first majority (list_live_inventory, move_item, pay_rent, buy_property). However a sizeable minority use a noun_action pattern (shotgun_action, shop_day_action, afterhours_action, fish_tank_action, dialogue_action, phone_action, wild_network_action), so the verb_noun convention is not reliably predictable.

    Tool Count3/5

    26 tools is heavy for a single-game bridge and pushes past the comfortable 3-15 band, especially since several are thin wrappers over one shared state read. The depth of the simulated shop (inventory, customers, outings, phone, network, property) justifies breadth, but consolidation of the action wrappers would help.

    Completeness4/5

    The surface covers the core loop well: live state read, inventory movement, customer calling/dismissal/reporting/shotgun, trade negotiation, rent, property, phone, network, outings, day cycle, save/load, and quit, plus wiki lookups. The main gap is the fish tank, which can only be inspected (no feeding, stocking, or harvesting operations), and achievements are read-only definitions with no progress tooling.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Provides Roblox game inspection and manipulation capabilities through MCP, including exploring the instance hierarchy, editing properties, decompiling scripts, and interacting with remote events.
      1
      -
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables MCP clients to connect to The Farmer Was Replaced through a local BepInEx bridge, providing live game state, inventory, unlocks, save management, script read/write/run, recipe lookup, and documentation access.
      2
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables MCP clients to research game mods by searching documentation and definitions, inspecting dependencies and playsets, validating saved files with structural and Tiger checks, and preparing or editing mod content with preview and write controls. It also supports starting or previewing the game through a local stdio connection.
      9 npm
      GPL 3.0