Skip to content

Commit 24604ff

Browse files
authored
fix mcp stdio server output (#391)
1 parent 758efe4 commit 24604ff

4 files changed

Lines changed: 433 additions & 59 deletions

File tree

.changeset/fair-masks-hammer.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'mppx': patch
3+
---
4+
5+
Fixed MCP stdio startup and returned structured CLI command results without writing raw tool output to stdout.

src/bin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/usr/bin/env node
22
import cli from './cli/cli.js'
33

4-
cli.serve().then(() => process.exit(0))
4+
await cli.serve()

0 commit comments

Comments
 (0)