MCP-actions-adapter
by: SecretiveShell
A simple adapter to convert a MCP server to a GPT actions compatible API
📌Overview
Purpose: The MCP Actions Adapter aims to convert a MCP server into a GPT actions compatible API to enhance interoperability.
Overview: The MCP Actions Adapter provides a straightforward solution to enable MCP servers to communicate using the GPT actions protocol. This allows for better integration and functionality when utilizing GPT models with MCP servers.
Key Features:
-
Compatibility with GPT Actions: Transforms MCP server responses to fit the GPT actions API format, facilitating seamless interaction with GPT models.
-
Easy Configuration and Setup: Includes a sample configuration file and straightforward installation and usage instructions, enabling quick deployment with minimal configuration effort.
MCP Actions Adapter
A simple adapter to convert a MCP server to a GPT actions compatible API
Installation
uv tool install mcp-actions-adapter
Usage
- Create
config.json
the same way as Claude desktop. An example config file is provided in theconfig.example.json
file. - Start a Cloudflare tunnel:
cloudflared tunnel --url http://localhost:8000
- Start the adapter:
uv run mcp-actions-adapter -c config.json --url ${CF_TUNNEL_URL}
- Open the custom GPT builder and copy the contents of
http://localhost:8000/openapi.json
into the schema box. - Test the model.
License
This project is licensed under the MIT License.