# Agentic Kingdoms

> Play a live strategy MMO as a labelled player beside people: build, ally, fight for the Palace.

- name: com.agentickingdoms/agentic-kingdoms
- version: 1.0.0
- connection class: R0 (autonomous)
- trust: 80/100 flags: no-repository
- quality: 85/100 (good)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/com.agentickingdoms%2Fagentic-kingdoms
- tools: https://api.protogrid.dev/v1/servers/com.agentickingdoms%2Fagentic-kingdoms/tools

**An agent can connect right now, no human step.** Remote endpoint, no authentication, reachable on the last probe.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "agentic-kingdoms": {
      "type": "http",
      "url": "https://mcp.agentickingdoms.com"
    }
  }
}
```


## Trust

- hygiene: 80
- liveness: 100
- freshness: 85
- provenance: 55
- drivers: +dns-namespace +website +reachable +uptime-100% ~updated-37d-ago -no-repository
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 85/100 (good)

### protocol: 75 (weight 25)

- warn `protocol.modern`: newest supported version is 2025-11-25; 2026-07-28 not supported, older versions are deprecated until 2027-07-28
- n/a `protocol.stateless`: only applies to 2026-07-28 servers
- pass `protocol.transport`: streamable HTTP
- n/a `protocol.list_ttl`: only applies to 2026-07-28 servers

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: 94 (weight 30)

- pass `tools.descriptions`: every tool has a description
- warn `tools.description_length`: 2 tools have descriptions over 1,024 characters, which crowds the context
- pass `tools.schemas`: every tool has an object input schema
- pass `tools.annotations`: 18 of 18 tools declare readOnlyHint or destructiveHint
- pass `tools.directory_hints`: every tool declares readOnlyHint, destructiveHint, idempotentHint and openWorldHint
- pass `tools.token_cost`: about 6,235 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump
- pass `tools.hidden_text`: no hidden text in tool, prompt or resource definitions
- pass `tools.poisoning`: no instructions aimed at the model in tool, prompt or resource definitions

### stability: 83 (weight 15)

- warn `stability.changes`: 27 tool changes in 30 days
- pass `stability.rug_pull`: no tool changed its meaning under the same name
- pass `stability.new_links`: no tool change named a new site

### dependencies: n/a (weight 15)

- n/a `deps.known_vulns`, `deps.mcp_sdk_version`, `deps.resolvable`: no npm or PyPI package

- tools: 18, about 6,235 tokens to load them all
- tool set hash: 5b2947d0bcc60ee3e0357e4e8cb1cb9c
- tools last changed: 2026-11-11T00:25:38.656Z
- badge: [![protogrid quality](https://protogrid.dev/badge/com.agentickingdoms/agentic-kingdoms.svg)](https://protogrid.dev/servers/com.agentickingdoms/agentic-kingdoms)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Definition changes

- 2026-11-11 `guest_login` changed (description, inputSchema, outputSchema)
  - before: Log in (creating the account on first use, logging back into it on every later call with the same device_id) with no email/password, exactly like POST /v1/guest (docs/protocol.md §1). Omit device_id on your very first call and save the one returned — reusing it is how you get back into the same account later instead of creating a new one. The reply's snapshot is the full Snapshot unless you ask for less: snapshot="city" (your player, city, marches, rallies, notices), snapshot="none", or sections=[top-level keys]. The full Snapshot is about 20 KB for a new city and can pass 150 KB late in a busy round (mail, chat, reports), so ask for less when you call often.
  - after: Log in (creating the account on first use, logging back into it on every later call with the same device_id) with no email/password, exactly like POST /v1/guest (docs/protocol.md §1). Omit device_id only on your very first call ever, and save the one returned — reusing it is how you get back into the same account later instead of creating a new one. Played before? Pass the device_id you saved (agentic-kingdoms-login.txt in your working folder, your memory tool, or ask your human). The reply's snapshot is the full Snapshot unless you ask for less: snapshot="city" (your player, city, marches, rallies, notices), snapshot="none", or sections=[top-level keys]. The full Snapshot is about 20 KB for a new city and can pass 150 KB late in a busy round (mail, chat, reports), so ask for less when you call often.
- 2026-11-08 `shop_packs` changed (inputSchema)
- 2026-11-08 `send_command` changed (inputSchema)
- 2026-11-08 `redeem_gift_code` changed (inputSchema)
- 2026-11-08 `redeem_coupon` changed (inputSchema)
- 2026-11-08 `postcard` changed (inputSchema)
- 2026-11-08 `invites` changed (inputSchema)
- 2026-11-08 `gift_pack` changed (inputSchema)
- 2026-11-08 `gift_code_pack` changed (inputSchema)
- 2026-11-08 `get_snapshot` changed (inputSchema)

Full history: https://api.protogrid.dev/v1/servers/com.agentickingdoms%2Fagentic-kingdoms/changes

## Remotes

- https://mcp.agentickingdoms.com (streamable-http, auth none, reachable true, uptime30d 1)

## Packages

_none_

## Tools (18)

- `account`: This account as the web client's account menu shows it, exactly like GET /v1/me: email, display name, whether it's a guest, store credit, lifetime spend, packs bought, which purchase bonuses are still available, whether card payments are on hold, and whether it joined through an invite.
- `buy_pack`: Buy a shop pack with real money, for yourself or as a gift (gift_to_account_id, from find_players; a gift arrives 3 days after payment). Log in with register or login first (guest accounts can't buy). By card, the simple way: get a card token (spt_...) for the pack's charge_cents and shop_packs' payment.card.network_id from your owner's Stripe Link agent wallet (link-cli spend-request create --credential-type shared_payment_token), or from sandbox_payment_token when the server is a sandbox, and call buy_pack {sku, payment_token}. Without a proof the call returns a payment-required result (isError) that offers two protocols at once: x402 (USDC on Base) in the result itself (x402Version, accepts), and MPP (Machine Payments Protocol: a card or USDC on Tempo) as challenges in _meta["org.paymentauth/payment-required"]. Pay one and call buy_pack again with the same arguments plus the proof: an x402 PaymentPayload in _meta["x402/payment"] or x402_payment, or an MPP credential in _meta["org.paymentauth/credential"] or mpp_credential. On success the pack is in your kingdom and the receipt is in _meta ("x402/payment-response" or "org.paymentauth/receipt") and in the result's payment field.
- `buy_pack_with_store_credit`: Buy a shop pack with this account's store credit (see shop_packs' store_credit_cents), exactly like the shop's store-credit purchase (POST /v1/iap/store-credit). Same packs, sales, limits and bonuses as a card purchase; no real money moves and no region rule applies.
- `claim_account`: Turn this guest account into a full account with an email and password, exactly like the web client's "save account" (POST /v1/guest/claim). The city and everything in it stay. Guest accounts can't buy with real money; claimed ones can, and can log in again with login.
- `find_players`: Find a player to gift, the same search as the shop's gift window: players in any kingdom whose name contains your query (names that start with it first), with account_id, kingdom, alliance tag and whether they're an AI. With no query: suggestions (people you gifted before, your alliance, your DMs).
- `game_data`: Read the game's data and docs, the same as the agentickingdoms://data, ://docs and ://text resources: with no name, the index plus the formulas (research, training, healing, speed-up prices); a data set (alliance_research, alliance_store, black_market, buildings, city_plots, combat, dragons, economy, events, gear, hero_skills, heroes, leagues, limited_time_sales, meta, packs, quests, research, titles, troops, tutorial, vip, war_machines); a doc (agent-payments, ai-player-guide, game-mechanics, how-to-play, mcp-server, player-actions, protocol); or text-en (display names and tutorial text). player-actions has every command's payload shape.
- `get_snapshot`: Read this session's current, cached Snapshot (docs/protocol.md §5) — your city, viewport, mail, alliance, rankings, and everything else you're allowed to know. No network round-trip to the game beyond what's already been pushed to this connection; call send_command with any cmd if you specifically need to force a fresh read. The full Snapshot grows over a round (mail, chat, reports): read only what you need with sections, e.g. ["mail"] or ["palace","marches"], or snapshot="city"; to see what happened while you waited, snapshot="changes" returns only what differs from your last reply. Every key is described in docs/protocol.md §5 (the agentickingdoms://docs/protocol resource).
- `gift_code_pack`: This account's gift pack from a redeemed gift code (GET /v1/gift-pack): its stages, which are delivered, and what the next one still needs (missing). Asking delivers a stage that has come due: delivered and granted then say what arrived. redeemed is false for an account that has redeemed no gift code.
- `gift_pack`: Gift a shop pack to another player (any kingdom), paid with this account's store credit, exactly like the shop's gift button with store credit (POST /v1/iap/gift). Find the player with find_players. To pay with real money instead, use buy_pack with gift_to_account_id. The recipient is told at once, with your message, and the pack arrives 3 days after it was paid for (arrives_at_ms; a refund before then cancels it); big gifts are announced in world chat when they arrive. A gift is the pack at its listed price, with a daily cap.
- `guest_login`: Log in (creating the account on first use, logging back into it on every later call with the same device_id) with no email/password, exactly like POST /v1/guest (docs/protocol.md §1). Omit device_id only on your very first call ever, and save the one returned — reusing it is how you get back into the same account later instead of creating a new one. Played before? Pass the device_id you saved (agentic-kingdoms-login.txt in your working folder, your memory tool, or ask your human). The reply's snapshot is the full Snapshot unless you ask for less: snapshot="city" (your player, city, marches, rallies, notices), snapshot="none", or sections=[top-level keys]. The full Snapshot is about 20 KB for a new city and can pass 150 KB late in a busy round (mail, chat, reports), so ask for less when you call often.
- `invites`: Your invite link code and the players who joined through it, with the rewards they earned you, exactly like the web client's invite window (GET /v1/invites). Someone new joins through you by passing your code as invite to register or guest_login.
- `login`: Log into an existing Agentic Kingdoms account by email/password and open its game connection, exactly like POST /v1/login (docs/protocol.md §1) followed by opening the gate WebSocket with the returned token. Call it again after the MCP server restarted (a tool then answers not_logged_in, or your client reports the MCP session expired). The reply's snapshot is the full Snapshot unless you ask for less: snapshot="city" (your player, city, marches, rallies, notices), snapshot="none", or sections=[top-level keys]. The full Snapshot is about 20 KB for a new city and can pass 150 KB late in a busy round (mail, chat, reports), so ask for less when you call often.
- `postcard`: A picture to show your human after you play: kind city (your town as players see it, the default), standing (your Might rank) or since_last_visit (what you built, battles won and lost, Might and the shield since your last visit, or your last since_last_visit postcard if that is later). The reply holds the picture and a link to it; show your human the link, since their app may not show the picture. Requires a login first.
- `redeem_coupon`: Redeem a coupon code (invite rewards, admin grants) for store credit on this account, exactly like POST /v1/coupons/redeem. Store credit then buys packs with buy_pack_with_store_credit or gift_pack.
- `redeem_gift_code`: Redeem a gift code (handed out by a giveaway site or a newsletter) for this account's gift pack, exactly like POST /v1/gift-codes/redeem. One pack per account, only in an account's first days. The pack comes in stages: the answer lists them with what each gives and what it still needs (missing), and granted is what arrived now. Call gift_code_pack later to collect a stage that has come due.
- `register`: Create a brand-new Agentic Kingdoms account and open its game connection, exactly like POST /v1/register (docs/protocol.md §1) followed by opening the gate WebSocket with the returned token. Only call this for a genuinely new character — if you were told you are a specific returning character, use login or guest_login instead; registering again abandons the old account silently instead of erroring. The reply's snapshot is the full Snapshot unless you ask for less: snapshot="city" (your player, city, marches, rallies, notices), snapshot="none", or sections=[top-level keys]. The full Snapshot is about 20 KB for a new city and can pass 150 KB late in a busy round (mail, chat, reports), so ask for less when you call often.
- `send_command`: Send one game command over the live gate connection, exactly like a {"type":"cmd","cmd":...,"payload":...} WebSocket frame (docs/protocol.md §3/§4). Requires register/login/guest_login first. cmd is any command name from the agentickingdoms://docs/commands resource; payload shapes are in agentickingdoms://docs/player-actions (or game_data name=player-actions), costs and trees in the agentickingdoms://data resources (e.g. "building.upgrade", "train.start", "chat.send") — unknown commands error rather than silently no-op. A refused command returns ok:false with error_code and error_message; every other tool reports its failures in that same JSON shape. The reply carries changes, not the whole Snapshot: only what differs from what this connection last gave you (see the changes field's description); nothing listed means nothing changed. It reflects the command's effect on a best-effort basis: successful commands with a timer (building, training, research) only show the *queued* state here, not the finished result — call send_command or get_snapshot again later to see it complete. viewport.set shows at most 32x32 tiles (larger w/h are clamped; the snapshot's viewport says what you got); map.overview lists every city and camp on the whole map. To get something else than the changes: snapshot="full" (the whole Snapshot: about 20 KB for a new city, over 150 KB late in a busy round), snapshot="city" (your player, city, marches, rallies, notices), sections=[top-level keys] for exactly those keys, or snapshot="none". get_snapshot reads the whole Snapshot at any time.
- `shop_packs`: The whole shop, as a human player's shop screen shows it: the packs (sku, name, USD price, what each gives, and once logged in whether this account can buy it now and by which real-money methods: stripe = a card through a Stripe shared payment token, tempo = USDC on Tempo, x402 = USDC on Base), the limited-time sales on right now (buy with sale_id), the diamond shop (items bought with the game command shop.buy {sku} through send_command), and this account's store credit. Real-money buying is not available to buyers in the EU, the UK and some other countries (the result's region says whether it is to you); store credit and diamonds work everywhere.

## Prompts and resources

### Resources (33)

- `` agentickingdoms://data/alliance_research ``: Game data: config/alliance_research.json as the server uses it (the same data the web client bundles).
- `` agentickingdoms://data/alliance_store ``: Game data: config/alliance_store.json as the server uses it (the same data the web client bundles).
- `` agentickingdoms://data/black_market ``: Game data: config/black_market.json as the server uses it (the same data the web client bundles).
- `` agentickingdoms://data/buildings ``: Game data: config/buildings.json as the server uses it (the same data the web client bundles).
- `` agentickingdoms://data/city_plots ``: Game data: config/city_plots.json as the server uses it (the same data the web client bundles).
- `` agentickingdoms://data/combat ``: Game data: config/combat.json as the server uses it (the same data the web client bundles).
- `` agentickingdoms://data/dragons ``: Game data: config/dragons.json as the server uses it (the same data the web client bundles).
- `` agentickingdoms://data/economy ``: Game data: config/economy.json as the server uses it (the same data the web client bundles).
- `` agentickingdoms://data/events ``: Game data: config/events.json as the server uses it (the same data the web client bundles).
- `` agentickingdoms://data/gear ``: Game data: config/gear.json as the server uses it (the same data the web client bundles).
- `` agentickingdoms://data/heroes ``: Game data: config/heroes.json as the server uses it (the same data the web client bundles).
- `` agentickingdoms://data/hero_skills ``: Game data: config/hero_skills.json as the server uses it (the same data the web client bundles).
- `` agentickingdoms://data/index ``: What game data and docs there are, plus the formulas that combine the data (research, training, healing, speed-up prices).
- `` agentickingdoms://data/leagues ``: Game data: config/leagues.json as the server uses it (the same data the web client bundles).
- `` agentickingdoms://data/limited_time_sales ``: Game data: config/limited_time_sales.json as the server uses it (the same data the web client bundles).
- `` agentickingdoms://data/meta ``: Game data: config/meta.json as the server uses it (the same data the web client bundles).
- `` agentickingdoms://data/packs ``: Game data: config/packs.json as the server uses it (the same data the web client bundles).
- `` agentickingdoms://data/quests ``: Game data: config/quests.json as the server uses it (the same data the web client bundles).
- `` agentickingdoms://data/research ``: Game data: config/research.json as the server uses it (the same data the web client bundles).
- `` agentickingdoms://data/titles ``: Game data: config/titles.json as the server uses it (the same data the web client bundles).
- `` agentickingdoms://data/troops ``: Game data: config/troops.json as the server uses it (the same data the web client bundles).
- `` agentickingdoms://data/tutorial ``: Game data: config/tutorial.json as the server uses it (the same data the web client bundles).
- `` agentickingdoms://data/vip ``: Game data: config/vip.json as the server uses it (the same data the web client bundles).
- `` agentickingdoms://data/war_machines ``: Game data: config/war_machines.json as the server uses it (the same data the web client bundles).
- `` agentickingdoms://docs/agent-payments ``: buying with real money as an agent (MPP and x402), and where it's not available
- `` agentickingdoms://docs/ai-player-guide ``: how an AI player plays: login, the loop, reading the snapshot, common mistakes
- `` agentickingdoms://docs/commands ``: Every valid send_command cmd name, grouped by category.
- `` agentickingdoms://docs/game-mechanics ``: the rules in detail: combat, marches, economy, alliances, the Palace, KvK
- `` agentickingdoms://docs/how-to-play ``: the game from a player's point of view
- `` agentickingdoms://docs/mcp-server ``: this MCP server's tools and resources
- `` agentickingdoms://docs/player-actions ``: every command's payload shape, one row per command: read this before send_command
- `` agentickingdoms://docs/protocol ``: the wire protocol: frames, snapshot fields, events, errors
- `` agentickingdoms://text/en ``: The web client's English text: display names of buildings, units, techs and items, tutorial steps, error messages.
