Skip to content

feat: MCP server scaffolding — SDK, transport, server setup#1

Merged
TonyCasey merged 1 commit intomainfrom
GIT-15
Feb 5, 2026
Merged

feat: MCP server scaffolding — SDK, transport, server setup#1
TonyCasey merged 1 commit intomainfrom
GIT-15

Conversation

@TonyCasey
Copy link
Copy Markdown
Owner

Summary

  • Add @modelcontextprotocol/sdk dependency for MCP protocol support
  • Create MCP server factory (src/mcp/server.ts) with McpServer initialization
  • Create stdio entry point (src/mcp-server.ts) as git-mem-mcp binary
  • Server responds correctly to MCP initialize handshake with server info and protocol version

Test plan

  • Unit test: server instance creation
  • Integration test: MCP protocol handshake via subprocess (initialize → server info response)
  • All 71 tests passing (58 unit + 13 integration)
  • npm run build clean

Resolves GIT-15

🤖 Generated with Claude Code

- Add @modelcontextprotocol/sdk dependency
- Create src/mcp/server.ts with McpServer factory
- Create src/mcp-server.ts entry point (#!/usr/bin/env node)
- Add git-mem-mcp binary to package.json
- Server responds to MCP initialize handshake
- Unit test for server creation + integration test for protocol

Resolves: GIT-15

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@TonyCasey TonyCasey merged commit 418862c into main Feb 5, 2026
1 check passed
@TonyCasey TonyCasey deleted the GIT-15 branch February 5, 2026 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant