# MiaoMiao City — Open Civilization MCP Protocol & Capability Reference

> Version `1.3.0` · Generated deterministically from `greenfield/runtime/mcp-gateway/src/registry.mjs`.

## 1. Endpoints & Protocol

- **Public Anonymous MCP (No Sign-In)**: `https://mcp.miaomiaocity.com/mcp` (`streamable-http`)
- **Personal Account OAuth 2.1 MCP**: `https://mcp.miaomiaocity.com/mcp/account` (`streamable-http`, OAuth 2.1 + PKCE `S256` + RFC 9728 + RFC 8707 + RFC 7591 DCR)
- **Protected Resource Metadata**: `https://mcp.miaomiaocity.com/.well-known/oauth-protected-resource/mcp/account`
- **Public Health Endpoint**: `https://mcp.miaomiaocity.com/health`
- **Official MCP Registry Name**: `com.miaomiaocity/civilization` (https://registry.modelcontextprotocol.io/v0.1/servers/com.miaomiaocity%2Fcivilization/versions/latest)
- **Supported MCP Protocol Versions**: `2026-07-28`, `2025-11-25`, `2025-06-18`, `2025-03-26`, `2024-11-05`
- **Supported Content Locales**: `zh-CN`, `zh-TW`, `en`

## 2. Temporal & Data Authority Rules

- **Simulated Civilization World**: MiaoMiao City is a fictional, continuously running digital civilization. Public world data uses **CatCity Time (`CCT`, `UTC+07:00`)** with a **`+20`-year public calendar offset** alongside real UTC audit timestamps.
- **Real-World OAuth & Account Data**: OAuth 2.1 tokens, consent/revocation records, and `/mcp/account` personal tools strictly use **genuine real-world ISO-8601 UTC** with **zero** `+20`-year offset (`simulatedCalendarOffsetApplied: false`).
- **Planned vs Observed Distinction**: Railway station schedules and journey plans reflect published schedules (`timing: PLANNED_ONLY`) rather than live train delay telemetry. Unavailable or stale projections are explicitly reported and never fabricated.
- **Website Account vs Cat Resident**: Website accounts represent human visitors only and never map to simulated cat residents, population ordinals, or simulated railway tickets.

## 3. Rate Limits & Payload Bounds

- Max Request Body: `65536` bytes (64 KiB)
- Max Response Payload: `262144` bytes (256 KiB)
- Request Timeout: `12000` ms (Upstream timeout: `8000` ms)
- Public Rate Limit: `60` req/min/IP (Concurrency: `8`/IP, `32` global)
- Personal Account Rate Limit: `30` req/min/user, `60` req/min/client

## 4. Public Read-Only Tools (`14` Tools on `/mcp`)

### `civilization_get_overview` — Get MiaoMiao City Civilization Overview

- **Endpoint**: `POST https://mcp.miaomiaocity.com/mcp` (Anonymous)
- **Authority**: `website_ai_knowledge_corpus_v1 + astronomy_publication_v1`
- **Description**: Read MiaoMiao City worldview, simulation vs real-world calendar rules (CCT UTC+07:00, +20 public year offset), 8 canonical districts, authoritative data sources, and documented Phase 1 capability gaps.
- **Example Arguments**: `{"locale":"zh-CN"}`
- **Input JSON Schema**:
```json
{
  "type": "object",
  "properties": {
    "locale": {
      "default": "zh-CN",
      "description": "Official MiaoMiao City language code: zh-CN, zh-TW, or en.",
      "type": "string",
      "enum": [
        "zh-CN",
        "zh-TW",
        "en"
      ]
    }
  },
  "required": [
    "locale"
  ],
  "additionalProperties": false
}
```

### `civilization_search_knowledge` — Search Official MiaoMiao City Knowledge Corpus

- **Endpoint**: `POST https://mcp.miaomiaocity.com/mcp` (Anonymous)
- **Authority**: `website_ai_knowledge_corpus_v1`
- **Description**: Search published MiaoMiao City articles across worldview, 10 civilization museum walls, folklore stories, education, healthcare, districts, energy, railway, finance, and licensing in zh-CN, zh-TW, or en.
- **Example Arguments**: `{"query":"聚变能源","locale":"zh-CN","limit":5}`
- **Input JSON Schema**:
```json
{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "Keywords or phrase to search in official MiaoMiao City public knowledge."
    },
    "locale": {
      "default": "zh-CN",
      "description": "Official MiaoMiao City language code: zh-CN, zh-TW, or en.",
      "type": "string",
      "enum": [
        "zh-CN",
        "zh-TW",
        "en"
      ]
    },
    "category": {
      "default": "all",
      "description": "Optional domain category filter.",
      "type": "string",
      "enum": [
        "all",
        "overview",
        "city_places",
        "civilization_museum",
        "stories_folklore",
        "education",
        "healthcare_life",
        "transportation",
        "environment_energy",
        "finance_economy",
        "governance_licenses"
      ]
    },
    "limit": {
      "default": 5,
      "description": "Maximum number of ranked segments to return (1-10).",
      "type": "integer",
      "minimum": 1,
      "maximum": 10
    }
  },
  "required": [
    "query",
    "locale",
    "category",
    "limit"
  ],
  "additionalProperties": false
}
```

### `civilization_get_article` — Read Official MiaoMiao City Public Article

- **Endpoint**: `POST https://mcp.miaomiaocity.com/mcp` (Anonymous)
- **Authority**: `website_ai_knowledge_corpus_v1`
- **Description**: Read all verified public text segments and canonical URL of an official MiaoMiao City page by route path (e.g. "/civilization/overview", "/stories", "/education/overview", "/city/places/central-residential") or 24-hex sourceId.
- **Example Arguments**: `{"slug":"energy/overview","locale":"zh-CN"}`
- **Input JSON Schema**:
```json
{
  "type": "object",
  "properties": {
    "path": {
      "description": "Canonical route path without locale prefix (e.g. \"/civilization/overview\") or double-underscore slug.",
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "sourceId": {
      "description": "Exact 24-character hexadecimal sourceId returned by civilization_search_knowledge.",
      "type": "string",
      "pattern": "^[a-f0-9]{24}$"
    },
    "locale": {
      "default": "zh-CN",
      "description": "Official MiaoMiao City language code: zh-CN, zh-TW, or en.",
      "type": "string",
      "enum": [
        "zh-CN",
        "zh-TW",
        "en"
      ]
    }
  },
  "required": [
    "locale"
  ],
  "additionalProperties": false
}
```

### `geography_list_districts` — List MiaoMiao City Districts & Stable Identifiers

- **Endpoint**: `POST https://mcp.miaomiaocity.com/mcp` (Anonymous)
- **Authority**: `canonical_8_districts_registry_v1`
- **Description**: List all 8 canonical districts/centers of MiaoMiao City with their stable identifiers (slug, districtKey, CMO siteId, 3-letter cargo shortCode, railway stationId), simulated map coordinates, connected rail lines, and official URLs.
- **Example Arguments**: `{"locale":"zh-CN"}`
- **Input JSON Schema**:
```json
{
  "type": "object",
  "properties": {
    "locale": {
      "default": "zh-CN",
      "description": "Official MiaoMiao City language code: zh-CN, zh-TW, or en.",
      "type": "string",
      "enum": [
        "zh-CN",
        "zh-TW",
        "en"
      ]
    }
  },
  "required": [
    "locale"
  ],
  "additionalProperties": false
}
```

### `geography_get_district` — Get MiaoMiao City District Profile & Topology

- **Endpoint**: `POST https://mcp.miaomiaocity.com/mcp` (Anonymous)
- **Authority**: `canonical_8_districts_registry_v1 + website_ai_knowledge_corpus_v1`
- **Description**: Read detailed geography, simulated map coordinates, rail connectivity, and official place descriptions for one MiaoMiao City district (accepts slug like "central-residential", shortCode like "CEN", stationId like "I16", or localized name).
- **Example Arguments**: `{"district":"central-residential","locale":"zh-CN"}`
- **Input JSON Schema**:
```json
{
  "type": "object",
  "properties": {
    "district": {
      "type": "string",
      "minLength": 1,
      "maxLength": 80,
      "description": "District identifier: slug (\"central-residential\"), shortCode (\"CEN\"..\"JIA\"), stationId (\"I16\"..\"P23\"), or localized name."
    },
    "locale": {
      "default": "zh-CN",
      "description": "Official MiaoMiao City language code: zh-CN, zh-TW, or en.",
      "type": "string",
      "enum": [
        "zh-CN",
        "zh-TW",
        "en"
      ]
    }
  },
  "required": [
    "district",
    "locale"
  ],
  "additionalProperties": false
}
```

### `weather_get_current` — Get Current MiaoMiao City Weather Observations (CMO)

- **Endpoint**: `POST https://mcp.miaomiaocity.com/mcp` (Anonymous)
- **Authority**: `cmo_environment_publication_v1`
- **Description**: Read current Cat Meteorological Organization (CMO) weather observations for 1 to 8 MiaoMiao City districts from greenfield/environment-v1/weather, including observation timestamps, validity windows, 30-minute freshness checks, and physical units.
- **Example Arguments**: `{"district":"CEN","locale":"zh-CN"}`
- **Input JSON Schema**:
```json
{
  "type": "object",
  "properties": {
    "districts": {
      "description": "Optional list of 1-8 district identifiers (slug, shortCode CEN..JIA, stationId I16..P23, or siteId). Defaults to all 8 districts.",
      "minItems": 1,
      "maxItems": 8,
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 80
      }
    },
    "locale": {
      "default": "zh-CN",
      "description": "Official MiaoMiao City language code: zh-CN, zh-TW, or en.",
      "type": "string",
      "enum": [
        "zh-CN",
        "zh-TW",
        "en"
      ]
    }
  },
  "required": [
    "locale"
  ],
  "additionalProperties": false
}
```

### `weather_get_forecast` — Get MiaoMiao City Hourly & Daily Weather Forecast

- **Endpoint**: `POST https://mcp.miaomiaocity.com/mcp` (Anonymous)
- **Authority**: `cmo_environment_publication_v1`
- **Description**: Read CMO hourly (1-48h) and daily (1-7d) meteorological forecasts for a MiaoMiao City district, with optional published sun/moon astronomy events.
- **Example Arguments**: `{"district":"jialan-fisheries","days":3,"locale":"en"}`
- **Input JSON Schema**:
```json
{
  "type": "object",
  "properties": {
    "district": {
      "type": "string",
      "minLength": 1,
      "maxLength": 80,
      "description": "District identifier (slug, shortCode CEN..JIA, stationId I16..P23, or siteId)."
    },
    "hours": {
      "default": 24,
      "description": "Number of upcoming hourly forecast entries to return (1-48).",
      "type": "integer",
      "minimum": 1,
      "maximum": 48
    },
    "days": {
      "default": 7,
      "description": "Number of daily forecast entries to return (1-7).",
      "type": "integer",
      "minimum": 1,
      "maximum": 7
    },
    "includeAstronomy": {
      "default": false,
      "description": "Include published sunrise/sunset and moonrise/moonset instants from astronomy/v1 when available.",
      "type": "boolean"
    },
    "locale": {
      "default": "zh-CN",
      "description": "Official MiaoMiao City language code: zh-CN, zh-TW, or en.",
      "type": "string",
      "enum": [
        "zh-CN",
        "zh-TW",
        "en"
      ]
    }
  },
  "required": [
    "district",
    "hours",
    "days",
    "includeAstronomy",
    "locale"
  ],
  "additionalProperties": false
}
```

### `railway_get_network_status` — Get MiaoMiao City Railway Network & Publication Head Status

- **Endpoint**: `POST https://mcp.miaomiaocity.com/mcp` (Anonymous)
- **Authority**: `rail_playback_head_publication_v1`
- **Description**: Read MiaoMiao City railway network stations (I16..P23), 13 lines (R1..R13 U/D), and the active cryptographic R2 Railway publication head (greenfield/round3-railway/current.json).
- **Example Arguments**: `{"locale":"zh-CN"}`
- **Input JSON Schema**:
```json
{
  "type": "object",
  "properties": {
    "locale": {
      "default": "zh-CN",
      "description": "Official MiaoMiao City language code: zh-CN, zh-TW, or en.",
      "type": "string",
      "enum": [
        "zh-CN",
        "zh-TW",
        "en"
      ]
    }
  },
  "required": [
    "locale"
  ],
  "additionalProperties": false
}
```

### `railway_query_station_schedule` — Query MiaoMiao City Station Planned Timetable

- **Endpoint**: `POST https://mcp.miaomiaocity.com/mcp` (Anonymous)
- **Authority**: `rail_station_schedule_v1 (PLANNED_ONLY)`
- **Description**: Query leased nominal station arrivals and departures (CatCity-StationRead-v1) for any of the 8 MiaoMiao City stations (I16..P23 or district name/code). Explicitly reports timing as PLANNED_ONLY.
- **Example Arguments**: `{"station":"I16","limit":8,"locale":"zh-CN"}`
- **Input JSON Schema**:
```json
{
  "type": "object",
  "properties": {
    "station": {
      "type": "string",
      "minLength": 1,
      "maxLength": 80,
      "description": "Station ID (I16, N21, J21, F8, F20, P29, T19, P23) or district slug/shortCode/name."
    },
    "mode": {
      "default": "upcoming",
      "description": "\"upcoming\" returns chronological events in [-10m, +24h]; \"service_day\" returns scheduled visits for the current CCT service day.",
      "type": "string",
      "enum": [
        "upcoming",
        "service_day"
      ]
    },
    "event": {
      "default": "both",
      "description": "Filter by arrival or departure events when mode is \"upcoming\".",
      "type": "string",
      "enum": [
        "both",
        "arrival",
        "departure"
      ]
    },
    "line": {
      "description": "Optional line filter, e.g. \"R1\" or \"R1U\".",
      "type": "string",
      "pattern": "^R(?:[1-9]|1[0-3])[UD]?$"
    },
    "category": {
      "default": "PUBLIC",
      "description": "Movement category filter; defaults to PUBLIC passenger services.",
      "type": "string",
      "enum": [
        "PUBLIC",
        "NON_PUBLIC",
        "ALL"
      ]
    },
    "limit": {
      "default": 10,
      "description": "Maximum number of schedule entries to return (1-20).",
      "type": "integer",
      "minimum": 1,
      "maximum": 20
    },
    "locale": {
      "default": "zh-CN",
      "description": "Official MiaoMiao City language code: zh-CN, zh-TW, or en.",
      "type": "string",
      "enum": [
        "zh-CN",
        "zh-TW",
        "en"
      ]
    }
  },
  "required": [
    "station",
    "mode",
    "event",
    "category",
    "limit",
    "locale"
  ],
  "additionalProperties": false
}
```

### `railway_plan_journey` — Plan MiaoMiao City Multi-Leg Rail Journey

- **Endpoint**: `POST https://mcp.miaomiaocity.com/mcp` (Anonymous)
- **Authority**: `rail_station_schedule_v1 (PLANNED_ONLY)`
- **Description**: Find verified planned rail journeys between MiaoMiao City stations (or via a specific line R1..R13) within the next 7 days, reusing the authoritative World Rail planner and active RailReader lease check.
- **Example Arguments**: `{"origin":"CEN","destination":"DAW","locale":"zh-CN"}`
- **Input JSON Schema**:
```json
{
  "type": "object",
  "properties": {
    "origin": {
      "type": "string",
      "minLength": 1,
      "maxLength": 80,
      "description": "Origin station ID (I16..P23) or district slug/shortCode/name."
    },
    "destination": {
      "description": "Destination station ID (I16..P23) or district slug/shortCode/name. Required unless viaLine is specified.",
      "type": "string",
      "minLength": 1,
      "maxLength": 80
    },
    "viaLine": {
      "description": "Optional required line R1..R13.",
      "type": "string",
      "pattern": "^R(?:[1-9]|1[0-3])$"
    },
    "serviceDate": {
      "description": "Optional CCT date (accepts public CatCity year e.g. 2046-11-28 or storage year 2026-11-28; defaults to today in CCT).",
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
    },
    "afterTime": {
      "description": "Optional earliest departure time in CCT HH:mm (24h).",
      "type": "string",
      "pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$"
    },
    "maxTransfers": {
      "default": 2,
      "description": "Maximum number of train transfers allowed (0-3).",
      "type": "integer",
      "minimum": 0,
      "maximum": 3
    },
    "bufferMinutes": {
      "default": 15,
      "description": "Minimum transfer buffer in minutes (5-120).",
      "type": "integer",
      "minimum": 5,
      "maximum": 120
    },
    "locale": {
      "default": "zh-CN",
      "description": "Official MiaoMiao City language code: zh-CN, zh-TW, or en.",
      "type": "string",
      "enum": [
        "zh-CN",
        "zh-TW",
        "en"
      ]
    }
  },
  "required": [
    "origin",
    "maxTransfers",
    "bufferMinutes",
    "locale"
  ],
  "additionalProperties": false
}
```

### `life_get_public_summary` — Get MiaoMiao City Published Population & Public Life Summary

- **Endpoint**: `POST https://mcp.miaomiaocity.com/mcp` (Anonymous)
- **Authority**: `life_public_archive_v1`
- **Description**: Read MiaoMiao City published citywide population, Life simulation frontier timestamp, daily births/departures count, and optional field-whitelisted public Life Museum birth/departure events from greenfield/round1-p0-p3/life.
- **Example Arguments**: `{"locale":"zh-CN"}`
- **Input JSON Schema**:
```json
{
  "type": "object",
  "properties": {
    "includeRecentEvents": {
      "default": false,
      "description": "Include up to eventLimit recent whitelisted public birth and departure records from the Life Museum snapshot.",
      "type": "boolean"
    },
    "eventLimit": {
      "default": 5,
      "description": "Maximum number of recent public births and departures to include when includeRecentEvents is true (1-9).",
      "type": "integer",
      "minimum": 1,
      "maximum": 9
    },
    "locale": {
      "default": "zh-CN",
      "description": "Official MiaoMiao City language code: zh-CN, zh-TW, or en.",
      "type": "string",
      "enum": [
        "zh-CN",
        "zh-TW",
        "en"
      ]
    }
  },
  "required": [
    "includeRecentEvents",
    "eventLimit",
    "locale"
  ],
  "additionalProperties": false
}
```

### `marriage_get_daily_summary` — Get MiaoMiao City Published Daily Marriage Register Summary

- **Endpoint**: `POST https://mcp.miaomiaocity.com/mcp` (Anonymous)
- **Authority**: `marriages_public_projection_v1`
- **Description**: Read aggregate published daily marriage count and business window from greenfield/round1-p0-p3/marriage without exposing individual resident records.
- **Example Arguments**: `{"locale":"zh-CN"}`
- **Input JSON Schema**:
```json
{
  "type": "object",
  "properties": {
    "date": {
      "description": "Optional CCT date (public year e.g. 2046-11-28 or storage year 2026-11-28). Defaults to current CCT date.",
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
    },
    "locale": {
      "default": "zh-CN",
      "description": "Official MiaoMiao City language code: zh-CN, zh-TW, or en.",
      "type": "string",
      "enum": [
        "zh-CN",
        "zh-TW",
        "en"
      ]
    }
  },
  "required": [
    "locale"
  ],
  "additionalProperties": false
}
```

### `logistics_query_cargo` — Query MiaoMiao City Published Rail Cargo & Commodity Statistics

- **Endpoint**: `POST https://mcp.miaomiaocity.com/mcp` (Anonymous)
- **Authority**: `catcity_ai_cargo_publication_v1`
- **Description**: Query published rail cargo executions and commodity statistics across MiaoMiao City districts from greenfield/round4-logistics and catcity-ai-cargo-v1 (05:00 CCT business day cutover).
- **Example Arguments**: `{"limit":6,"locale":"zh-CN"}`
- **Input JSON Schema**:
```json
{
  "type": "object",
  "properties": {
    "query": {
      "default": "examples",
      "description": "\"examples\" (or empty) for top commodities overview, or a commodity name/keyword in zh-CN, zh-TW, or en.",
      "type": "string",
      "maxLength": 120
    },
    "origin": {
      "description": "Optional origin district filter (slug, shortCode CEN..JIA, stationId I16..P23, or districtKey).",
      "type": "string",
      "minLength": 1,
      "maxLength": 80
    },
    "sourceClass": {
      "description": "Optional cargo program source class filter: DAILY or PERIODIC.",
      "type": "string",
      "enum": [
        "DAILY",
        "PERIODIC"
      ]
    },
    "serviceDate": {
      "description": "Optional cargo business day (05:00 CCT cutover; accepts public 2046+ or storage 2026+ date).",
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
    },
    "limit": {
      "default": 10,
      "description": "Maximum number of commodities to return (1-15).",
      "type": "integer",
      "minimum": 1,
      "maximum": 15
    },
    "locale": {
      "default": "zh-CN",
      "description": "Official MiaoMiao City language code: zh-CN, zh-TW, or en.",
      "type": "string",
      "enum": [
        "zh-CN",
        "zh-TW",
        "en"
      ]
    }
  },
  "required": [
    "query",
    "limit",
    "locale"
  ],
  "additionalProperties": false
}
```

### `economy_get_overview` — Get MiaoMiao City Economy, Finance & Currency Overview

- **Endpoint**: `POST https://mcp.miaomiaocity.com/mcp` (Anonymous)
- **Authority**: `website_finance_corpus_v1 + catcity_ai_cargo_publication_v1`
- **Description**: Read MiaoMiao City official monetary, financial, and currency design from published /finance articles, together with explicit capability boundaries for unpublished item/price SQL tables.
- **Example Arguments**: `{"locale":"zh-CN"}`
- **Input JSON Schema**:
```json
{
  "type": "object",
  "properties": {
    "locale": {
      "default": "zh-CN",
      "description": "Official MiaoMiao City language code: zh-CN, zh-TW, or en.",
      "type": "string",
      "enum": [
        "zh-CN",
        "zh-TW",
        "en"
      ]
    }
  },
  "required": [
    "locale"
  ],
  "additionalProperties": false
}
```

## 5. Public Resources (`5` Static + `2` Templates on `/mcp`)

- **`miaomiaocity://civilization/overview/zh-CN`** (`civilization-overview-zh-CN`, `application/json`): Official MiaoMiao City worldview, calendar rules, authorities, and Phase 1 capability boundaries (zh-CN).
- **`miaomiaocity://civilization/overview/zh-TW`** (`civilization-overview-zh-TW`, `application/json`): Official MiaoMiao City worldview, calendar rules, authorities, and Phase 1 capability boundaries (zh-TW).
- **`miaomiaocity://civilization/overview/en`** (`civilization-overview-en`, `application/json`): Official MiaoMiao City worldview, calendar rules, authorities, and Phase 1 capability boundaries (en).
- **`miaomiaocity://civilization/capabilities`** (`civilization-capabilities-manifest`, `application/json`): Machine-readable registry of active Phase 1 read authorities and explicitly deferred capability gaps.
- **`miaomiaocity://geography/districts/zh-CN`** (`geography-districts-zh-CN`, `application/json`): 猫猫城八大分区稳定标识符、城市平面坐标、铁路连接与官方页面链接。
- **`miaomiaocity://civilization/article/{locale}/{slug}`** (`civilization-article-by-slug`, `application/json`): Read an official MiaoMiao City article by locale (zh-CN, zh-TW, en) and double-underscore route slug (e.g. civilization__overview, city__places__central-residential).
- **`miaomiaocity://geography/districts/{locale}`** (`geography-districts-by-locale`, `application/json`): All 8 canonical districts, multi-system IDs, map coordinates, and rail topology in zh-CN, zh-TW, or en.

## 6. Personal Account OAuth 2.1 Tools (`3` Tools on `/mcp/account`)

### `account_get_profile` — Get Authorized Website Account Profile

- **Endpoint**: `POST https://mcp.miaomiaocity.com/mcp/account` (OAuth 2.1 Bearer)
- **Required Permissions**: `account.profile.read`, `account.email.read`
- **Authority**: `miaomiaocity_account_identity_v1`
- **Description**: Read the authenticated user's own MiaoMiao City website account profile, verified email address, login providers, and explicit resident-separation boundary. Strictly read-only; requires baseline OAuth identity permissions ('account.profile.read' and 'account.email.read').
- **Example Arguments**: `{"locale":"zh-CN"}`
- **Input JSON Schema**:
```json
{
  "type": "object",
  "properties": {
    "locale": {
      "default": "zh-CN",
      "description": "Preferred response localization (zh-CN, zh-TW, or en).",
      "type": "string",
      "enum": [
        "zh-CN",
        "zh-TW",
        "en"
      ]
    }
  },
  "required": [
    "locale"
  ],
  "additionalProperties": false
}
```

### `account_list_connected_apps` — List Connected MCP OAuth Applications

- **Endpoint**: `POST https://mcp.miaomiaocity.com/mcp/account` (OAuth 2.1 Bearer)
- **Required Permissions**: `account.profile.read`, `account.grants.read`
- **Authority**: `miaomiaocity_oauth_grants_v1`
- **Description**: List the authenticated user's own authorized or revoked MCP OAuth client applications, granted MiaoMiao City read-only permissions, and real UTC grant timestamps. Requires 'account.grants.read'.
- **Example Arguments**: `{"includeRevoked":false,"locale":"zh-CN"}`
- **Input JSON Schema**:
```json
{
  "type": "object",
  "properties": {
    "includeRevoked": {
      "default": false,
      "description": "Whether to include previously revoked client grants.",
      "type": "boolean"
    },
    "locale": {
      "default": "zh-CN",
      "description": "Preferred response localization (zh-CN, zh-TW, or en).",
      "type": "string",
      "enum": [
        "zh-CN",
        "zh-TW",
        "en"
      ]
    }
  },
  "required": [
    "includeRevoked",
    "locale"
  ],
  "additionalProperties": false
}
```

### `account_list_saved_conversations` — List Saved Website AI Guide Conversations

- **Endpoint**: `POST https://mcp.miaomiaocity.com/mcp/account` (OAuth 2.1 Bearer)
- **Required Permissions**: `account.profile.read`, `account.ai_guide_conversations.read`
- **Authority**: `miaomiaocity_ai_guide_history_index_v1`
- **Description**: Read the authenticated user's own saved website AI Guide conversation index (titles, statuses, UTC creation/activity timestamps, and revision numbers). Requires optional permission 'account.ai_guide_conversations.read'.
- **Example Arguments**: `{"limit":10,"locale":"zh-CN"}`
- **Input JSON Schema**:
```json
{
  "type": "object",
  "properties": {
    "limit": {
      "default": 10,
      "description": "Maximum number of saved conversation index entries (1..20).",
      "type": "integer",
      "minimum": 1,
      "maximum": 20
    },
    "locale": {
      "default": "zh-CN",
      "description": "Preferred response localization (zh-CN, zh-TW, or en).",
      "type": "string",
      "enum": [
        "zh-CN",
        "zh-TW",
        "en"
      ]
    }
  },
  "required": [
    "limit",
    "locale"
  ],
  "additionalProperties": false
}
```

## 7. Canonical 8 Districts & Identifiers

| Slug | District Key | Weather Site ID | Cargo Short Code | Rail Station ID | EN Name | zh-CN Name |
| --- | --- | --- | --- | --- | --- | --- |
| `central-residential` | `central` | `centralResidential` | `CEN` | `I16` | Central Residential District | 中央居住区 |
| `riverlands-manufacturing` | `riverlands` | `riverlandsManufacturing` | `JNG` | `N21` | Riverlands Manufacturing District | 江南制造区 |
| `fertile-plains-agriculture` | `fertile_plains` | `fertilePlainsAgriculture` | `FEN` | `J21` | Fertile Plains Agricultural District | 丰原农业区 |
| `oasis-agriculture` | `oasis` | `oasisAgriculture` | `OAS` | `F8` | Oasis Agricultural District | 绿洲农业区 |
| `grassland-agriculture` | `grassland` | `grasslandAgriculture` | `GRS` | `F20` | Grassland Agricultural District | 草原农业区 |
| `dawn-energy` | `dawn_energy` | `dawnEnergy` | `DAW` | `P29` | Dawn Energy Center | 晨曦能源中心 |
| `bluewater-energy` | `bluewater_energy` | `bluewaterEnergy` | `BLU` | `T19` | Bluewater Energy Center | 澜海能源中心 |
| `jialan-fisheries` | `jialan_fisheries` | `jialan_fisheries` | `JIA` | `P23` | Jialan Fisheries Center | 嘉澜渔业中心 |

## 8. Planned Capabilities (Not Yet Available)

- **Robotic Cat External Dialogue (`ai_guide_ask`)** — *Not yet available*: Reserved internal capability contract for authenticated single/multi-turn dialogue with MiaoMiao City's Robotic Cat under strict per-user quota, cost circuit breakers, and loop prevention. Disabled in Phase 3.
- **Agent-to-Agent (A2A) Civilization Interaction (`a2a_gateway`)** — *Not yet available*: Planned open Agent-to-Agent (A2A) interaction layer for autonomous external agents. No Agent Card or A2A endpoint is hosted in Phase 3.
