Files
github--github-mcp-server/pkg/github
copilot-swe-agent[bot] 6bce2d5234 Add MCP_DISABLE_EMBEDDED_RESOURCES feature flag for file contents
- Added FeatureFlagDisableEmbeddedResources constant to feature_flags.go
- Implemented NewToolResultResourceWithFlag in utils/result.go
  - When flag is enabled, returns TextContent for text files
  - Returns ImageContent with base64 data for binary files
  - Maintains backward compatibility when flag is disabled
- Updated get_file_contents tool to check feature flag and use new function
- Added comprehensive tests for both utils function and integration with get_file_contents

Co-authored-by: SamMorrowDrums <4811358+SamMorrowDrums@users.noreply.github.com>
2026-02-04 12:32:17 +00:00
..
2026-01-26 16:02:20 +01:00
2026-01-06 17:38:12 +00:00
2026-01-22 23:27:21 +01:00
2026-01-26 16:02:20 +01:00