{
  "markdown": "\n<p align=\"center\">\n  <a href=\"https://ainpcengine.com\">\n    <img src=\"https://prodmedia.tyga.host/public/tyga.cloud/landing/ainpcengine.com/ainpcengine-hero-1.jpg\" alt=\"AINPCEngine — AI-powered NPCs with persistent memory\" width=\"100%\">\n  </a>\n</p>\n\n<h1 align=\"center\">ainpc — AINPCEngine CLI & MCP Server</h1>\n\n<p align=\"center\"><b>Create, talk to, and manage AI-powered NPCs from the command line. Built for coding agents.</b><br>\nNPCs that remember players across sessions, react to game events, and stay in character — powered by <a href=\"https://ainpcengine.com\">AINPCEngine</a>.</p>\n\n<p align=\"center\">\n  <a href=\"https://ainpcengine.com\">Website</a> ·\n  <a href=\"https://ainpcengine.com/docs\">Docs</a> ·\n  <a href=\"https://ainpcengine.com/demo\">Live Demo</a> ·\n  <a href=\"https://ainpcengine.com/pricing\">Pricing</a>\n</p>\n\n<p align=\"center\">\n  <a href=\"https://smithery.ai/servers/jyswee/ainpcengine\"><img src=\"https://smithery.ai/badge/jyswee/ainpcengine\" alt=\"smithery badge\"></a>\n</p>\n\n---\n\n## Meet the NPCs\n\nEvery one of these is a live AI NPC on the [public demo](https://ainpcengine.com/demo) — persistent memory, daily schedules, moods, and secrets. Click through and talk to them.\n\n<table>\n  <tr>\n    <td align=\"center\" width=\"25%\"><a href=\"https://ainpcengine.com/demo\"><img src=\"https://prodmedia.tyga.host/public/tyga.cloud/landing/ainpcengine.com/npc_grok_the_blacksmith.webp\" alt=\"Grok the Blacksmith\" width=\"100%\"></a><br><b>Grok the Blacksmith</b><br><i>merchant · Village Guard</i><br><sub>\"Aye, what d'ye need? I've blades sharp enough to split a hair.\"</sub></td>\n    <td align=\"center\" width=\"25%\"><a href=\"https://ainpcengine.com/demo\"><img src=\"https://prodmedia.tyga.host/public/tyga.cloud/landing/ainpcengine.com/npc_elara_nightbloom.webp\" alt=\"Elara Nightbloom\" width=\"100%\"></a><br><b>Elara Nightbloom</b><br><i>herbalist · Healers Circle</i><br><sub>\"Every leaf tells a story, if you know how to listen.\"</sub></td>\n    <td align=\"center\" width=\"25%\"><a href=\"https://ainpcengine.com/demo\"><img src=\"https://prodmedia.tyga.host/public/tyga.cloud/landing/ainpcengine.com/npc_captain_voss.webp\" alt=\"Captain Voss\" width=\"100%\"></a><br><b>Captain Voss</b><br><i>guard · Town Watch</i><br><sub>\"State your business or move along. I haven't got all day.\"</sub></td>\n    <td align=\"center\" width=\"25%\"><a href=\"https://ainpcengine.com/demo\"><img src=\"https://prodmedia.tyga.host/public/tyga.cloud/landing/ainpcengine.com/npc_pip_tanglefoot.webp\" alt=\"Pip Tanglefoot\" width=\"100%\"></a><br><b>Pip Tanglefoot</b><br><i>innkeeper · Merchants Guild</i><br><sub>\"Welcome, welcome! Ale's cold, stew's hot, and the beds only have a few bugs!\"</sub></td>\n  </tr>\n  <tr>\n    <td align=\"center\" width=\"25%\"><a href=\"https://ainpcengine.com/demo\"><img src=\"https://prodmedia.tyga.host/public/tyga.cloud/landing/ainpcengine.com/npc_sister_maren.webp\" alt=\"Sister Maren\" width=\"100%\"></a><br><b>Sister Maren</b><br><i>priest · Temple of the Dawnlight</i><br><sub>\"The light does not judge, child. It only reveals what is already there.\"</sub></td>\n    <td align=\"center\" width=\"25%\"><a href=\"https://ainpcengine.com/demo\"><img src=\"https://prodmedia.tyga.host/public/tyga.cloud/landing/ainpcengine.com/npc_dax_ironjaw.webp\" alt=\"Dax Ironjaw\" width=\"100%\"></a><br><b>Dax Ironjaw</b><br><i>merchant</i><br><sub>\"A fair deal? Friend, every deal I make is fair — for me.\"</sub></td>\n    <td align=\"center\" width=\"25%\"><a href=\"https://ainpcengine.com/demo\"><img src=\"https://prodmedia.tyga.host/public/tyga.cloud/landing/ainpcengine.com/npc_old_thorn.webp\" alt=\"Old Thorn\" width=\"100%\"></a><br><b>Old Thorn</b><br><i>farmer</i><br><sub>\"Rain's coming. Or trouble. Same thing, usually.\"</sub></td>\n    <td align=\"center\" width=\"25%\"><a href=\"https://ainpcengine.com/demo\"><img src=\"https://prodmedia.tyga.host/public/tyga.cloud/landing/ainpcengine.com/npc_lyra_ashford.webp\" alt=\"Lyra Ashford\" width=\"100%\"></a><br><b>Lyra Ashford</b><br><i>scholar · Academy of Letters</i><br><sub>\"If the answer isn't in this book, I simply haven't found the right page yet.\"</sub></td>\n  </tr>\n</table>\n\n## See It In Action\n\nReal terminal sessions, real dashboard — no mockups. Click any card to watch.\n\n<table>\n  <tr>\n    <td align=\"center\" width=\"20%\"><a href=\"https://ainpcengine.com/#demo-videos\"><img src=\"https://prodmedia.tyga.host/public/tyga.cloud/landing/ainpcengine.com/ainpc-gtm-1-poster.png\" alt=\"CLI & Coding Agents demo\" width=\"100%\"></a><br><b>CLI & Coding Agents</b><br><sub>Signup to a remembering NPC — one terminal, 75 seconds</sub></td>\n    <td align=\"center\" width=\"20%\"><a href=\"https://ainpcengine.com/#demo-videos\"><img src=\"https://prodmedia.tyga.host/public/tyga.cloud/landing/ainpcengine.com/ainpc-gtm-2-poster.png\" alt=\"Dashboard demo\" width=\"100%\"></a><br><b>Dashboard</b><br><sub>Mission control: live NPC, game and interaction KPIs</sub></td>\n    <td align=\"center\" width=\"20%\"><a href=\"https://ainpcengine.com/#demo-videos\"><img src=\"https://prodmedia.tyga.host/public/tyga.cloud/landing/ainpcengine.com/ainpc-gtm-3-poster.png\" alt=\"Games demo\" width=\"100%\"></a><br><b>Games</b><br><sub>Each game gets its own world — create one in seconds</sub></td>\n    <td align=\"center\" width=\"20%\"><a href=\"https://ainpcengine.com/#demo-videos\"><img src=\"https://prodmedia.tyga.host/public/tyga.cloud/landing/ainpcengine.com/ainpc-gtm-4-poster.png\" alt=\"NPCs demo\" width=\"100%\"></a><br><b>NPCs</b><br><sub>Create an NPC: role, traits, speech style, backstory</sub></td>\n    <td align=\"center\" width=\"20%\"><a href=\"https://ainpcengine.com/#demo-videos\"><img src=\"https://prodmedia.tyga.host/public/tyga.cloud/landing/ainpcengine.com/ainpc-gtm-5-poster.png\" alt=\"Playground demo\" width=\"100%\"></a><br><b>Playground</b><br><sub>Chat live with your NPC — watch it remember the debt</sub></td>\n  </tr>\n</table>\n\n## Why AINPCEngine\n\n- **Persistent memory** — NPCs remember every player across sessions: names, debts, favors, grudges\n- **Dynamic personalities** — traits, moods, daily schedules, secrets; NPCs stay in character\n- **Full game-event coverage** — dialogue, combat, trade, and quest events through one API\n- **AI persona generation** — generate a complete NPC (backstory, traits, speech style) from a role\n- **NPC voice (TTS)** — give any NPC a voice via the speak endpoint\n- **REST + WebSocket** — request/response or realtime streaming, your choice\n- **Agent-native** — 49 MCP tools; coding agents can create and manage NPCs end-to-end\n- **SDKs for every engine** — Unity, Unreal, Godot, Rust, Node.js, plus a CLI\n\n## Pricing\n\nPlans from **$29/mo** with a **7-day free trial** ($0 today). [See pricing →](https://ainpcengine.com/pricing)\n\n\n## Install\n\n```bash\nnpm install -g ainpc-cli\n```\n\n## Get Your API Key\n\n```bash\nainpc signup \"My Studio\" --email you@studio.com --password ********\n```\n\nCreates your studio and auto-saves an `npk_` API key. Then log in at https://ainpcengine.com and add a card to start the **7-day free trial** ($0 today, plans from $29/mo). Or sign up at https://ainpcengine.com/auth/register and generate a key in Studio Dashboard → API Keys.\n\n## Quick Start\n\n```bash\n# Login (one time)\nainpc login --key YOUR_API_KEY --game my-rpg\n\n# Create an NPC\nainpc create \"Grok the Blacksmith\" --role merchant --traits gruff,loyal\n\n# Talk to them\nainpc say NPC_ID \"Got any swords?\"\n\n# AI-generate a full NPC (NPC Persona)\nainpc generate --role guard --name \"Captain Voss\"\n\n# List all NPCs\nainpc list\n\n# Check status\nainpc status\n```\n\n## Per-Project Config\n\n```bash\nainpc login --local --key YOUR_KEY --game my-rpg   # saves to .ainpc/config.json\nainpc login --key YOUR_KEY --game my-rpg           # saves to ~/.ainpc/config.json\nainpc config                                       # show active config\n```\n\nLocal config overrides global. Add `.ainpc/` to your `.gitignore`.\n\n## Agent Integration\n\nAdd to your CLAUDE.md, .cursorrules, .clinerules, or .windsurfrules:\n\n```\nUse the ainpc CLI for NPC management.\nConfig auto-loaded from .ainpc/config.json or AINPC_API_KEY env.\nRun ainpc --help for full reference.\n```\n\n## MCP Server\n\n49 tools for AI agents: NPC CRUD, dialogue, game events, persona generation, studio account, usage and billing.\n\n**Local (stdio):**\n\n```json\n{ \"mcpServers\": { \"ainpcengine\": { \"type\": \"stdio\", \"command\": \"ainpc\", \"args\": [\"mcp-serve\"] } } }\n```\n\nRequires `npm install -g ainpc-cli` + `ainpc login --key npk_YOUR_KEY --game my-rpg` (or `AINPC_API_KEY` env).\n\n**Remote (SSE, zero install)** — for Claude Web and other web-based agents:\n\n```json\n{ \"mcpServers\": { \"ainpcengine\": { \"type\": \"sse\", \"url\": \"https://mcp.ainpcengine.com/sse\",\n  \"headers\": { \"Authorization\": \"Bearer npk_YOUR_API_KEY\" } } } }\n```\n\nNo key yet? Connect keyless — the remote server starts in onboarding mode and an agent can self-signup via the `ainpc_signup` tool.\n\n## Commands\n\n```\nainpc create \"Name\" --role R          Create NPC\nainpc list                            List all NPCs\nainpc show NPC_ID                     Show detail\nainpc say NPC_ID \"message\"            Talk to NPC\nainpc generate --role guard           AI-generate NPC\nainpc speak NPC_ID \"text\"             NPC voice (TTS)\nainpc status                          Quick overview\nainpc --help                          Full reference\n```\n\n## Environment Variables\n\n```\nAINPC_API_KEY=your-key\nAINPC_GAME_ID=my-rpg\nAINPC_BASE_URL=https://ainpcengine.com   # optional\n```\n\n## Links\n\n- Platform: https://ainpcengine.com\n- Docs: https://ainpcengine.com/docs\n- Demo: https://ainpcengine.com/demo\n\n## License\n\nProprietary — see [LICENSE](LICENSE). © 2026 Tyga.Cloud Ltd.\n",
  "bytes": 9570,
  "sha": "440b263d91efa1c29202386b4daa270457a805bccb731e146a2d9ebfb0e42bbc",
  "repo_slug": "jyswee/ainpc-cli",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_jyswee_ainpc_cli_89829f3a/readme"
}