@blazium-games/skills 0.1.30 → 0.1.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blazium-games/skills",
3
- "version": "0.1.30",
3
+ "version": "0.1.32",
4
4
  "description": "Agent skills for the Blazium Games platform.",
5
5
  "repository": "https://github.com/blazium-games/games_skill",
6
6
  "license": "MIT",
@@ -32,7 +32,7 @@ Use these instead of browsing the website. Signed-in pages do not have facts the
32
32
 
33
33
  ## Prerequisites
34
34
 
35
- - A Blazium Games account. Sign up at https://blazium.games/signup, or call `initialize` with no token and follow `setup_account` or `sign_in`. A new person uses `create_account`, then `confirm_account` with the email code. An existing person uses `login`, then `confirm_account` when a code is required. Save the first key from `confirm_account` and send it as a bearer. The developer server turns developer mode on. The player server leaves the account a player. A later confirm does not rotate a key that already exists.
35
+ - A Blazium Games account. Sign up at https://blazium.games/signup, or call `initialize` with no token and follow `setup_account` or `sign_in`. A new person uses `create_account`, then `confirm_account` with the email code. An existing person uses `login`, then `confirm_account` when a code is required. The connection becomes logged in only after sign-in succeeds. The first key is returned once. A later connection calls `elevate_session`. Do not set Authorization and do not call the server with Python. The developer server turns developer mode on. The player server leaves the account a player. A later confirm does not rotate a key that already exists.
36
36
  - The `blazium-games` MCP server enabled in Cursor (this plugin ships it in `mcp.json`)
37
37
 
38
38
  ## 1. Connect
@@ -1,6 +1,6 @@
1
1
  # Authentication
2
2
 
3
- The server at `https://mcp.blazium.games/developer` accepts OAuth 2.1 access tokens or MCP API keys, both sent as `Authorization: Bearer <token>`. `https://mcp.blazium.games/mcp` still reaches this server.
3
+ Connect to `https://mcp.blazium.games/developer` or `/player`. `/mcp` still reaches the developer server. No token is required to connect. A pasted client config may contain `Authorization: Bearer`. The agent does not set that header. It calls `elevate_session`. Do not call the server with Python.
4
4
 
5
5
  ## Sign up and sign in with no bearer
6
6
 
@@ -9,7 +9,7 @@ Call `initialize` with no token. `tools/list`, `prompts/list`, and `prompts/get`
9
9
  - New person: follow `setup_account`. Call `create_account`, then `confirm_account` with the email code.
10
10
  - Existing person: follow `sign_in`. Call `login`, then `confirm_account` when the answer is `otp_required`.
11
11
 
12
- Send `accept_legal` and, on the developer server, `accept_developer_terms` only after the human agrees. The developer server turns developer mode on. The player server leaves the account a player. An existing address gets the same answer and is not revealed. `confirm_account` returns that server's first key once (`bgames_mcp_` or `bgames_play_`) and does not return the website session. Save the key and send it as a bearer. A later confirm does not rotate a key that already exists. An authenticator challenge, and choosing or skipping an authenticator, stay on the website. Website signup at https://blazium.games/signup still works.
12
+ Send `accept_legal` and, on the developer server, `accept_developer_terms` only after the human agrees. The developer server turns developer mode on. The player server leaves the account a player. An existing address gets the same answer and is not revealed. `create_account` shows Continue or Generate only when the call has no password. Generate shows a 20-character password. `login` never offers Generate. A password already on either call skips the form. The checkbox "Do not return this password. I will copy it." keeps it out of the agent result. When timezone is omitted, the person gets Enter a timezone or Use this machine. Use this machine is the only time the agent may send the machine's IANA zone. `confirm_account` returns that server's first key once (`bgames_mcp_` or `bgames_play_`) and does not return the website session. The connection becomes logged in only after sign-in succeeds. A later connection calls `elevate_session`. Do not set Authorization. A later confirm does not rotate a key that already exists. An authenticator challenge, and choosing or skipping an authenticator, stay on the website. Website signup at https://blazium.games/signup still works.
13
13
 
14
14
  ## OAuth (recommended)
15
15
 
@@ -2,10 +2,14 @@
2
2
 
3
3
  | Prompt | Arguments | Purpose |
4
4
  |--------|-----------|---------|
5
+ | `setup_account` | none | Create an account, confirm the email code, and save the first key. A later connection calls `elevate_session`. Do not set Authorization |
6
+ | `sign_in` | none | Sign in with a typed password. The connection is logged in only after sign-in succeeds |
5
7
  | `draft_game_page` | `pitch` (required) | Draft a name, one-line tagline, and two-paragraph description from a short pitch |
6
8
  | `improve_game_copy` | `description` (required) | Rewrite an existing store description while keeping the facts |
7
9
  | `analytics_summary` | `uid` (required) | Summarize the week's visitors using `get_game_analytics` |
8
10
  | `bootstrap_game` | `pitch`, `uid` (both optional) | Create or find a store page, read deploy info and builds, and issue rotated deploy keys so an agent can ship from CI |
11
+ | `setup_oauth_app` | `uid` | Register one sign-in application. If the owner must approve, no secret was issued. The person opens `confirm_url`, then retry with the same `idempotency_key` |
12
+ | `review_oauth_apps` | `uid` | Report each sign-in application. Do not create, rotate, or delete on its own |
9
13
 
10
14
  ## `bootstrap_game` steps
11
15
 
@@ -25,7 +25,7 @@ All tools call the Blazium Games API on behalf of the connected user. `uid` acce
25
25
  | `request_server_key` | `uid`, `role` | | Returns a game_server or private_server secret once |
26
26
  | `revoke_server_key` | `uid`, `key_id` | | Revokes one game server key |
27
27
  | `get_web_player` | `uid` | | Browser player settings, including the Discord application id, public key, and share links |
28
- | `set_web_player` | `uid` | `enabled`, `full_build_id`, `demo_build_id`, `width`, `height`, `fullscreen`, `mobile`, `click_to_play`, `hide_branding`, `start_fullscreen`, `embed_enabled`, `embed_domains`, `discord_enabled`, `application_id`, `public_key`, `share_build_id`, `share_enabled` | Choose the full build, an optional demo, the player size, branding, fullscreen launch, embed settings, and Discord activity hosting. `share_build_id` and `share_enabled` together turn one web build's unlisted link on or off. Hosting stays off unless `discord_enabled` is set, and it still requires the player to be on plus both values. Needs mcp:build.write |
28
+ | `set_web_player` | `uid` | `enabled`, `full_build_id`, `demo_build_id`, `width`, `height`, `fullscreen`, `mobile`, `click_to_play`, `hide_branding`, `start_fullscreen`, `embed_enabled`, `embed_domains`, `embed_game`, `connect_domains`, `discord_enabled`, `application_id`, `public_key`, `telegram_enabled`, `telegram_bot_id`, `reddit_enabled`, `reddit_app_name`, `youtube_enabled`, `tiktok_enabled`, `tiktok_client_key`, `douyin_enabled`, `douyin_app_id`, `wechat_enabled`, `wechat_app_id`, `offer_build_id`, `for_sale`, `price_cents`, `is_demo`, `embed_supported`, `platforms`, `share_build_id`, `share_enabled` | Choose the full build, an optional demo, launches, connect hosts, and one build's price or designation. Upload `designations`, `for_sale`, `price_cents`, `is_demo`, `embed_supported`, `web_pack`, and `export_targets` with the build file. Store shelves `steam`, `gog`, `epic`, and `itch` can be priced. A launch host or an embeddable build cannot. An embedded game cannot be sold. The price is not a separate checkout. Needs mcp:build.write |
29
29
  | `list_game_crashes` | `uid` | | Recent crash reports |
30
30
  | `get_crash` | `uid`, `crash_id` | | One crash with metadata, analysis, and stack availability |
31
31
  | `request_crash_download` | `uid`, `crash_id`, `kind` (`dump`, `log`, or `stack`; default `dump`) | | Private download URL valid for 1 hour |
@@ -157,9 +157,10 @@ Amounts are integer US cents. Agents pay only from the stored balance, and only
157
157
  | `create_post` | `title`, `status`, `visibility`, `tier_uids` | write | `visibility` is `public` or `tiers` |
158
158
  | `update_post` | `uid` plus the create fields | write | Edit a post |
159
159
  | `delete_post` | `uid` | write | Remove a post |
160
- | `create_account` | `email`, `password` | none | No bearer. Follow the `setup_account` prompt |
161
- | `login` | `email`, `password` | none | No bearer. Follow the `sign_in` prompt |
162
- | `confirm_account` | `email`, `code` | none | Returns the first `bgames_mcp_` key once |
160
+ | `create_account` | `email`, optional `password`, `timezone` | none | Continue or Generate only when password is omitted. Enter a timezone or Use this machine when timezone is omitted |
161
+ | `login` | `email`, optional `password` | none | The person types the password. Generate is not offered. Elevated only after sign-in succeeds |
162
+ | `confirm_account` | `email`, `code` | none | Returns the first `bgames_mcp_` key once and elevates this connection |
163
+ | `elevate_session` | `key` | none | Signs this connection in with a saved key. No Authorization header |
163
164
 
164
165
  Payout tools are not deprecated and need `mcp:write` or `mcp:money`.
165
166
 
@@ -45,7 +45,7 @@ The secret is returned once. Tell the user to store it (CI secret, password mana
45
45
 
46
46
  ## 4. Update consumers
47
47
 
48
- - MCP key: update the `Authorization: Bearer` header in each MCP client config.
48
+ - MCP key: a pasted client config may contain `Authorization: Bearer`. The agent does not set that header. It calls `elevate_session` with the new key.
49
49
  - Deploy key: update `BLAZIUM_ACCESS_TOKEN` and `BLAZIUM_SECRET_KEY` in every CI system, for example with `gh secret set BLAZIUM_ACCESS_TOKEN`.
50
50
 
51
51
  ## Revoking OAuth access
@@ -27,7 +27,7 @@ The player server acts for one player. It sees the account, wallet, and library,
27
27
 
28
28
  ## 2. Check the account
29
29
 
30
- 1. Call `get_account`. If `email_verified` is false, call `request_email_code`, ask the human for the code from their inbox, and call `verify_email`. Downloading and buying need a verified email. If `timezone` is empty and you know the human's IANA timezone, call `set_timezone`. Do not use the timezone of the machine you are running on. If `gate` is not empty, tell the human to finish that step at https://blazium.games/account/finish (accept changed terms, finish setup, or choose about an authenticator app). Never do those steps for them.
30
+ 1. Call `get_account`. If `email_verified` is false, call `request_email_code`, ask the human for the code from their inbox, and call `verify_email`. Downloading and buying need a verified email. If `timezone` is empty, call `set_timezone`. The person chooses Enter a timezone or Use this machine. Use this machine is the only time you send the machine's IANA zone. If `gate` is not empty, tell the human to finish that step at https://blazium.games/account/finish (accept changed terms, finish setup, or choose about an authenticator app). Never do those steps for them.
31
31
  2. Call `get_agent_policy` to see this agent's limit: `unset` (every purchase needs approval), `unlimited`, `monthly`, `yearly`, or `one_time`. Only the human changes it, on the website.
32
32
  3. Call `get_wallet` for the available balance.
33
33
 
@@ -75,5 +75,6 @@ The player server acts for one player. It sees the account, wallet, and library,
75
75
 
76
76
  ## References
77
77
 
78
+ - [Prompts](./references/prompts.md)
78
79
  - [Tools](./references/tools.md)
79
80
  - https://docs.blazium.games/docs/mcp/player
@@ -0,0 +1,6 @@
1
+ # Player MCP prompts
2
+
3
+ | Prompt | Arguments | Purpose |
4
+ |--------|-----------|---------|
5
+ | `setup_account` | none | Create an account, confirm the email code, and save the first key. A later connection calls `elevate_session`. Do not set Authorization |
6
+ | `sign_in` | none | Sign in with a typed password. The connection is logged in only after sign-in succeeds |
@@ -31,9 +31,10 @@ Server: `https://mcp.blazium.games/player`. Scopes: `player:read`, `player:write
31
31
  | `get_payout_dashboard_link` | buy | One-time Stripe Express dashboard link for the human (`4095` until setup has started) |
32
32
  | `cash_out` | buy | Cash out available earnings (`amount_cents`, at least 2500) to the human's own payout account. No approval; the owner is emailed. Payouts are processed on weekdays from 8:00am to 5:00pm Pacific. `4021` not enough available, `4057` below the minimum |
33
33
  | `get_patron_status` | read | The caller's patron memberships: tier, billing, status, period end, and whether the 12 hour check is open. No card data |
34
- | `create_account` | none | No bearer. Follow the `setup_account` prompt. Does not turn on developer mode |
35
- | `login` | none | No bearer. Follow the `sign_in` prompt |
36
- | `confirm_account` | none | Returns the first `bgames_play_` key once |
34
+ | `create_account` | none | Continue or Generate only when password is omitted. Does not turn on developer mode |
35
+ | `login` | none | The person types the password. Generate is not offered |
36
+ | `confirm_account` | none | Returns the first `bgames_play_` key once and elevates this connection |
37
+ | `elevate_session` | none | Signs this connection in with a saved `bgames_play_` key. No Authorization header |
37
38
  | `search_catalog` | read | Search public games, tools, mods, and assets by text, genres, tags (including community tags), tone, session length, network mode, players, platform, engine and version, renderer, license, made-with label (`authorship`), and `ai_uses`. Several values in one filter match any of them; `exclude_types`, `exclude_genres`, `exclude_tone`, `exclude_tags`, `exclude_warnings`, and `exclude_ai_uses` leave listings out. Adult listings only appear if the human turned on adult content |
38
39
  | `list_game_addons` | read | Mods and plugins, or tools and applications, made for a game (`kind`: `mods`, `tools`, or empty for both); `same_creator` marks the developer's own |
39
40
  | `suggest_tag` | write | Suggest a tag for a game the human owns and played for an hour (`4237` before that), or `remove` it; up to 5 per game. Without `tag`, returns their suggestions. Only suggest tags the human chose |