Commit Graph
4 Commits
Author SHA1 Message Date
rootandClaude 37f512a404 Add 'silent' log level to config schema
- Support MCP_LOG_LEVEL=silent for stdio mode
- Fixes ZodError: Invalid enum value
- Allows complete logging suppression for MCP protocol

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-09 07:01:06 +02:00
rootandClaude f4e2319f30 Fix: Remove stderr redirect and explicitly set MCP_TRANSPORT
- Remove 2>/dev/null to see actual errors
- Explicitly export MCP_TRANSPORT=stdio
- Helps debug connection issues

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-09 06:57:33 +02:00
rootandClaude 4908b422b4 Fix: Disable logging in stdio mode to prevent MCP protocol errors
- Detect stdio mode and set logger to 'silent' level
- stdout must be reserved exclusively for JSON-RPC MCP messages
- Prevents 'Unexpected token' JSON parsing errors in Claude Code
- Only log when using HTTP transport mode

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-09 06:55:19 +02:00
rootandClaude 2d6a5cda8f Add MCP stdio wrapper script with logging disabled
- Create start-mcp.sh wrapper for Claude Code MCP integration
- Load NVM environment for proper Node.js access
- Disable logging (MCP_LOG_LEVEL=silent) to fix stdio protocol
- Suppress stderr to prevent JSON parsing errors in MCP client
- Update package-lock.json from npm install

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-09 06:52:50 +02:00