MCP HubMCP Hub
SecretiveShell

MCP-actions-adapter

by: SecretiveShell

A simple adapter to convert a MCP server to a GPT actions compatible API

10created 01/03/2025
Visit
adapter
GPT

📌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

  1. Create config.json the same way as Claude desktop. An example config file is provided in the config.example.json file.
  2. Start a Cloudflare tunnel:
cloudflared tunnel --url http://localhost:8000
  1. Start the adapter:
uv run mcp-actions-adapter -c config.json --url ${CF_TUNNEL_URL}
  1. Open the custom GPT builder and copy the contents of http://localhost:8000/openapi.json into the schema box.
  2. Test the model.

License

This project is licensed under the MIT License.