http-proxy-mcp

mannyb223/http-proxy-mcp

3.2

If you are the rightful owner of http-proxy-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

This document provides a comprehensive guide to deploying a simple HTTP proxy MCP server using Railway, which facilitates HTTP POST requests to Supabase edge functions.

Tools
1
Resources
0
Prompts
0

HTTP Proxy MCP Server

Simple HTTP proxy MCP server that exposes a make_http_request tool for Agent Builder.

What It Does

Provides a publicly hosted MCP endpoint that Agent Builder can use to make HTTP POST requests to your Supabase edge functions.

Deployment to Railway (Free Tier)

1. Create Railway Account

2. Deploy This Project

  • Click "New Project" in Railway dashboard
  • Select "Deploy from GitHub repo"
  • Connect your GitHub account
  • Push this folder to a GitHub repo first, then select it

OR use Railway CLI:

npm install -g @railway/cli
railway login
cd /Users/emanuelburrage/Projects/PlayFootball/http-proxy-mcp
railway init
railway up

3. Get Your Public URL

  • After deployment, Railway will give you a URL like: https://your-app.railway.app
  • The MCP endpoint will be at: https://your-app.railway.app/mcp

4. Add to Agent Builder

In Agent Builder, add MCP server:

  • URL: https://your-app.railway.app/mcp
  • Transport: Streamable HTTP or SSE

5. Use the Tool

In Agent Builder, you'll see the make_http_request tool with parameters:

  • url: https://njrhmrqshxyheenfgmqu.supabase.co/functions/v1/get_persona_data
  • method: POST
  • headers: {"Authorization": "Bearer YOUR_ANON_KEY", "apikey": "YOUR_ANON_KEY", "Content-Type": "application/json"}
  • body: {"user_id": "76d699fd-9068-4141-88fe-0e0ac4b2c157"}

Local Testing

pip install -r requirements.txt
./start.sh

MCP will be available at http://localhost:8000/mcp

Files

  • mcp_server.py - FastMCP server with HTTP request tool
  • requirements.txt - Python dependencies
  • start.sh - Startup script
  • Procfile - Railway process configuration