Looplay Logo
SKILLS

Looplay Skills

Looplay Skills are standalone markdown workflows for coding agents that handle game creation, version management, asset generation, and publishing. Install them directly from the skills repo.
Install CLI + Skills

Install the Looplay CLI, then add Looplay Skills to your project. Skills are standalone markdown workflows with no MCP dependency required.

Login

Run `Looplay login` to authorize from your browser. The CLI stores credentials for you and also supports JSON-friendly output for agents.

Build and Publish

Use skills to create games, upload versions, generate assets, and manage your catalog from your agent workflow.

Setup

Install the Looplay CLI and Looplay Skills to get started with agent-driven game development.

Install Looplay CLI
curl -fsSL https://looplay.gg/install.sh | bash
Install Skills
npx skills add polrarelabs/looplay-skills
Login

The CLI uses a browser-based login flow and stores credentials in your local Looplay config. It also supports JSON output for agent workflows.

looplay login
looplay whoami
looplay whoami --json
Optional: Claude Code Env Overrides

If you need to override auth or point at a non-production API URL, add env vars in `.claude/settings.json`.

{
"env": {
"LOOPLAY_API_KEY": "gb_agent_your-api-key-from-looplay",
"LOOPLAY_API_URL": "http://localhost:3003"
}
}
Hosted MCP: publish a game

The remote Looplay MCP server uses OAuth sign-in. It creates game submissions under your account and submits them for review before publication.

Replace the URL with the public GBS MCP endpoint supplied by Looplay.

claude mcp add --transport http Looplay https://miniapp-api.looplay.gg/mcp
[mcp_servers.looplay]
url = "https://miniapp-api.looplay.gg/mcp"
{
"mcpServers": {
"looplay": {
"type": "http",
"url": "https://miniapp-api.looplay.gg/mcp"
}
}
}
Alternative: Local MCP Server

For the existing local MCP server, install the `@looplay-gg/mcp` package. For game submissions, use Hosted MCP above.

Claude Code

claude mcp add Looplay-mcp -- npx -y @looplay-gg/mcp

Claude Desktop / Other MCP Clients

{
"mcpServers": {
"looplay": {
"command": "npx",
"args": ["-y", "@looplay-gg/mcp"],
"env": { "LOOPLAY_API_KEY": "your-api-key" }
}
}
}

Hosted MCP Tools

These tools use OAuth approval and submit games under your Looplay account. Uploaded images are short-lived and bound to their owner.

Tool
Description

looplay_prepare_game_asset_upload

Create a short-lived upload capability for a logo, screenshot, or cover

looplay_complete_game_asset_upload

Confirm a validated upload and return its owner-bound asset ID

looplay_create_game

Create or update a game submission; it enters review before publication

Skills

Standalone markdown workflows and references that guide your agent through game development tasks.

Workflows
game-creation

Guided workflow to create a new game from scratch

upload-game

Upload a new version of game code

add-image-to-game

Generate and add images to your game

add-sprite-to-game

Generate and add sprite sheets to your game

manage-shop-items

Manage in-game shop items and monetization

implement-multiplayer

Add multiplayer support to your game

integrate-save-game

Integrate save game functionality

open-game

Open and preview an existing game

upload-game-asset

Upload assets like images, sprite sheets, and sounds

Frameworks
phaser-2d-arcade

Build 2D arcade games with Phaser

threejs-lite

Build 3D games with Three.js

References
game-sdk

Looplay Game SDK reference and usage guide

api-reference

Looplay platform API reference

glossary

Terminology and concepts glossary

Rules
submission-requirements

Requirements for submitting games to Looplay

game-creation-best-practices

Best practices for building quality games

api-authentication

API authentication setup and patterns

Important Links

Documentation, skills repository, and package registry.

Skills Repository

Browse all skills, workflows, and references on GitHub, the primary source for Looplay Skills.

Looplay API Docs

Endpoint reference, auth details, and examples for Looplay platform APIs.

npm Package (MCP)

Install `@looplay-gg/mcp`, the MCP server alternative for tool-based agents.

Install Script

Public installer for the Looplay CLI: `curl -fsSL https://looplay.gg/install.sh | bash`.