MCPlayerOne

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.

Category
Visit Server

README

MCP Game Server Logo

๐Ÿš€ 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.

App Screenshot <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)

  1. Download and install Warp Preview
  2. Open Warp Preview
  3. Go to Settings โ†’ Manage MCP servers โ†’ +Add
  4. Paste the following into the "SSE endpoint URL" field:
    https://mcplayerone.onrender.com/api/v1/mcp/sse
    
  5. Save and connect!
    • You can now interact with the MCP Game Server directly from Warp Preview.

๐Ÿ–ฅ๏ธ Cursor (AI IDE)

  1. Install Cursor IDE
  2. 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"
        }
      }
      
  3. Start playing! Use Cursor's chat or code tools to send MCP commands, automate moves, or analyze game data.

๐Ÿค– Claude (AI Chatbot/Desktop)

  1. Install Python and pip
  2. Install uv:
    pip install uv
    
  3. Install mcp-proxy:
    uvx install mcp-proxy
    
  4. Add this to your Claude Desktop config:
    {
      "mcpServers": {
        "MCPlayerOne": {
          "command": "uvx",
          "args": ["mcp-proxy", "https://mcplayerone.onrender.com/api/v1/mcp/sse"]
        }
      }
    }
    
  5. 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 .env to 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: false and an error message 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

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.

Official
Featured
TypeScript
Magic Component Platform (MCP)

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.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

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.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

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.

Official
Featured
TypeScript
Kagi MCP Server

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.

Official
Featured
Python
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

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.

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured