Skip to content

feat(mcp): report dynamic server health in context - #68

Draft
wylangyue wants to merge 1 commit into
uvwt:mainfrom
wylangyue:fix/context-dynamic-mcp-health
Draft

feat(mcp): report dynamic server health in context#68
wylangyue wants to merge 1 commit into
uvwt:mainfrom
wylangyue:fix/context-dynamic-mcp-health

Conversation

@wylangyue

Copy link
Copy Markdown

Summary:

  • retain a machine-readable last_error_code alongside the existing internal refresh error
  • record environment and refresh failures in dynamic MCP server state
  • expose status, tool_count, and last_error_code through agentdock_context
  • verify idle, ready, and MCP_AUTH_REQUIRED states end to end

This prevents enabled but broken dynamic MCP registrations from being presented as healthy capabilities while keeping raw error messages out of the compact model context.

Dependency:

Validation against the protocol branch:

  • go test ./...
  • go vet ./...

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