feat: create repository skeleton

This commit is contained in:
2026-06-09 17:35:30 +01:00
parent 56fb7417ea
commit 680ad98e10
30 changed files with 59 additions and 3 deletions
+6 -2
View File
@@ -7,12 +7,16 @@ ChatGPT MCP Server
## Status ## Status
Planning complete. Planning complete.
Implementation not started. Phase 0 implementation in progress.
## Current Phase ## Current Phase
Phase 0 - Repository Setup Phase 0 - Repository Setup
## Completed Tasks
- Task 0.1 — Create repository skeleton ✅
## Next Task ## Next Task
Create repository skeleton. Task 0.2 — Add package.json and dependencies
+25
View File
@@ -0,0 +1,25 @@
# ChatGPT MCP Server
A local MCP server that allows Claude Code to ask ChatGPT for focused second-opinion help.
## Purpose
ChatGPT acts as a reviewer, planner, debugging assistant, and architecture advisor.
Claude Code remains the primary coding agent with full control over files, commands, and decisions.
## Non-Goals
The server must not:
- Modify files
- Run shell commands
- Access Git automatically
- Deploy anything
- Send whole repositories by default
- Send secrets
- Make autonomous decisions
## Status
Phase 0 complete — repository skeleton created.
Implementation in progress.
+7 -1
View File
@@ -17,4 +17,10 @@ Create:
Do not implement functionality yet. Do not implement functionality yet.
Status: Pending Status: ✅ Complete
### Task 0.2 - Add package.json and dependencies
Add `package.json` with MCP SDK, OpenAI SDK, Zod, Vitest.
Status: ⏳ Pending
View File
View File
View File
View File
View File
View File
+1
View File
@@ -0,0 +1 @@
// Default configuration values.
+1
View File
@@ -0,0 +1 @@
// Environment variable loading and validation.
+1
View File
@@ -0,0 +1 @@
// OpenAI API client wrapper.
+1
View File
@@ -0,0 +1 @@
// OpenAI Responses API interface.
+1
View File
@@ -0,0 +1 @@
// architecture_review prompt template.
+1
View File
@@ -0,0 +1 @@
// ask_chatgpt prompt template.
+1
View File
@@ -0,0 +1 @@
// Base prompt template.
+1
View File
@@ -0,0 +1 @@
// debug_issue prompt template.
+1
View File
@@ -0,0 +1 @@
// review_code prompt template.
+1
View File
@@ -0,0 +1 @@
// review_plan prompt template.
+1
View File
@@ -0,0 +1 @@
// MCP stdio server entry point.
+1
View File
@@ -0,0 +1 @@
// architecture_review tool handler.
+1
View File
@@ -0,0 +1 @@
// ask_chatgpt tool handler.
+1
View File
@@ -0,0 +1 @@
// debug_issue tool handler.
+1
View File
@@ -0,0 +1 @@
// review_code tool handler.
+1
View File
@@ -0,0 +1 @@
// review_plan tool handler.
+1
View File
@@ -0,0 +1 @@
// Zod input validation schemas for all tools.
+1
View File
@@ -0,0 +1 @@
// Context size limit and trimming logic.
+1
View File
@@ -0,0 +1 @@
// Safe error message formatting.
+1
View File
@@ -0,0 +1 @@
// Safe logging utility (stderr only).
+1
View File
@@ -0,0 +1 @@
// Secret redaction utility.