Skip to content

Remove port-finding logic for MCP server's HTTP transport - #257

Merged
nathanjcochran merged 1 commit into
mainfrom
nathan/remove-port-finding
Oct 7, 2026
Merged

nathanjcochran merged 1 commit into
mainfrom
nathan/remove-port-finding

Conversation

@nathanjcochran

@nathanjcochran nathanjcochran commented Oct 6, 2026 •

Copy link
Copy Markdown
Member

When the requested port was busy, tiger mcp start http silently fell back to the next free port. MCP clients are configured to connect on a specific port, so a server listening somewhere else just leaves them unable to connect. I really can't think of many situations where a user would want a server to start on a different port than the one they specified.

This PR updates the logic so the server listens only on the given port and fails with the underlying listen error if it's already in use. This is simpler and less surprising behavior.

@nathanjcochran
nathanjcochran requested a review from a team as a code owner October 6, 2026 21:12
@nathanjcochran nathanjcochran self-assigned this Oct 6, 2026
@nathanjcochran
nathanjcochran merged commit d90599c into main Oct 7, 2026
2 checks passed
@nathanjcochran
nathanjcochran deleted the nathan/remove-port-finding branch October 7, 2026 14:44
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.

2 participants