Bridge HTTP and MCP tools with GPT via REST API for easy discovery and execution
GPT MCP Proxy is a REST API server that provides HTTP access to Multiple Command Protocol (MCP) tools. It acts as a bridge between HTTP clients and MCP-compliant tool servers, enabling seamless integration of AI applications with various data sources and tools through standardized protocol endpoints. This server is particularly useful for integrating MCP tools with custom GPT systems via Actions, facilitating easier development and deployment in AI workflows.
GPT MCP Proxy supports a range of features that make it an essential tool for developers working with MCP-compliant environments:
The GPT MCP Proxy implements a robust architecture based on Model Context Protocol, which is designed to standardize interactions between AI applications and data sources. Below is an illustration of the MCP protocol flow:
graph TD
A[AI Application] -->|MCP Client| B[MCP Protocol]
B --> C[MCP Server]
C --> D[Data Source/Tool]
style A fill:#e1f5fe
style C fill:#f3e5f5
style D fill:#e8f5e8
This diagram shows the flow of communication between an AI application, the MCP client, the MCP server, and ultimately to a data source or tool. The server acts as the central hub, facilitating secure and efficient data exchange.
Getting started with GPT MCP Proxy involves several steps:
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
mcp_settings.json
file with your specific configurations:
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/Users/username/Desktop",
"/path/to/other/allowed/dir"
]
}
}
}
go run main.go
GPT MCP Proxy can be integrated into numerous AI workflows, enhancing the capabilities of various AI applications by providing seamless access to a wide range of tools and data sources. Here are two realistic use cases:
In this scenario, an AI application like Claude Desktop uses GPT MCP Proxy to communicate with a document management system. The process involves:
This use case involves using GPT MCP Proxy to integrate an AI application like Cursor, which needs access to multiple data sources for analysis:
GPT MCP Proxy supports a comprehensive range of MCP clients, including popular AI applications like Claude Desktop, Continue, and Cursor. The following compatibility matrix provides an overview:
MCP Client | Resources | Tools | Prompts | Status |
---|---|---|---|---|
Claude Desktop | ✅ | ✅ | ✅ | Full Support |
Continue | ✅ | ✅ | ✅ | Full Support |
Cursor | ❌ | ✅ | ❌ | Tools Only |
This matrix helps developers understand which features are supported by different clients, facilitating informed decision-making during integration.
The performance and compatibility of GPT MCP Proxy have been tested extensively to ensure reliability and robustness. The following table provides a summary:
Feature | Status |
---|---|
Tool Server Discovery | ✅ |
Tool Information Retrieval | ✅ |
Tool Execution with Parameters | ✅ |
OpenAPI Compatibility | ✅ |
Automatic HTTPS Exposure via ngrok | ✅ |
This compatibility matrix ensures that the server meets high standards for performance and reliability.
For advanced users, GPT MCP Proxy offers a variety of configuration options to enhance security and functionality:
mcp_settings.json
file to include specific tools and their parameters.Security is paramount, and GPT MCP Proxy provides several layers of protection:
GET /openapi.json
endpoint on your server.mcp_settings.json
file.Contributions to GPT MCP Proxy are welcome! Developers can contribute by submitting pull requests for bug fixes, feature enhancements, or documentation updates. If you wish to contribute, please follow these steps:
For more information about the Model Context Protocol (MCP), check out the official documentation and community resources:
GPT MCP Proxy is part of a larger ecosystem designed to enhance AI application development through standardized protocol integration.
RuinedFooocus is a local AI image generator and chatbot image server for seamless creative control
Simplify MySQL queries with Java-based MysqlMcpServer for easy standard input-output communication
Learn to set up MCP Airflow Database server for efficient database interactions and querying airflow data
Build stunning one-page websites track engagement create QR codes monetize content easily with Acalytica
Access NASA APIs for space data, images, asteroids, weather, and exoplanets via MCP integration
Explore CoRT MCP server for advanced self-arguing AI with multi-LLM inference and enhanced evaluation methods