{
  "schema_version": 1,
  "implementation_version": "0.1.0",
  "status": "local-development",
  "public_service_available": false,
  "transport": {
    "type": "streamable-http",
    "path": "/mcp",
    "methods": [
      "POST"
    ],
    "metadata_paths": [
      "/.well-known/oauth-protected-resource/mcp",
      "/.well-known/oauth-protected-resource"
    ]
  },
  "authentication": {
    "type": "oauth2-bearer",
    "token_profile": "RS256 JWT access token (at+jwt)",
    "credentials_in_tool_arguments": false,
    "scopes": [
      "platform:read",
      "pages:read"
    ],
    "gateway_baseline_scope": "platform:read"
  },
  "tools": [
    {
      "name": "runmoa_list_connections",
      "required_scope": "platform:read",
      "description": "List currently authorized platform connections.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "type": "object",
        "properties": {},
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      }
    },
    {
      "name": "runmoa_get_platform",
      "required_scope": "platform:read",
      "description": "Read platform name and language.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "type": "object",
        "properties": {
          "connection_id": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          }
        },
        "required": [
          "connection_id"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      }
    },
    {
      "name": "runmoa_list_pages",
      "required_scope": "pages:read",
      "description": "Read up to 50 page metadata records.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "type": "object",
        "properties": {
          "connection_id": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "after": {
            "type": "integer",
            "minimum": 0,
            "maximum": 999999999999999
          }
        },
        "required": [
          "connection_id"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      }
    },
    {
      "name": "runmoa_get_page",
      "required_scope": "pages:read",
      "description": "Read one page metadata and block-type inventory; no raw HTML or scripts.",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "type": "object",
        "properties": {
          "connection_id": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "page_id": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 999999999999999
          }
        },
        "required": [
          "connection_id",
          "page_id"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      }
    }
  ]
}
