MCP cover image
See in Github
2025-03-14

HTTP server that provides access to executing Multiple Command Protocol (MCP) tools.

1

Github Watches

1

Github Forks

1

Github Stars

GPT MCP Proxy

A REST API server that provides HTTP access to Multiple Command Protocol (MCP) tools. This server acts as a bridge between HTTP clients and MCP-compliant tool servers, allowing tools to be discovered and executed via REST endpoints. This is very useful for integrating MCP tools with custom GPT through Actions.

Features

  • List available MCP servers and their tools
  • Get detailed information about specific tools
  • Execute tools with custom parameters
  • OpenAPI 3.1.0 specification
  • Automatic public HTTPS exposure via ngrok

Prerequisites

  • Go 1.20 or later
  • ngrok account and authtoken
  • MCP-compliant tools

Configuration

The server requires the following environment variables:

NGROK_AUTH_TOKEN=your_ngrok_auth_token
NGROK_DOMAIN=your_ngrok_domain
MCP_CONFIG_FILE=/path/to/mcp_settings.json  # Optional, defaults to mcp_settings.json

Configuration File Format

Create an mcp_settings.json file with your MCP server configurations:

{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-filesystem",
        "/Users/username/Desktop",
        "/path/to/other/allowed/dir"
      ]
    }
  }
}

API Endpoints

  • GET /openapi.json - OpenAPI specification
  • GET /mcp/servers - List all servers and their tools
  • GET /mcp/{serverName} - Get server details
  • GET /mcp/{serverName}/tools/{toolName} - Get tool details
  • POST /mcp/{serverName}/tools/{toolName}/execute - Execute a tool

Usage

  1. Set up environment variables
  2. Prepare configuration file
  3. Run the server:
go run main.go

Development

To build from source:

git clone https://github.com/wricardo/mcp-http-server.git
cd mcp-http-server
go build

License

MIT License

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • https://jgadvisorycpa.com
  • This GPT assists in finding a top-rated business CPA - local or virtual. We account for their qualifications, experience, testimonials and reviews. Business operators provide a short description of your business, services wanted, and city or state.

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • apappascs
  • Discover the most comprehensive and up-to-date collection of MCP servers in the market. This repository serves as a centralized hub, offering an extensive catalog of open-source and proprietary MCP servers, complete with features, documentation links, and contributors.

  • ShrimpingIt
  • Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx

  • OffchainLabs
  • Go implementation of Ethereum proof of stake

  • huahuayu
  • A unified API gateway for integrating multiple etherscan-like blockchain explorer APIs with Model Context Protocol (MCP) support for AI assistants.

  • modelcontextprotocol
  • Model Context Protocol Servers

  • Mintplex-Labs
  • The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, No-code agent builder, MCP compatibility, and more.

    Reviews

    4 (1)
    Avatar
    user_i1SJbGJ3
    2025-04-18

    As a dedicated user of the mcp application, I highly recommend the gpt-mcp-proxy by wricardo. It's an exceptional tool that seamlessly integrates into my workflow, enhancing efficiency and functionality. Check it out at https://github.com/wricardo/gpt-mcp-proxy. The ease of use and robust features make it a must-have for any serious developer. Fantastic job, wricardo!