feat: create repository skeleton
This commit is contained in:
+6
-2
@@ -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
|
||||||
|
|||||||
@@ -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.
|
||||||
@@ -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
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
// Default configuration values.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
// Environment variable loading and validation.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
// OpenAI API client wrapper.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
// OpenAI Responses API interface.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
// architecture_review prompt template.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
// ask_chatgpt prompt template.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
// Base prompt template.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
// debug_issue prompt template.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
// review_code prompt template.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
// review_plan prompt template.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
// MCP stdio server entry point.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
// architecture_review tool handler.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
// ask_chatgpt tool handler.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
// debug_issue tool handler.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
// review_code tool handler.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
// review_plan tool handler.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
// Zod input validation schemas for all tools.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
// Context size limit and trimming logic.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
// Safe error message formatting.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
// Safe logging utility (stderr only).
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
// Secret redaction utility.
|
||||||
Reference in New Issue
Block a user