We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c071714 commit 17d4fedCopy full SHA for 17d4fed
docs/quickstart/server.mdx
@@ -51,6 +51,7 @@ This quickstart assumes you have familiarity with:
51
When implementing MCP servers, be careful about how you handle logging:
52
53
**For STDIO-based servers:** Never write to standard output (stdout). This includes:
54
+
55
- `print()` statements in Python
56
- `console.log()` in JavaScript
57
- `fmt.Println()` in Go
@@ -67,7 +68,7 @@ Writing to stdout will corrupt the JSON-RPC messages and break your server.
67
68
69
### Quick Examples
70
-```javascript
71
+````javascript
72
// ❌ Bad (STDIO)
73
console.log("Server started");
74
0 commit comments