Skip to content

[plan] MCP SDK improvements from Go Fan review #6678

@github-actions

Description

@github-actions

Overview

This tracking issue covers improvements to gh-aw's Model Context Protocol (MCP) SDK usage based on the Go Fan review findings.

Source: Discussion #6658

The review found that gh-aw's MCP SDK usage is exemplary (5/5 rating), following all best practices. These sub-issues address minor enhancements that will make an already-excellent implementation even more robust.

Current State

  • Using MCP SDK v1.1.1 pseudo-version with critical bug fixes
  • Proper context management, session lifecycle, and cancellation checking
  • Both MCP server (exposing gh-aw commands) and client (inspecting external servers) implementations

Planned Tasks

  1. Add SessionTimeout to HTTP server for resource leak prevention
  2. Extract timeout constants for better maintainability
  3. Implement HTTP client connection retry logic
  4. Add HTTP client headers configuration support
  5. Plan for v1.2.0 upgrade when stable release is available

Priority

MEDIUM - These are enhancements, not urgent fixes. Current implementation is production-ready.

AI generated by Plan Command for discussion #6658

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions