drio
Open app

MCP Actions Adapter

Source

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

Catalog onlyCatalog onlySTDIO

Overview

MCP Actions Adapter is a simple adapter designed to convert a MCP server into a GPT actions compatible API, enabling seamless integration with GPT-based applications.

To use the MCP Actions Adapter, follow these steps:

  1. Install the adapter using the command: uv tool install mcp-actions-adapter.
  2. Create a config.json file based on the provided example.
  3. Start a Cloudflare tunnel with the command: cloudflared tunnel --url http://localhost:8000.
  4. Run the adapter with: uv run mcp-actions-adapter -c config.json --url ${CF_TUNNEL_URL}.
  5. Open the custom GPT builder and copy the contents of http://localhost:8000/openapi.json into the schema box.
  6. Test the model.
  • Converts MCP server to GPT actions compatible API. - Easy installation and setup process. - Supports configuration through a JSON file. - Integrates with Cloudflare for secure tunneling.
  1. Integrating existing MCP servers with GPT-based applications.
  2. Enabling developers to create custom GPT actions using their MCP servers.
  3. Facilitating the development of AI-driven applications that require action compatibility.

Add to your AI client

Use these steps to connect MCP Actions Adapter in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "mcp-actions-adapter-secretiveshell": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-actions-adapter-secretiveshell"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "mcp-actions-adapter-secretiveshell": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-actions-adapter-secretiveshell"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "mcp-actions-adapter-secretiveshell": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-actions-adapter-secretiveshell"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "mcp-actions-adapter-secretiveshell": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-actions-adapter-secretiveshell"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-actions-adapter-secretiveshell": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-actions-adapter-secretiveshell"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mcp-actions-adapter-secretiveshell": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-actions-adapter-secretiveshell"
      ]
    }
  }
}

FAQ

What is the purpose of the MCP Actions Adapter?

The MCP Actions Adapter allows developers to convert their MCP servers into a format compatible with GPT actions, enhancing the functionality of their applications.

Is there a license for this project?

Yes, the MCP Actions Adapter is licensed under the MIT License.

What programming language is used for this project?

The MCP Actions Adapter is developed in Python.