A simple adapter to convert a MCP server to a GPT actions compatible API
uv tool install mcp-actions-adapter
-
Create config.json the same way as claude desktop. An example config file is provided in the
config.example.json
file. -
Start a cloudflare tunnel with the following command:
cloudflared tunnel --url http://localhost:8000
- Start the adapter with the following command:
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
This project is licensed under the MIT License - see the LICENSE file for details