forgejo-mcp/tools
Ronmi Ren 0be9cd0060 refactor: upgrade MCP SDK from v0.2.x to v0.4.0
This commit updates all MCP tool handlers to be compatible with MCP SDK v0.4.0:

- Update Handler function signatures from ServerRequest[*CallToolParamsFor[T]] to CallToolRequest with direct args
- Change parameter access from req.Params.Arguments to direct args parameter
- Modify return types from (*CallToolResult, error) to (*CallToolResult, any, error)
- Update all error returns to three-parameter format (result, output, error)
- Fix all success returns to include the third parameter

Total 42 handler functions updated across 15 files.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-12 05:17:28 +08:00
..
action refactor: upgrade MCP SDK from v0.2.x to v0.4.0 2025-09-12 05:17:28 +08:00
issue refactor: upgrade MCP SDK from v0.2.x to v0.4.0 2025-09-12 05:17:28 +08:00
label refactor: upgrade MCP SDK from v0.2.x to v0.4.0 2025-09-12 05:17:28 +08:00
milestone refactor: upgrade MCP SDK from v0.2.x to v0.4.0 2025-09-12 05:17:28 +08:00
pullreq refactor: upgrade MCP SDK from v0.2.x to v0.4.0 2025-09-12 05:17:28 +08:00
release refactor: upgrade MCP SDK from v0.2.x to v0.4.0 2025-09-12 05:17:28 +08:00
repo refactor: upgrade MCP SDK from v0.2.x to v0.4.0 2025-09-12 05:17:28 +08:00
wiki refactor: upgrade MCP SDK from v0.2.x to v0.4.0 2025-09-12 05:17:28 +08:00
client.go feat: add automatic version info update in CI releases 2025-08-07 17:07:46 +08:00
client_actions.go Move action task types from tools to types package 2025-08-06 02:43:13 +08:00
client_issue_attachments.go refactor: remove client issue attachment upload method 2025-08-11 00:37:11 +08:00
client_issue_dependencies.go docs: clarify dependencies vs blocking concepts 2025-08-06 21:12:05 +08:00
client_test.go Implement all custom API methods for unsupported endpoints 2025-08-05 01:20:47 +08:00
client_wiki.go refactor: move wiki types from tools to types package 2025-08-06 17:40:48 +08:00
doc.go Add package documentation for all subpackages 2025-08-06 16:44:23 +08:00
helpers.go Refactor tools architecture to modular design 2025-08-04 20:54:38 +08:00
module.go Refactor tools architecture to modular design 2025-08-04 20:54:38 +08:00