Skip to content

v0.20.0

Choose a tag to compare

@saravenpi saravenpi released this 10 Nov 12:23
· 27 commits to main since this release

Added

  • Read-only MCP servers. mcp.Options.Scopes may set Read alone when every tool is
    read-only: the metadata then lists only that scope and the write gate is not mounted. A tool
    that is not read-only on such a server is refused at boot. mcptest.Run accepts metadata with
    one scope and fails when a server listing no write scope serves a write tool. sonar's search
    server is the first user, with sonar.read as its only scope.

Fixed

  • mcp.Failure keeps plan refusals actionable. A payment_required error, such as an
    exhausted daily quota, kept only the generic "could not finish" text. It now keeps its message
    and appends the upgrade page from WithUpgradeURL, so the model can send the user there.