Atlas / MCP servers / arcadi4 / balatro-agent

balatro-agentSAFE

mcp/arcadi4/balatro-agent

Let AI play Balatro

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
21 19r · 2w · 0d
Transport
stdio
License
MIT
Stars
20
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

English | 简体中文

[](https://www.npmjs.com/package/balatro-mcp) [](https://nodejs.org) [](https://bun.sh) [](https://www.typescriptlang.org) [](https://modelcontextprotocol.io) [](https://github.com/Steamodded/smods)

Let an AI agent play Balatro. Balatro Agent connects any MCP-compatible AI client to a running game. The agent can read live state, pick blinds, play and discard hands, buy jokers, and perform any action available to a human player. It needs no screen capture or vision model; everything works through text tool calls.

[!IMPORTANT] Balatro v1.1 is coming. I will try to provide support asap when its released. Any release after that will not guarantee compatibility with the v1.0 game.

Requirements

Install

1. Install Lovely and SMODS

Follow the SMODS installation guide for your platform. This step is the same for every Balatro mod.

#

Read from source at commit cb8e44048bb2OBSERVED · 2026-10-10
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.

claude-code
claude mcp add balatro-mcp -- npx -y [email protected]
claude-desktop
{
  "mcpServers": {
    "balatro-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ]
    }
  }
}
03

Exposed tools (21)

19 read · 2 write · 0 destructive.

ToolRiskDescription
antewriteAnte overview readable throughout a run: the Small, Big, and Boss blinds with chip targets, skip rewards, on-deck blind, boss reroll cost, and queued tags.
balatro_buy_consumableread
balatro_new_gameread
balatro_reorder_handread
balatro_reorder_jokersread
balatro_select_booster_cardread
balatro_select_hand_cardsread
balatro_sort_handread
balatro_use_consumableread
balatro_wiki_searchread
boosterreadCurrently open booster pack: kind, picks remaining, and options. Errors UNAVAILABLE when no pack is open.
connectread
consumablesreadHeld Tarot, Planet, and Spectral cards with usability status.
deckreadBalatro-style Remaining and Full Deck views with base/effective rank, suit, and card-type tallies; face-down remaining cards count as unknown.
disconnectread
handreadCurrent hand cards with card IDs, modifiers, and selection state, listed left to right in play/scoring order; face-down cards are hidden.
jokersreadOwned jokers with editions, costs, and live effect descriptions; face-down jokers are hidden.
new_postgameread
runwriteRun-level facts: ante, money, poker-hand levels with play counts, vouchers, queued tags, discard pile, challenge, disabled entities, and endless mode.
shopreadShop contents while the shop is open: cards, vouchers, boosters, and reroll cost. Errors UNAVAILABLE outside the SHOP phase.
turnreadLive turn snapshot: phase, ante, money, round progress, legal actions, hand with selected cards, jokers, and consumables.
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (10 observation(s))
Network
declared (2 observation(s))
Shell
none-observed
Dependencies
not all pinned
Secrets in source
none-found

Findings (7)

LOWInventory / provenance · inv.hidden_file · CWE-1104
mcp/.oxfmtrc.json
.oxfmtrc.json
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
mcp/src/resources/cardModifiers.ts:3
import editionsMarkdown from "../../data/card_modifiers/editions.md" with { type: "text" }
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
mcp/src/resources/cardModifiers.ts:4
import enhancementsMarkdown from "../../data/card_modifiers/enhancements.md" with { type: "text" }
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
mcp/src/resources/cardModifiers.ts:5
import indexMarkdown from "../../data/card_modifiers/index.md" with { type: "text" }
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
mcp/src/resources/cardModifiers.ts:6
import sealsMarkdown from "../../data/card_modifiers/seals.md" with { type: "text" }
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
mcp/src/resources/cardModifiers.ts:7
import stickersMarkdown from "../../data/card_modifiers/stickers.md" with { type: "text" }
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
mcp/package.json
@modelcontextprotocol/server, rehype-parse, rehype-remark, remark-gfm, remark-stringify, unified, unist-util-visit, zod
Why it matters. 13 dependency range(s) float
Fix. pin exact versions or ship a lockfile

Gates applied: no_behavioural_pass.

Audited 2026-10-10 · audit v0.4.1 · source sha cb8e44048bb2full audit observations/trust-audit/mcp-server/arcadi4__balatro-agent.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-10cb8e44048bb2SAFEB89first audit
06

Questions

What is the balatro-agent MCP server?

Let AI play Balatro

What tools does balatro-agent expose?

21 in total: 19 read-only, 2 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is balatro-agent safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.

What credentials does balatro-agent need?

No credential environment variables were found in its source, so it appears to need none.

How does balatro-agent run?

It speaks stdio, so it runs as a local process your client starts. It is published on npm as balatro-mcp at 0.2.5.

How current is this page?

The grade is for one exact copy of the source (cb8e44048bb2), read on 2026-10-10. The repository is watched and re-audited when it changes.

Advertisement