Skip to main content
Glama
matthewhuie

mcp-http-proxy

by matthewhuie

mcp-http-proxy

An MCP server that exposes a single http_get tool, allowing MCP clients to perform HTTP GET requests to arbitrary URLs and receive the response.

Transport

Uses the Streamable HTTP MCP transport, listening on port 8000. The server operates in stateless mode — no session is maintained between requests.

Related MCP server: MCP REST API Tester

Tool

http_get

Performs an HTTP GET request to the provided URL.

Input

Field

Type

Description

url

string

The URL to fetch

Output (JSON)

Field

Type

Description

status

number

HTTP response status code

statusText

string

HTTP response status text

headers

object

Response headers as key/value pairs

body

string

Response body as text

If the request fails (e.g. DNS error, connection refused), the tool returns an error result with a descriptive message.

Requirements

  • Node.js 18+

Installation

npm install

Usage

Development (runs directly with tsx, no compile step):

npm run dev

Production (compile then run):

npm run build
npm start

The server will print:

MCP HTTP proxy server listening on http://localhost:8000/mcp

MCP Client Configuration

Point your MCP client at http://localhost:8000/mcp. For example, in a Claude Desktop claude_desktop_config.json:

{
  "mcpServers": {
    "http-proxy": {
      "url": "http://localhost:8000/mcp"
    }
  }
}

Project Structure

mcp-http-proxy/
├── src/
│   └── index.ts      # MCP server entry point
├── package.json
└── tsconfig.json

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    A
    maintenance
    Enables testing and interacting with any REST API endpoints directly from development environments through MCP clients, including support for multiple HTTP methods, authentication methods, custom headers, SSL verification control, and response size limiting.
    5 npm
    ISC
  • A
    license
    Not graded
    quality
    A
    maintenance
    Enables testing and interacting with REST API endpoints directly from MCP clients, supporting multiple HTTP methods, authentication methods, custom headers, and response size limits.
    5 npm
    ISC
  • A
    license
    Not graded
    quality
    A
    maintenance
    Enables users to exercise and debug HTTP endpoints directly from MCP clients, with support for multiple methods, authentication, custom headers, and configurable response limits.
    5 npm
    ISC
  • A
    license
    Not graded
    quality
    A
    maintenance
    Enables testing and interacting with REST API endpoints through MCP clients, with support for multiple HTTP methods, authentication, custom headers, SSL verification, and response size limits.
    5 npm
    ISC