Skip to content

Clarify remote mcp error - #1729

Merged
thdxr merged 3 commits into
anomalyco:devfrom
rmoriz:clarify-remote-mcp-error
Aug 9, 2025
Merged

thdxr merged 3 commits into
anomalyco:devfrom
rmoriz:clarify-remote-mcp-error

Conversation

@rmoriz

@rmoriz rmoriz commented Aug 8, 2025 •

Copy link
Copy Markdown
Contributor

"failed to start" with remote MCP server is probably a connection error, make the error message usable.

rmoriz and others added 3 commits August 8, 2025 23:07
Replace misleading "failed to start" error with accurate "failed to connect"
for remote MCP servers. Add proper error handling with detailed connection
error messages and improved logging for debugging.

🤖 Generated with [opencode](https://opencode.ai)

Co-Authored-By: opencode <noreply@opencode.ai>
Use .catch() method chains instead of try/catch blocks for cleaner,
more functional error handling in both remote and local MCP connections.

🤖 Generated with [opencode](https://opencode.ai)

Co-Authored-By: opencode <noreply@opencode.ai>
Combines improved error tracking with better logging by:
- Keeping lastError variable for proper error reporting
- Using descriptive transport names in logs
- Adding URL context to failed connection logs
- Including success logging for transport connections

🤖 Generated with [opencode](https://opencode.ai)

Co-Authored-By: opencode <noreply@opencode.ai>
@thdxr
thdxr merged commit 83f4e8e into anomalyco:dev Aug 9, 2025
Rwanbt pushed a commit to Rwanbt/unifia that referenced this pull request May 5, 2026
Co-authored-by: opencode <noreply@opencode.ai>
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
Co-authored-by: opencode <noreply@opencode.ai>
meSingh pushed a commit to meSingh/opencode that referenced this pull request Sep 6, 2026
Co-authored-by: opencode <noreply@opencode.ai>
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