Repository navigation
Add HTTP Transport to MCP Server for Claude Code Integration - #324
Merged
Merged
Conversation
CRITICAL FIXES from code review: - Fix HTTP ServerState management: shared state across requests (not per-request) - Fix Windows bridge script configuration syntax (use proper default value assignment) - Remove jq dependency from bash bridge script (use sed for JSON parsing) - Add curl dependency check to bridge scripts ENHANCEMENTS from code review: - Add HTTP integration tests (6 comprehensive test cases) - Add health check endpoint (/health) for monitoring - Add request logging middleware (tower-http TraceLayer) - Make port configurable via MCP_PORT environment variable (defaults to 3001) - Add comprehensive ServerState documentation explaining MCP protocol - Improve log messages for GUI mode clarity - Add HTTP auto-initialization after successful initialize request ORIGINAL IMPLEMENTATION: - Add McpTransport enum with Stdio and Http variants to support both transports - Implement HTTP server on localhost:3001 using axum framework - Refactor MCP server into transport-agnostic handlers - Create bridge scripts (mcp-bridge.sh, mcp-bridge.bat) for Claude Code integration - Update Tauri integration to use HTTP transport for GUI mode - Add transport abstraction tests - Update MCP integration documentation with HTTP transport details and Claude Code setup - Update initialize handler test to account for search_containers method Enables NodeSpace GUI app to work with Claude Code via HTTP bridge while maintaining backward compatibility with stdio transport for CLI tools and testing. All code review recommendations implemented including critical fixes, important improvements, and nice-to-have enhancements. All tests passing. Closes #323 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
malibio
force-pushed
the
feature/issue-323-http-transport-mcp
branch
from
October 21, 2025 16:16
f5040e9 to
bc5444e
Compare
malibio
added a commit
that referenced
this pull request
Feb 4, 2026
CRITICAL FIXES from code review: - Fix HTTP ServerState management: shared state across requests (not per-request) - Fix Windows bridge script configuration syntax (use proper default value assignment) - Remove jq dependency from bash bridge script (use sed for JSON parsing) - Add curl dependency check to bridge scripts ENHANCEMENTS from code review: - Add HTTP integration tests (6 comprehensive test cases) - Add health check endpoint (/health) for monitoring - Add request logging middleware (tower-http TraceLayer) - Make port configurable via MCP_PORT environment variable (defaults to 3001) - Add comprehensive ServerState documentation explaining MCP protocol - Improve log messages for GUI mode clarity - Add HTTP auto-initialization after successful initialize request ORIGINAL IMPLEMENTATION: - Add McpTransport enum with Stdio and Http variants to support both transports - Implement HTTP server on localhost:3001 using axum framework - Refactor MCP server into transport-agnostic handlers - Create bridge scripts (mcp-bridge.sh, mcp-bridge.bat) for Claude Code integration - Update Tauri integration to use HTTP transport for GUI mode - Add transport abstraction tests - Update MCP integration documentation with HTTP transport details and Claude Code setup - Update initialize handler test to account for search_containers method Enables NodeSpace GUI app to work with Claude Code via HTTP bridge while maintaining backward compatibility with stdio transport for CLI tools and testing. All code review recommendations implemented including critical fixes, important improvements, and nice-to-have enhancements. All tests passing. Closes #323 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <[email protected]>
malibio
added a commit
that referenced
this pull request
Feb 5, 2026
CRITICAL FIXES from code review: - Fix HTTP ServerState management: shared state across requests (not per-request) - Fix Windows bridge script configuration syntax (use proper default value assignment) - Remove jq dependency from bash bridge script (use sed for JSON parsing) - Add curl dependency check to bridge scripts ENHANCEMENTS from code review: - Add HTTP integration tests (6 comprehensive test cases) - Add health check endpoint (/health) for monitoring - Add request logging middleware (tower-http TraceLayer) - Make port configurable via MCP_PORT environment variable (defaults to 3001) - Add comprehensive ServerState documentation explaining MCP protocol - Improve log messages for GUI mode clarity - Add HTTP auto-initialization after successful initialize request ORIGINAL IMPLEMENTATION: - Add McpTransport enum with Stdio and Http variants to support both transports - Implement HTTP server on localhost:3001 using axum framework - Refactor MCP server into transport-agnostic handlers - Create bridge scripts (mcp-bridge.sh, mcp-bridge.bat) for Claude Code integration - Update Tauri integration to use HTTP transport for GUI mode - Add transport abstraction tests - Update MCP integration documentation with HTTP transport details and Claude Code setup - Update initialize handler test to account for search_containers method Enables NodeSpace GUI app to work with Claude Code via HTTP bridge while maintaining backward compatibility with stdio transport for CLI tools and testing. All code review recommendations implemented including critical fixes, important improvements, and nice-to-have enhancements. All tests passing. Closes #323 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <[email protected]>
malibio
added a commit
that referenced
this pull request
Feb 26, 2026
CRITICAL FIXES from code review: - Fix HTTP ServerState management: shared state across requests (not per-request) - Fix Windows bridge script configuration syntax (use proper default value assignment) - Remove jq dependency from bash bridge script (use sed for JSON parsing) - Add curl dependency check to bridge scripts ENHANCEMENTS from code review: - Add HTTP integration tests (6 comprehensive test cases) - Add health check endpoint (/health) for monitoring - Add request logging middleware (tower-http TraceLayer) - Make port configurable via MCP_PORT environment variable (defaults to 3001) - Add comprehensive ServerState documentation explaining MCP protocol - Improve log messages for GUI mode clarity - Add HTTP auto-initialization after successful initialize request ORIGINAL IMPLEMENTATION: - Add McpTransport enum with Stdio and Http variants to support both transports - Implement HTTP server on localhost:3001 using axum framework - Refactor MCP server into transport-agnostic handlers - Create bridge scripts (mcp-bridge.sh, mcp-bridge.bat) for Claude Code integration - Update Tauri integration to use HTTP transport for GUI mode - Add transport abstraction tests - Update MCP integration documentation with HTTP transport details and Claude Code setup - Update initialize handler test to account for search_containers method Enables NodeSpace GUI app to work with Claude Code via HTTP bridge while maintaining backward compatibility with stdio transport for CLI tools and testing. All code review recommendations implemented including critical fixes, important improvements, and nice-to-have enhancements. All tests passing. Closes #323 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #323