fix: stdin open for STDIO servers + describe instance resolution #16

Merged
michal merged 1 commits from fix/stdin-describe-instance into main 2026-02-23 00:26:50 +00:00
Owner

Summary

  • Keep stdin open (OpenStdin: true) for STDIO MCP servers so they dont get EOF and crash
  • Describe instance now resolves server names, preferring RUNNING instances
  • 7 new describe tests: server name resolution, health/events display, template healthcheck

Test plan

  • All 208 CLI tests pass
  • Deploy and verify STDIO servers stay running
  • mcpctl describe instance my-grafana works

🤖 Generated with Claude Code

## Summary - Keep stdin open (OpenStdin: true) for STDIO MCP servers so they dont get EOF and crash - Describe instance now resolves server names, preferring RUNNING instances - 7 new describe tests: server name resolution, health/events display, template healthcheck ## Test plan - [x] All 208 CLI tests pass - [ ] Deploy and verify STDIO servers stay running - [ ] mcpctl describe instance my-grafana works 🤖 Generated with [Claude Code](https://claude.com/claude-code)
michal added 1 commit 2026-02-23 00:26:43 +00:00
fix: keep stdin open for STDIO servers + describe instance resolves server names
Some checks failed
CI / lint (pull_request) Has been cancelled
CI / typecheck (pull_request) Has been cancelled
CI / test (pull_request) Has been cancelled
CI / build (pull_request) Has been cancelled
CI / package (pull_request) Has been cancelled
ecbf48dd49
STDIO MCP servers read from stdin and exit on EOF. Docker containers close
stdin by default, causing all STDIO servers to crash immediately. Added
OpenStdin: true to container creation.

Describe instance now resolves server names (like logs command), preferring
RUNNING instances. Added 7 new describe tests covering server name resolution,
healthcheck display, events section, and template detail.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
michal merged commit daa5860ed2 into main 2026-02-23 00:26:50 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: michal/mcpctl#16