Skip to content

Conversation

GlassOnTin
Copy link

Summary

This PR adds a TCP server wrapper script that enables network access to the MCP Azure DevOps server. This is particularly useful for accessing the MCP server from remote machines.

Features

  • 🚀 TCP server wrapper for stdio-based MCP server
  • 🧪 Built-in connection testing with mcp-tcp-server test
  • 📡 Support for both direct TCP and SSH tunnel connections
  • 📋 Enhanced help documentation with clear visual formatting
  • ⚡ Automatic environment variable passthrough
  • 🛡️ Helpful error messages with guidance for common issues

Usage

# Start server on default port (9999)
mcp-tcp-server

# Start server on custom port
mcp-tcp-server 8888

# Test connection
mcp-tcp-server test localhost 8888

# Show help
mcp-tcp-server --help

Implementation

  • Single new file: mcp-tcp-server.js
  • No modifications to existing codebase
  • Compatible with both compiled and TypeScript development environments

- Add mcp-tcp-server.js for network access to MCP server
- Enhanced help display with clear visual formatting
- Improved connection testing with better status indicators
- Clear server startup messages with connection options
- Better error handling with helpful guidance
- Support for both direct TCP and SSH tunnel connections
- Add mcp-remote.js TCP client for connecting to remote MCP servers
- Add CLAUDE_CODE_SETUP.md with Windows-to-Ubuntu SSH tunnel setup guide
- Completes the TCP server/client pair for cross-platform MCP access
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