Back to Home
softwarewrighter icon

game-mcp-poc

Verified Safe

by softwarewrighter

Overview

This project implements a Tic-Tac-Toe game with dual interfaces (web UI and MCP server) for human and AI agent interaction, including trash talk.

Installation

Run Command
./scripts/serve.sh

Environment Variables

  • GAME_DB_PATH
  • RUST_LOG
  • PORT
  • OPENAI_API_KEY
  • GOOGLE_API_KEY
  • CORS_ORIGIN

Security Notes

No 'eval' or obvious malicious patterns found. Hardcoded secrets are not present in the Rust code; AI agent examples explicitly rely on environment variables (e.g., OPENAI_API_KEY, GOOGLE_API_KEY). Network exposure on port 3000 (HTTP API, SSE, HTTP MCP endpoint) and default permissive CORS (allow_origin(Any)) are typical for development but require hardening (e.g., specific CORS_ORIGIN, rate limiting) for production deployment, as acknowledged in the documentation. Database path configurability is good, but misconfiguration could lead to risks if 'GAME_DB_PATH' points to an insecure or sensitive location on the host system.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassLow
Avg Tokens50
Stars0
Forks1
Last Update2025-11-20

Tags

Tic-Tac-ToeMCPAI AgentRustWebAssembly