Skip to content

chore: migrate to mcp-go v0.52.0 API#115

Closed
basebandit wants to merge 2 commits into
mainfrom
chore/mcp-go-api-migration
Closed

chore: migrate to mcp-go v0.52.0 API#115
basebandit wants to merge 2 commits into
mainfrom
chore/mcp-go-api-migration

Conversation

@basebandit
Copy link
Copy Markdown
Owner

Summary

Restores green CI after #114 (the dep bump). Two mechanical substitutions:

  1. request.Params.Argumentsrequest.GetArguments() — 257 call sites across tools/. The Arguments field on CallToolParams changed from map[string]any to any; the library exposes GetArguments() to recover the map.
  2. The inline Params: struct{...}{...} literal in tests → Params: mcp.CallToolParams{...} (61 sites). CallToolParams gained a Task field, so tests must use the named type rather than an anonymous mirror of the old shape.

No behavioural changes.

Stacked on

This PR is based on chore/deps-bump (#114). Merge order: #114 first, then this. After both land, follow-ups (feat/tool-annotations, feat/streamable-http, etc.) can target main.

Test plan

  • go build ./... passes
  • go vet ./... clean
  • go test -race ./... passes
  • Sonarcloud coverage stays at or above current level

🤖 Generated with Claude Code

Base automatically changed from chore/deps-bump to main May 7, 2026 11:10
@basebandit basebandit force-pushed the chore/mcp-go-api-migration branch from a0a1920 to c9c812e Compare May 7, 2026 11:23
@basebandit basebandit force-pushed the chore/mcp-go-api-migration branch from c9c812e to b7d02e0 Compare May 7, 2026 11:32
@basebandit
Copy link
Copy Markdown
Owner Author

Superseded by PR #117

@basebandit basebandit closed this May 15, 2026
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