Fixes #3 by reserving MCP stdio stdout exclusively for JSON-RPC messages.
Highlights:
- Removes full request and response diagnostics from the tool handler.
- Prevents
invalid character 'r'connection failures in stdio clients. - Keeps upstream API failures inside valid MCP tool results.
- Adds black-box success and failure tests against the packaged CLI.
- Avoids copying user prompts into stderr diagnostics.
Published:
- npm: enhance-prompt-server@1.0.1
- npm
latest:1.0.1 - SHA-1:
9e8e69aafa431fadd7afc78c45198cbddc88e3b5
Verification:
npm test: 2/2 passing.- Installed the local release tarball in a clean temporary consumer: 2/2 protocol tests passing.
- Installed
enhance-prompt-server@1.0.1from the public npm registry in a second clean consumer: 2/2 protocol tests passing. - The public npm artifact shasum matches the verified GitHub release artifact.