Skip to content

chore(deps): bump go.klarlabs.de/mcp to v1.22.0#64

Closed
felixgeelhaar wants to merge 1 commit into
mainfrom
chore/bump-mcp-v1.22.0
Closed

chore(deps): bump go.klarlabs.de/mcp to v1.22.0#64
felixgeelhaar wants to merge 1 commit into
mainfrom
chore/bump-mcp-v1.22.0

Conversation

@felixgeelhaar

Copy link
Copy Markdown
Collaborator

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:

  • Deterministic tools/list ordering
  • Full JSON Schema 2020-12 for inputSchema/outputSchema
  • Modern MCP error codes and server/discover stateless foundation (opt-in)

Verification: go mod tidy, go build ./..., and go test ./... run locally.

https://claude.ai/code/session_01LCyhyAffdzBmzG3yPPqzTT

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
@felixgeelhaar

Copy link
Copy Markdown
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant