Playgama MCP - Publish & Manage HTML5 Games

com.playgama由 playgama.com 发布官方发布者v1.1.0更新于 Oct 24, 2026

Publish HTML5 games in seconds from an AI agent: audience, monetization, analytics.

已验证Streamable HTTP可网页运行开发者工具数据与分析商业与电商

概览

AI 生成的概览

Playgama 托管的 MCP 服务器,让 AI 代理创建、上传、发布和管理 Playgama 平台上的 HTML5 游戏,包括封面、排行榜和遥测数据。

可以做什么
  • 创建与编辑游戏条目:列出、创建、读取和更新游戏表单、分类与提交状态
  • 上传构建与封面:发起并确认 zip 压缩包和封面槽位上传,再查询解包与构建检查状态
  • 管理应用内购买目录与排行榜:读取和整体替换商品目录,创建和更新排行榜
  • 发布与分享:把构建发布到沙盒、读取发布结果与分享链接,并为已上线游戏发送目录更新
  • 读取遥测:查看概览、单个事件、时间序列和会话事实视图
  • 读取文档与上线指引:Bridge SDK 文档、游戏要求清单、指南、上线步骤和推荐计划
适用场景
适合让代理把本地 HTML5 游戏构建一路推进到可玩的 Playgama 沙盒链接,或在不打开控制台的情况下维护已发布游戏的表单、构建、排行榜和遥测数据。
运行要求
由 Playgama 托管的远程 Streamable HTTP 端点,无需安装。需要已完成的 Playgama 开发者账号,客户端首次连接时通过浏览器完成 OAuth 2.1 登录。游戏必须集成 Playgama Bridge SDK(沙盒要求 2.2.0 或更新版本)。
安装前请注意
写入类工具被标注为破坏性并会改动线上数据:发布会让构建对公众可玩,目录更新不经审核直接推送给所有玩家,整体替换商品目录会删除未列出的商品。流量活动和推荐奖励属于活动预算而非现金,MCP 不购买付费流量。已连接的代理只能访问本组织的游戏,可在控制台撤销。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Playgama MCP - Publish & Manage HTML5 Games,将其添加到工作区。
  2. 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/com.playgama%2Fdeveloper-cabinet/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。

{
  "mcpServers": {
    "playgama-publish-manage-html5-games": {
      "type": "http",
      "url": "https://developer.playgama.com/api/mcp"
    }
  }
}

README

Playgama Developer Console MCP Server

Publish and manage your HTML5 games on Playgama straight from your AI agent — Codex, Claude Code, Cursor or VS Code. Full guide: Playgama wiki.

The server is hosted by Playgama. There is nothing to install or run and no token to copy — you give your client the endpoint below, sign in to the console in the browser it opens, and allow the connection.

What you get

  • Publish in minutes — ask your agent, get a public playable link back.
  • Get the audience — the game takes its first players from the Playgama network, and Playgama DSP can send more the day it goes live (beta). The agent can start that campaign itself with start_sandbox_traffic; share the game first and the boost is free.
  • Start monetization — rewarded, interstitial and banner ads switch on through Playgama Ad once the game clears the session threshold (access by request).
  • Improve a game from telemetry — the agent can instrument the game, inspect compact preaggregated event, trend and session views, and use the evidence to find progression or performance problems. Playtime, retention and revenue reports remain in the developer dashboard; payouts start at 100 USD.
Endpointhttps://developer.playgama.com/api/mcp
TransportStreamable HTTP
AuthenticationOAuth 2.1 — the client discovers it from the endpoint
Connected agentsSee and revoke them at developer.playgama.com/mcp

You need a Playgama developer account with the sign-up finished. A connected agent reaches the games of your own organization and nothing else. It stays connected while it keeps using the server; revoke it on the same page and it is refused on its next call.

Every game needs the Playgama Bridge SDK integrated — the sandbox included. If your game does not have it yet, the agent integrates it before the first upload: get_bridge_sdk_docs serves the docs, starting with their required steps, and get_game_checklist serves the numbered Game Requirements every game and its archive must meet. A build in which the SDK was not detected is not published, and the sandbox takes Playgama Bridge 2.2.0 or newer only.

Questions: [email protected]

Connect

Every client below opens the browser the first time it connects. Sign in to the console if you are not signed in, check the account and the agent, and allow it.

Codex

sh
codex mcp add 'playgama-developer-console' --url 'https://developer.playgama.com/api/mcp'

Claude Code

sh
claude mcp add --transport 'http' 'playgama-developer-console' 'https://developer.playgama.com/api/mcp'

Then run /mcp in Claude Code and choose the server to sign in.

Cursor

~/.cursor/mcp.json:

json
{  "mcpServers": {    "playgama-developer-console": {      "type": "http",      "url": "https://developer.playgama.com/api/mcp"    }  }}

VS Code

.vscode/mcp.json:

json
{  "servers": {    "playgama-developer-console": {      "type": "http",      "url": "https://developer.playgama.com/api/mcp"    }  }}

Claude Desktop and claude.ai

Settings → Connectors → Add custom connector, with the endpoint https://developer.playgama.com/api/mcp.

A token in a config from before OAuth

If your config still sends an Authorization header with a pgm_mcp_ token, it keeps working for now. Remove the header and connect again as above.

Tools

The authoritative list is what the server answers to tools/list. As of version 1.9.0:

ToolWhat it doesKind
Games
list_applicationsLists your organization's games, newest firstread-only
create_applicationCreates a new game as a draftwrite
get_applicationReads a game's saved form, archives and mediaread-only
update_application_formSaves form fields; fields you leave out keep their valueswrite
get_game_categoriesReads the categories update_application_form takes for category, in priority order, and how to choose one by the core mechanicread-only
get_submission_stateTells whether the game can be submitted to moderation now, and why notread-only
list_moderation_commentsReads the moderation correspondence on a gameread-only
get_launch_stepsReads a game's launch path in order — archive, Bridge SDK, covers, form, sandbox, share, traffic — with the current step and the tools that move each oneread-only
Builds
start_archive_uploadStarts a zip upload and answers a one-hour upload URLwrite
confirm_archive_uploadAdds the uploaded archive to the form and starts unpackingwrite
get_archive_statusReads unpacking progress and the build checkread-only
Covers
start_cover_uploadStarts a cover upload for one slot: square, portrait or landscapewrite
confirm_cover_uploadChecks the image and puts it in its slotwrite
In-app purchases
list_in_app_productsReads the in-app catalog with its checksumread-only
replace_in_app_productsReplaces the whole catalog; products left out are deletedwrite
Leaderboards
list_leaderboardsLists a game's leaderboardsread-only
create_leaderboardAdds a leaderboardwrite
update_leaderboardChanges a leaderboard's name, type or score orderwrite
Testing
get_archive_qa_tool_linkOpens an uploaded build in the Playgama QA Toolread-only
get_local_game_qa_tool_linkOpens a game served from localhost in the QA Toolread-only
Docs
get_bridge_sdk_docsReads the live Playgama Bridge SDK wiki, the whole index or one page; start with the required steps on apiread-only
get_game_checklistReads the live game requirements — every numbered rule a game and its archive must meet — in one callread-only
get_game_guidesReads the live guides — recommendations on layout, controls, sound, saving, monetization and performance — the index or one guideread-only
Game telemetry
get_game_telemetry_guideReads agent-only instructions for instrumenting a game and interpreting telemetryread-only
get_game_telemetry_analyticsReads a compact overview and paginated event inventory for one gameread-only
get_game_telemetry_event_analyticsReads preaggregated fields and bounded value summaries for one event, including performance fieldsread-only
get_game_telemetry_timeseriesReads paginated 30-minute or daily event-volume and sampling-reach trendsread-only
get_game_telemetry_session_factsReads filtered, pseudonymized product-event facts for sequence questionsread-only
Referrals
get_referral_programReads your organization's invitation, eligibility and referral traffic bonusesread-only
apply_referral_codeAccepts a developer-provided invitation before the organization's first sandbox publicationwrite
Sandbox
get_sandbox_stateReads what is live in the sandbox and whether a publish would be acceptedread-only
get_publicationsReads how the latest publication of each destination, the sandbox and the catalog, wentread-only
get_sandbox_shareReads the ready post and share links for the live sandboxread-only
publish_sandboxMakes a build playable by anyone with the link, without moderationwrite
get_sandbox_trafficReads whether traffic can be brought to the sandbox, the package on offer and the runs so farread-only
start_sandbox_trafficStarts a DSP campaign built from the game's covers; use a referral bonusId, or 1–2 public post links for the separate share bonuswrite
Catalog
send_playgama_catalog_updateSends an update of a game already live in the Playgama catalog to all its players, without moderation, on the developer's explicit yeswrite

Every write tool is annotated destructiveHint: true; clients decide how to use that hint when requesting confirmation.

For a launch workflow, agents start with get_launch_steps and read it again after each step. A request only to read data does not authorize game changes, publication or a traffic campaign.

Uploading a build

  1. Read get_game_checklist and check the game and the zip against each requirement by its number; fix what fails before uploading. The agent reads the requirements and the SDK required steps once already, when it starts work on the game.
  2. start_archive_upload answers uploadUrl and headers.
  3. PUT the zip to uploadUrl with exactly those headers, e.g. curl -T game.zip -H "Content-Type: application/zip" "<uploadUrl>".
  4. confirm_archive_upload, then poll get_archive_status until state.status is no longer CHECKING. Only a PASSED build can be published; on PROBLEM or NOT_CHECKED pass state.message on to the developer word for word and fix the build — publish_sandbox and a submit to moderation both refuse it (get_bridge_sdk_docs has the SDK integration docs). The sandbox also refuses a build on a Playgama Bridge older than 2.2.0 (BRIDGE_VERSION_OUTDATED) or one whose version the check could not read (BRIDGE_VERSION_UNKNOWN): update the SDK and upload a new archive. If processing is FAILED, upload a corrected zip.
  5. A sandbox publish also needs all three covers and a complete form. Without them publish_sandbox is refused with COVERS_INCOMPLETE, which names the empty slots in emptySlots, or FORM_INCOMPLETE, which names the fields in details: upload the covers or fill the fields with update_application_form, then publish again.
  6. publish_sandbox answers PENDING: the build is built, then published, as a rule within minutes. Follow the PLAYGAMA_SANDBOX publication in get_publications, waiting its retryAfterSeconds between reads, until it leaves IN_PROGRESS; once it is PUBLISHED, hand out the url from the publish answer. FAILED means the build did not go live. While a publication is in progress, another publish is refused with 409.

Covers work the same way, one slot per call: a PNG or JPEG of exactly 800×800 (square), 1080×1920 (portrait) or 1920×1080 (landscape). All three are required for a sandbox publish and for a submit to moderation.

Updating a game live in the catalog

A game already live in the Playgama catalog can take an update without moderation; a first publication and every other platform still go through moderation, which the developer submits in the console.

  1. get_submission_state with the build's archiveId and reviewType: AUTO says whether the update would be refused, and why.
  2. The agent tells the developer the game, the build and that every catalog player gets it with no moderator checking it first, and goes on only on their explicit yes to this update.
  3. send_playgama_catalog_update takes the build and a required updateNote — what players will notice — and answers PENDING with a releaseId. Follow the PLAYGAMA publication with that releaseId in get_publications until it leaves IN_PROGRESS: PUBLISHED — the update is live; FAILED — players keep the previous build.

Game telemetry

Before finishing a game, the agent reads get_game_telemetry_guide and adds the relevant product progression events and performance sample. Telemetry is guidance, never an upload or publication gate.

After a release has collected traffic, the agent starts with get_game_telemetry_analytics. It uses get_game_telemetry_event_analytics only for one relevant event or field, get_game_telemetry_timeseries for event volume or sampling reach over time, and get_game_telemetry_session_facts for a filtered product-event order question. FPS, frame-time and stutter summaries for performance_sample come from event analytics. Timeseries points do not contain those field values, and repetitive core_ping and performance_sample events are intentionally absent from session facts, so the current views do not support per-session FPS claims. The tools return dynamic preaggregated JSON, not raw events and not a server-generated conclusion. The agent inspects the response's schema version, period, freshness, sample size and pagination, treats missing or null fields as unavailable rather than zero, and requests another page only when it can change the current conclusion.

The overview event inventory defaults to 50 event types and accepts up to 100. Its events_page.next_cursor is passed back as eventCursor; agents do not exhaust the inventory preemptively. The full parameter and response guidance is in the Tools reference.

Sandbox traffic

Two separate traffic bonuses can start a sandbox campaign:

  • A referral bonus comes from get_referral_program and is passed to start_sandbox_traffic as bonusId; it needs no social post. Every organization member can share the returned invitation.url. Apply only a developer-provided invitation, before the invited organization's first sandbox publication. An accepted invitation grants the invited studio $3 of traffic; its first sandbox publication grants the inviter another $3 of traffic. These are campaign budgets, not cash.
  • The share bonus follows a post about the game on any platform. The developer publishes the post and pastes its link to the agent, which passes one to three public HTTPS post links to start_sandbox_traffic in postUrls; one is enough. The bonus is once per game, for up to three games per organization over its lifetime. Earlier free launches without sharing do not use this bonus. get_sandbox_share has the ready post and share links. Paid traffic is available in the console; MCP does not purchase it.

Limits

  • Build archive: up to 300 MB per zip.
  • Cover: up to 10 MB per file.
  • Sandbox: 15 publications per rolling hour per game; every publication counts, the same build included.

What the server deliberately does not do

These stay human actions in the console:

  • submitting a game to moderation;
  • deleting anything — leaderboards, or archives and covers from the form;
  • rolling a game back to its latest release;
  • reading payouts;
  • uploading screenshots, videos and other assets.

Beyond the MCP server

The rest of the Playgama stack picks up where this server stops:

  • Playgama Bridge SDK — required in every game you upload (see above), and the same integration carries the game further: one API for ads, leaderboards, payments and platform SDKs when you publish the same game across platforms. Open source, npm i @playgama/bridge.
  • Playgama Ad — monetizes web games with rewarded, interstitial and banner formats through a single lightweight JS SDK, with gaming-focused demand, Google Ad Manager MCM support and reporting. Access by request.
  • Playgama Wrap — turns the same game into a standalone site on your own domain, with hosting, player accounts, in-game purchases, PWA install and indexable SEO pages. Early access.
  • Playgama DSP — brings the first players to a freshly published game. Beta.

License

MIT

来源:README.md,提交 82433d0

工具

0
该服务器需要登录,因此 SourceWeft 无法在没有账号的情况下读取其工具,也未收录。已连接账号所能看到的内容可能因账号及其权限而异。

版本历史

1
  1. v1.1.0最新Sep 17, 2026

评分

已满足适用检查项的 85%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分