chore(deps): bump go.klarlabs.de/mcp to v1.22.0#64
Closed
felixgeelhaar wants to merge 1 commit into
Closed
Conversation
Upgrade the MCP framework to v1.22.0. All changes in this range are additive/opt-in, so no code changes are required. Free wins include deterministic tools/list ordering, full JSON Schema 2020-12 for input/output schemas, and modern MCP error codes. Verified: go mod tidy + go build ./... + go test ./... green. Claude-Session: https://claude.ai/code/session_01LCyhyAffdzBmzG3yPPqzTT
Collaborator
Author
|
Superseded by #65, which folds in the v1.22 bump alongside the structured-output work. |
felixgeelhaar
added a commit
that referenced
this pull request
Jul 10, 2026
Adopt mcp-go structured content for fixed-schema data tools. Each converted
tool now emits typed structuredContent alongside its JSON text block via
ToolBuilder.OutputSchema, following the in-repo precedent set by observe /
network_summary / aria_violations.
Object-returning tools (schema added, no behavior change):
- network_requests, web_vitals, console_errors, check_readiness, discover_form
Bare-slice tools wrapped in a fixed {items,total} object envelope (a JSON
object is required for structuredContent):
- failed_requests, list_tabs, cookies_list
Intentionally skipped (cannot honor a fixed schema):
- accessibility_tree: returns a plain string, not an object
- component_state, app_state: return map[string]any (framework/page-dependent)
- all dynamic-extraction and browser-action tools (out of scope)
Folds in the pending mcp v1.18->v1.22 bump (supersedes #64).
Adds TestOutputSchemasGenerate: calls schema.Generate for every advertised
output type so a type that becomes unrepresentable fails CI instead of
silently dropping the tool at registration.
Claude-Session: https://claude.ai/code/session_01LCyhyAffdzBmzG3yPPqzTT
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps the MCP framework to v1.22.0.
All changes across this range are additive / opt-in, so no source changes are required. Free wins:
tools/listorderinginputSchema/outputSchemaserver/discoverstateless foundation (opt-in)Verification:
go mod tidy,go build ./..., andgo test ./...run locally.https://claude.ai/code/session_01LCyhyAffdzBmzG3yPPqzTT