GeneratorsFree

MCP Proxy Configurator

Correctly configure your reverse proxy to handle WebMCP manifest discovery and tool endpoints. Includes CORS headers, rate limiting, and path mapping.

Input

server {
    listen 80;
    server_name api.example.com;

    # WebMCP Manifest Discovery
    location /.well-known/mcp.json {
        proxy_pass http://localhost:8080/.well-known/mcp.json;
        add_header Access-Control-Allow-Origin "*";
        add_header Content-Type application/json;
    }

    # WebMCP Tool Endpoints
    location /api/mcp/ {
        proxy_pass http://localhost:8080/api/mcp/;
        
        # Rate Limiting
        limit_req zone=mcp_limit burst=10 nodelay;
        
        # CORS Headers
        add_header Access-Control-Allow-Origin "*";
        add_header Access-Control-Allow-Methods "GET, POST, OPTIONS";
        add_header Access-Control-Allow-Headers "Content-Type, Authorization";
        
        if ($request_method = 'OPTIONS') {
            return 204;
        }
    }
}

About MCP Proxy Configurator

The MCP Proxy Configurator is a specialized tool designed for WebMCP developers to generate nginx, apache, or node.js proxy configurations for webmcp.. As the Web Model Context Protocol (WebMCP) continues to evolve as a W3C draft specification, having reliable diagnostic and generation tools is essential for building AI-ready websites.

How to use this tool

  1. Provide the required input (URL, JSON, or form data) in the input section above.
  2. Click the primary action button to process your request.
  3. Review the results, scores, and recommendations provided by the tool.
  4. Download or share your results for documentation or team collaboration.

Why WebMCP matters

WebMCP allows websites to expose structured tools directly to AI agents. By implementing WebMCP, you enable AI models like Claude, GPT-4, and Gemini to interact with your site's data and functionality in a secure, structured way, moving beyond simple web scraping to true agentic integration.