-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
I want to get the error via the stdiotransport instance's onerror method. I have used pipe for stderr. Still the output does not appear. Maybe I am doing something wrong.
To Reproduce
I made a simple MCP client to replicate this behavior. You can find it here
https://github.com/uinstinct/sample-mcp/blob/e99c8b5c83a761db92e307cef03d452719c74620/src/client.ts#L11-L13
- clone the repo
npm run buildnpm run client- see that the
onerrorconsole log is not printed
Expected behavior
Should output the error from the onerror method
Logs
If applicable, add logs to help explain your problem.
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Done