1. Conduid
  2. Developer Tools
  3. Poker Arena Agent
MCP server · Developer Tools

Poker Arena Agent

AI-powered Texas Hold'em poker agent for Monad blockchain Gaming Arena

Unclaimed last commit 7 months ago devtools
48Fair

Scored 4 months ago · breakdown

About Poker Arena Agent

Poker Arena Agent is an MCP server published by Nalmuk1245 in the Developer Tools category: aI-powered Texas Hold'em poker agent for Monad blockchain Gaming Arena. It has been installed 0 times through Conduid.

The repository has 2 stars and 0 forks, with the last commit 7 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues (0) before depending on it in production.

Install

Install
npx poker-arena-agent

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

Ask AI about Poker Arena Agent

Powered by Claude · Grounded in docs

I know everything about Poker Arena Agent. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ·README presentNot checked yet.
  • ·License declaredNot checked yet.
  • ·Tests presentNot checked yet.
  • ·Dependencies pinnedNot checked yet.
  • ·No dynamic code executionNot checked yet.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

README

Poker Arena Agent

AI-powered Texas Hold'em poker agent that competes on the Monad blockchain with real token wagers, adaptive strategy, and bankroll management.

Features

  • Monte Carlo Equity Engine — 5,000-iteration simulations for accurate hand strength estimation
  • 4-Archetype Opponent Modeling — Classifies opponents as ROCK / TAG / LAG / Calling Station and adapts play accordingly
  • GTO-Based Bluffing — Game-theory optimal bluff frequencies adjusted per opponent tendencies
  • Kelly Criterion Bankroll Management — Fractional Kelly sizing with loss-streak dampening and stop-loss
  • Self-Evolving Strategy — Automatically tunes aggression, bluff frequency, and risk parameters based on match history
  • On-Chain Commit-Reveal — Fair deck shuffling via dual-seed commitment; hand verification at showdown
  • MCP Server — 10-tool Model Context Protocol server for Claude Desktop integration
  • Moltbook Social — Posts game results, trash-talks opponents, and issues open challenges

Architecture

agent/src/
├── blockchain/          # Contract interaction, event listening, game actions
├── engine/              # Dealer, Deck, HandEvaluator, OddsCalculator, GameRules
├── strategy/            # StrategyEngine, OpponentModel, BluffEngine, EVCalculator,
│                        # BankrollManager, StrategyEvolver
├── social/              # Moltbook API client
├── types/               # TypeScript interfaces (cards, game, strategy)
├── utils/               # Logger (Winston)
└── index.ts             # Main agent entry point

contracts/
├── core/
│   ├── PokerGame.sol    # Game lifecycle, betting, commit-reveal
│   └── TokenVault.sol   # Wager escrow & payouts (ReentrancyGuard)
└── libraries/
    └── GameStructs.sol  # Shared enums & structs

mcp/src/
└── index.ts             # MCP server (stdio transport, 10 tools)

scripts/
├── deploy.ts            # Contract deployment to Monad
├── runMatch.ts          # AI vs AI match runner
└── simulateGames.ts     # Offline simulation

Prerequisites

  • Node.js >= 18
  • npm
  • A Monad testnet wallet with MON tokens

Setup

  1. Install dependencies
npm install
  1. Configure environment
cp .env.example .env

Edit .env with your values:

PRIVATE_KEY=your_private_key_here
MONAD_RPC_URL=https://testnet-rpc.monad.xyz
POKER_GAME_ADDRESS=
TOKEN_VAULT_ADDRESS=
LOG_LEVEL=info
MOLTBOOK_API_KEY=
MOLTBOOK_AGENT_NAME=PokerArenaMolty
  1. Compile contracts
npm run compile
  1. Deploy contracts (testnet or local)
# Monad testnet
npm run deploy:testnet

# Local Hardhat node
npm run deploy:local

Copy the output addresses into your .env:

TOKEN_VAULT_ADDRESS=0x...
POKER_GAME_ADDRESS=0x...

Usage

Run the Agent

npm run agent

The agent will continuously look for open games, join or create matches, and play autonomously.

Run a Simulation

npm run simulate

Run an AI vs AI Match

npm run match

Run Tests

npm run test

MCP Server (Claude Desktop)

The MCP server exposes 10 tools for interacting with the agent through Claude Desktop.

Build & Start

npm run mcp:build
npm run mcp:start

Claude Desktop Configuration

Add to your Claude Desktop config (claude_desktop_config.json):

{
  "mcpServers": {
    "poker-arena": {
      "command": "node",
      "args": ["<path-to-project>/mcp/build/mcp/src/index.js"]
    }
  }
}

Available Tools

Tool Description
get_mon_balance Check MON balance on Monad testnet
run_simulation Offline poker simulation vs bot archetypes
run_match AI vs AI poker match with hand display
analyze_opponent View learned opponent profile
post_to_moltbook Post to Moltbook social network
check_moltbook_feed Get latest Moltbook posts
search_moltbook Semantic search on Moltbook
post_poker_challenge Post open poker challenge
play_poker Full match with analysis and Moltbook posting
evolution_status Check strategy evolution parameters

Strategy Overview

The agent follows a 6-step decision process each turn:

  1. Equity Calculation — Monte Carlo simulation (5,000 iterations) estimates win probability
  2. Opponent Adjustment — Equity adjusted based on classified archetype (+5% vs ROCK, -5% vs Calling Station, etc.)
  3. EV Calculation — Expected value computed for fold, call, and raise
  4. Bluff Check — GTO bluff frequency with semi-bluff preference (flush/straight draws)
  5. Bankroll Sizing — Kelly Criterion determines max bet, capped by risk parameters
  6. Decision — Best action selected from EV analysis, bluff opportunities, and hand strength

Self-Evolution

The StrategyEvolver monitors performance every N games and auto-tunes:

  • Monte Carlo simulation count (1,000–8,000)
  • Bluff multiplier (0.2–2.0)
  • Value bet threshold (45–75%)
  • Aggression factor (0.5–1.5)
  • Kelly fraction (0.2–0.7)

Smart Contracts

PokerGame.sol manages the full game lifecycle:

  • WAITING → PREFLOP → FLOP → TURN → RIVER → SHOWDOWN → COMPLETE
  • Dual-seed commit-reveal for provably fair deck shuffling
  • Hand commit-reveal for trustless showdown verification
  • 5-minute timeout protection
  • On-chain leaderboard (wins, losses, total wagered)

TokenVault.sol handles escrow:

  • Wager deposits with per-game accounting
  • Winner-take-all and split-pot payouts
  • Refunds for cancelled games
  • Reentrancy protection (OpenZeppelin)

Tech Stack

  • TypeScript / Node.js
  • Hardhat — Solidity compilation, testing, deployment
  • ethers.js — Blockchain interaction
  • pokersolver — Hand evaluation
  • OpenZeppelin — Smart contract security
  • Winston — Logging
  • @modelcontextprotocol/sdk — MCP server
  • Monad — L1 blockchain (testnet chain ID 10143)

License

MIT

README mirrored from the source repository 4 months ago. The original is authoritative.

Questions

About Poker Arena Agent

How do I install Poker Arena Agent?

Run npx poker-arena-agent, then add the server to your MCP client's configuration. Conduid has recorded 0 installs, so the command is known to work with current clients.

Is Poker Arena Agent safe to use with an AI agent?

Its trust score is 48 out of 100 (fair). It passes 0 of 1 static security checks; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Poker Arena Agent still maintained?

The last commit was 7 months ago, with 0 open issues. That's long enough that you should check whether the maintainer is responding to issues before depending on it.