Add development environment setup documentation and tooling for MCP servers#119
Open
mmcc007 wants to merge 1 commit intoopenai:mainfrom
Open
Add development environment setup documentation and tooling for MCP servers#119mmcc007 wants to merge 1 commit intoopenai:mainfrom
mmcc007 wants to merge 1 commit intoopenai:mainfrom
Conversation
This commit adds comprehensive documentation and tooling for setting up a development environment to test MCP servers with ChatGPT over HTTPS. ## Overview Testing MCP servers with ChatGPT requires HTTPS with SSE support. This guide documents three tunneling approaches and provides a working solution using SSH reverse tunnels with nginx. ## Changes **Documentation:** - `docs/DEVELOPMENT.md` - Generic guide for MCP server development setup - `docs/setup/README.md` - Detailed step-by-step setup instructions - Includes concrete pizzaz example as implementation reference **Setup Scripts and Configs:** - `docs/setup/example-nginx-dev.conf` - nginx config with SSE optimization - `docs/setup/example-nginx-temp.conf` - Temporary config for SSL setup - `docs/setup/example-tunnel.service` - Systemd service for persistent tunneling - `docs/setup/vm-setup.sh` - Automated VM setup script **Testing Tools:** - `tests/test-mcp.ts` - MCP protocol validation suite - `tests/README.md` - Testing documentation and usage ## Key Features - **Generic approach**: Works with any MCP server in this repository - **Three tunneling approaches evaluated**: ngrok, Cloudflare Tunnels, SSH+nginx - **SSE-optimized nginx configuration**: Critical settings for MCP protocol - **Automated setup**: Scripts for quick VM configuration - **Pizzaz example**: Concrete implementation showing two-server architecture - **Security considerations**: Firewall, SSL, encrypted tunnels ## Lessons Documented - Port conflict resolution strategies - CAA DNS record requirements for Let's Encrypt - SSL certificate acquisition workflow - SSE buffering issues with various tunnel services - Firewall configuration for cloud VMs This enables developers to quickly set up a development environment for testing any MCP server in this repository with ChatGPT.
4 tasks
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.
Summary
Changes
Key Learnings Documented
Architecture
Supports both single-server and two-server architectures:
Target Audience
Developers who want to test their MCP servers locally with ChatGPT before production deployment.
Test Plan