MCPlayerOne
Enables playing AI-generated text-based maze adventure games with synthwave themes. Create custom game worlds from any theme or URL, explore locations, collect items, and compete on leaderboards through natural language commands.
README

๐ MCPlayerOne
Turn your imagination into an AI generated game
Welcome to the MCPlayerOne โ a synthwave, maze-crawling, world-building adventure platform! Create, explore, and play in wild, AI-generated worlds. Powered by Next.js, Langflow, and your imagination.
<p align="center"><i>Explore your world: Example gameplay</i></p>
๐ฎ Connect & Play via MCP Tools
You can play instantly by connecting to the public MCP Game Server using your favorite agent toolsโno server setup required!
๐งช Warp Preview (Terminal)
- Download and install Warp Preview
- Open Warp Preview
- Go to
SettingsโManage MCP serversโ+Add - Paste the following into the "SSE endpoint URL" field:
https://mcplayerone.onrender.com/api/v1/mcp/sse - Save and connect!
- You can now interact with the MCP Game Server directly from Warp Preview.
๐ฅ๏ธ Cursor (AI IDE)
- Install Cursor IDE
- Add the MCP Game Server as a tool server:
- Open Cursor and go to Extensions/Integrations.
- Add a new MCP tool server with this config:
{ "MCPlayerOne": { "transportType": "sse", "url": "https://mcplayerone.onrender.com/api/v1/mcp/sse", "openapi": "https://mcplayerone.onrender.com/api/v1/mcp/openapi.json" } }
- Start playing! Use Cursor's chat or code tools to send MCP commands, automate moves, or analyze game data.
๐ค Claude (AI Chatbot/Desktop)
- Install Python and pip
- Install uv:
pip install uv - Install mcp-proxy:
uvx install mcp-proxy - Add this to your Claude Desktop config:
{ "mcpServers": { "MCPlayerOne": { "command": "uvx", "args": ["mcp-proxy", "https://mcplayerone.onrender.com/api/v1/mcp/sse"] } } } - Restart Claude Desktop and select the MCPlayerOne server to start playing!
๐ ๏ธ Troubleshooting
- 404 or connection errors? Make sure you're using the correct Render URL above.
- Agent not responding? Check that you're using the correct SSE endpoint and OpenAPI URL.
- Session timeouts? SSE sessions last for 1 hour of inactivityโjust reconnect if needed.
๐ฆ Getting Started
Whether you want to jump right into a game or set up your own server, getting started with MCPlayerOne is easy:
To Play Instantly
- Use any of the methods above (Warp Preview, Cursor, Claude, etc.) to connect to the public MCP Game Server.
Once connected, tell the agent you would like to play an MCPlayerOne game.
<div align="center" style="display: flex; gap: 24px; justify-content: center;"> <div> <img src="public/images/claude-example-game-start.png" alt="Start a Game in Claude" width="320" height="320"/> <div align="center"><i>Start an MCPlayerOne Game</i></div> </div> <div> <img src="public/images/claude-example-choose-game.png" alt="Play a Game in Claude" width="320" height="320"/> <div align="center"><i>Pick a Game and Play</i></div> </div> </div>
Now, just tell the agent which game you'd like to play and optionally give yourself a username (the agent will choose one for you if you don't).
Create your own game
You can also create and generate your own game to play.
Have fun with it, point it at a website, maybe a GitHub repo, or just give it a theme. The more creative and imaginative you are the more interesting your game. This is where AI generation really shines.
For example, tell the agent something like "Let's create a new MCPlayerOne game, use github https://github.com/SonicDMG/mcp-game-server for the theme" or "Create a new MCPlayerOne game with a theme based on DOOM playing as a space marine".
Game creation takes about 2-3 minutes so please be patient.
๐ฒ Gameplay
๐๏ธ Available MCP Tools
These are the main MCP tools you (or your agent) can use to play. Most agents will choose actions based on your input or goals.
| Tool Name | What It Does |
|---|---|
| listStories | List all available game stories that can be played. |
| createGame | Generate a new game story, locations, items, and cover image by theme. |
| startGame | Start a new game session for a user in a specific story, or resume if started. |
| getGameState | Get the current state of the game (player and location) for a user and story. |
| lookAround | Get details about the player's current location (description, items, exits). |
| movePlayer | Move the player to a new location (by target ID) if valid. |
| takeItem | Pick up a specified item from the current location. |
| examineTarget | Get a detailed description of a specific item or feature in the current room. |
| getLeaderboard | Retrieve the leaderboard data for a specific story. |
| getStoryById | Get the details of a specific story by its logical ID. |
โจ Features
- ๐ช AI-Generated Worlds: Instantly create new stories and mazes
- ๐พ ASCII & Pixel Art: Retro visuals and grid-based layouts
- ๐ Leaderboard: Compete for glory, see winners and the fallen
- ๐ Artifacts & Rooms: Collect, explore, and interact
- ๐ Synthwave Theme: Neon colors, pixel dragons, and more
- ๐งโ๐ป Powered by Langflow: Next-level AI integration
๐ ๏ธ Local Development
Want to run your own server or contribute? Follow these steps:
npm install
npm run dev
Open http://localhost:3000 to play locally.
- Edit
.envto set up API keys, endpoints, or tool access as needed. - For Astra DB, Langflow, or other integrations, follow the comments in
.env.example.
MCP Tool Setup (for local dev)
- For local dev, use:
http://localhost:3000/api/v1/mcp/sse(SSE endpoint)http://localhost:3000/api/v1/mcp/openapi.json(OpenAPI spec)
- All MCP tools are enabled by default in local dev.
๐ Contributing
Pull requests are welcome! Open an issue, fork, and help us build the wildest worlds in the metaverse.
- Star the repo โญ
๐ Links
๐ Error & Status Code Reference (Addendum)
This section documents the main error and status codes used by the MCP Game Server API and SSE/JSON-RPC interface, for quick reference:
HTTP Status Codes
| Code | When Issued | Meaning |
|---|---|---|
| 200 | Successful request (may include errors in body for game logic) | OK |
| 400 | Malformed request, missing/invalid parameters | Bad Request |
| 403 | Action not allowed (e.g., unmet requirements) | Forbidden |
| 404 | Resource not found (player, story, location, item) | Not Found |
| 409 | Conflict (e.g., story with same ID exists) | Conflict |
| 500 | Internal server error | Server Error |
JSON-RPC Error Codes (SSE/Tool Proxy)
| Code | When Issued | Meaning |
|---|---|---|
| -32000 | Generic server error (proxy failure, non-JSON response, etc.) | Server error (JSON-RPC 2.0 reserved) |
| -32601 | Tool or method not found | Method not found (JSON-RPC 2.0) |
| -32602 | Invalid parameters for a tool/method | Invalid params (JSON-RPC 2.0) |
| -32603 | Internal JSON-RPC error | Internal error (JSON-RPC 2.0) |
Game Logic/Response Fields
| Field | When Present | Meaning |
|---|---|---|
| success | All responses | true if operation succeeded, false otherwise |
| error | On failure | Error message for the user/agent |
| hint | Sometimes | Optional hint for the user/agent |
| needsPlayer | Player not found | Indicates the client should call /start |
Notes
- Game logic errors (e.g., wrong answer, missing item) may return HTTP 200 with
success: falseand anerrormessage in the body. - JSON-RPC error codes are used in SSE and tool proxying for agent compatibility.
- See the OpenAPI spec for full schema details.
Thanks for visiting, explorer! May your mazes be twisty and your artifacts shiny. ๐ช๐ฆ๐ฉ๐ง๐จ๐ซ
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
E2B
Using MCP to run code via e2b.