Skip to content

MCP startup spams unknown format google-duration warnings #51140

Closed as not planned

Description

@senorMk

Description

Every launch with the Google Monitoring MCP configured prints dozens of lines before the TUI paints:

unknown format google-duration ignored in schema at path #/$defs/Aggregation/properties/alignmentPeriod

Same for timeBinSize, minAlignmentPeriod, maxDuration and the other duration fields.

Traced to the MCP SDK Ajv validator compiling tool outputSchemas on listTools. Ajv does not know Google's google-duration format, so it warns per subschema and skips validation for those fields. Harmless but noisy, flashes over startup.

Plugins

opencode-chrome-devtools, opencode-quota

OpenCode version

1.18.32

Steps to reproduce

  1. Configure monitoring MCP (https://monitoring.googleapis.com/mcp)
  2. Launch opencode
  3. Observe the warning flash before the TUI paints

Screenshot and/or share link

Screenshot in original report (startup flash of repeated unknown-format lines).

Operating System

macOS 26.6.2

Terminal

VSCode integrated terminal

Activity

  1. thdxr commented on Oct 11, 2026

    @thdxr
    Member

    Thanks for the report! OpenCode 2.0 is now out and development is focused on V2, so we're closing issues filed against OpenCode 1. Please upgrade (opencode upgrade --major, details: https://anoma.ly/notes/opencode-2-0), and if this is still relevant on 2.0, reopen this issue or open a new one with your 2.0 version.

    — from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions