MCP Actions Adapter logo

MCP Actions Adapter

by SecretiveShell

A simple adapter to convert an MCP server to a GPT actions compatible API. This allows you to integrate your MCP server with custom GPT models.

View on GitHub

Last updated: N/A

What is MCP Actions Adapter?

This is an adapter that converts an MCP server into a GPT actions compatible API. This allows custom GPT models to interact with and utilize the MCP server's functionalities.

How to use MCP Actions Adapter?

  1. Create a config.json file similar to Claude Desktop (example provided in config.example.json). 2. Start a Cloudflare tunnel: cloudflared tunnel --url http://localhost:8000. 3. Start the adapter: uv run mcp-actions-adapter -c config.json --url ${CF_TUNNEL_URL}. 4. Copy the contents of http://localhost:8000/openapi.json into the custom GPT builder's schema box. 5. Test the model.

Key features of MCP Actions Adapter

  • MCP to GPT Actions conversion

  • Cloudflare Tunnel integration

  • OpenAPI schema generation

  • Configuration via JSON file

Use cases of MCP Actions Adapter

  • Integrating MCP servers with custom GPT models

  • Enabling GPT models to control or query MCP server data

  • Automating tasks on an MCP server through GPT interactions

FAQ from MCP Actions Adapter

What is MCP?

MCP refers to the Minecraft Coder Pack, a toolset for decompiling, deobfuscating, and recompiling Minecraft code.

What is a GPT action?

GPT actions are functions that a GPT model can call to interact with external services or APIs.

Why use a Cloudflare Tunnel?

Cloudflare Tunnel provides a secure and easy way to expose your local server to the internet without opening any inbound ports.

Where can I find an example config.json?

An example configuration file is provided in the config.example.json file within the repository.

What license is this project under?

This project is licensed under the MIT License.