You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add use subcommands and shared primitives library for MCP client
- Add client/internal/mcp/primitives.go with shared CallTool, ReadResource,
GetPrompt, ListTools, ListResources, ListPrompts functions and formatters
- Add client/internal/mcp/primitives_test.go with comprehensive unit tests
- Add GetPrompt and ReadResource to client/internal/mcp/client.go
- Add client/cmd/use.go parent subcommand
- Add client/cmd/use_tool.go, use_resource.go, use_prompt.go subcommands
- Add client/cmd/use_test.go with CLI tests
- Refactor client/cmd/integration_tests.go to use shared primitives
- Refactor client/internal/testing/runner.go to use shared ContentBlock type
- Support --format json|text|markdown across all subcommands
Agent-Logs-Url: https://github.com/advanced-security/codeql-development-mcp-server/sessions/78e52dbe-a4f9-4a7a-b042-c14ad89421b1
Co-authored-by: data-douser <70299490+data-douser@users.noreply.github.com>
0 commit comments