fix: normalize MCP tool error formatting
This commit is contained in:
+5
-3
@@ -7,7 +7,7 @@ ChatGPT MCP Server
|
||||
## Status
|
||||
|
||||
Planning complete.
|
||||
Phase 0 complete. Phase 1 complete. Phase 2 complete. Phase 3 complete. Task 4.1 complete. Task 4.2 complete. Task 4.3 complete. Task 4.4 complete. Task 4.5 complete. Phase 4 complete. Task 5.1 complete. Task 5.2 complete. Task 5.3 complete.
|
||||
Phase 0 complete. Phase 1 complete. Phase 2 complete. Phase 3 complete. Task 4.1 complete. Task 4.2 complete. Task 4.3 complete. Task 4.4 complete. Task 4.5 complete. Phase 4 complete. Task 5.1 complete. Task 5.2 complete. Task 5.3 complete. Task 5.4 complete.
|
||||
|
||||
## Current Phase
|
||||
|
||||
@@ -71,7 +71,9 @@ Phase 5 - MCP Server and Tool Registration
|
||||
- missing OPENAI_API_KEY → structured tool errors (`"Error: Configuration error: OPENAI_API_KEY is missing."`) ✅
|
||||
- npm test → 523 tests pass across 18 test files, no regressions ✅
|
||||
|
||||
- Task 5.4 — Normalize MCP tool error formatting (NEXT)
|
||||
- Task 5.4 — Normalize MCP tool error formatting ✅
|
||||
|
||||
MCP tool error formatting normalized in `src/server.js`. All 5 tools now produce a single "Error:" prefix with no duplicates.
|
||||
|
||||
## Phase 3 Completion Summary
|
||||
|
||||
@@ -124,4 +126,4 @@ All five tool handlers are implemented and tested:
|
||||
|
||||
## Next Pending
|
||||
|
||||
### Task 5.4 - Normalize MCP tool error formatting
|
||||
### Task 5.5 - Claude Code MCP configuration and local end-to-end setup
|
||||
|
||||
Reference in New Issue
Block a user