---
title: "Hercules MCP Server"
description: "Connect Hercules to ChatGPT with the Hercules plugin, or to Claude and any MCP client with our server URL."
image: "https://hercules.app/mcp-setup/opengraph-image"
---

# Hercules, inside ChatGPT, Claude, Cursor, or Codex.

Build, edit, and publish Hercules apps from the chat.

MCP server URL: `https://hercules.app/mcp`

[Add to ChatGPT](https://chatgpt.com/plugins/hercules)

## Set up in three steps

### ChatGPT

1. **Open the Hercules plugin:** Hercules is available as a ChatGPT plugin.

   [Open Hercules in ChatGPT](https://chatgpt.com/plugins/hercules)
2. **Click Install plugin:** On the Hercules plugin page, click **Install plugin**.
3. **Sign in with Hercules:** Complete the sign-in in your browser and pick your organization.

### Claude

1. **Copy the server URL:** You will paste it into Claude in the next step.

   `https://hercules.app/mcp`
2. **Add a custom connector:** In Claude, open **Settings → Connectors**, choose **Add custom connector**, and paste the URL.
3. **Sign in with Hercules:** Complete the sign-in in your browser and pick your organization.

### Claude Code

1. **Copy the command:** It registers Hercules as a remote MCP server.

   Terminal:

   ```shell
   claude mcp add --transport http hercules https://hercules.app/mcp
   ```
2. **Run it in your project:** Paste it in your project directory, then launch `claude`.
3. **Sign in with Hercules:** Complete the sign-in in your browser and pick your organization.

### Codex

1. **Copy the server URL:** You will paste it into Codex in the next step.

   `https://hercules.app/mcp`
2. **Add a server in Codex:** Open **Settings → MCP Servers**, choose **Add server**, select **Streamable HTTP**, paste the URL, and click **Save**.
3. **Authenticate:** Click **Authenticate**, sign in with Hercules, and pick your organization.

### Codex CLI

1. **Copy the command:** It registers Hercules as a remote MCP server.

   Terminal:

   ```shell
   codex mcp add hercules --url https://hercules.app/mcp
   ```
2. **Run it in your terminal:** Then launch `codex`.
3. **Authorize:** Approve the sign-in when prompted and pick your organization.

### Cursor

1. **Copy the config:** Add it to your Cursor MCP config file.

   ~/.cursor/mcp.json:

   ```json
   {
     "mcpServers": {
       "hercules": { "url": "https://hercules.app/mcp" }
     }
   }
   ```
2. **Add it in Cursor:** Open **Cursor Settings → MCP → Add new server** and paste the entry.
3. **Reload and sign in:** Reload Cursor, then finish the sign-in prompt.

### Other

1. **Copy the server URL:** Any client that supports a remote HTTP server with OAuth works.

   `https://hercules.app/mcp`
2. **Add a remote server:** In your client's settings, add an MCP server with the **streamable HTTP** transport and paste the URL.
3. **Sign in with Hercules:** Complete the sign-in in your browser and pick your organization.

## Questions

[Read the full setup guide](https://hercules.app/docs/hercules-mcp)

### Which assistants work with Hercules?

ChatGPT connects through the Hercules plugin. Claude, Claude Code, Codex, Cursor, and any MCP client that supports a remote HTTP server with OAuth connect with the server URL.

### What can my assistant access?

Only the organization you pick at sign-in, limited to managing its apps and their conversations. You approve access when you sign in, and you can disconnect at any time from your client.

### What does it cost?

Connecting is free. Building and editing apps uses your organization's AI credits, the same as building in the Hercules App Builder.

### How do I connect a different organization?

Disconnect Hercules in your client, then add it again. On the next sign-in, choose the organization you want. Each connection is tied to one organization.

### My assistant isn't picking up the Hercules tools.

Reload or restart your client after adding the server, and make sure you finished signing in. Check that the URL is exactly https://hercules.app/mcp.

### Do I need an API key?

No. Sign-in happens through OAuth in your browser. There are no keys to generate, copy, or rotate.

Paste it into your assistant. `https://hercules.app/mcp`

```json
[
  {
    "@context": "https://schema.org",
    "@type": "BreadcrumbList",
    "itemListElement": [
      {
        "@type": "ListItem",
        "position": 1,
        "name": "Home",
        "item": "https://hercules.app"
      },
      {
        "@type": "ListItem",
        "position": 2,
        "name": "MCP Server",
        "item": "https://hercules.app/mcp-setup"
      }
    ]
  },
  {
    "@context": "https://schema.org",
    "@type": "FAQPage",
    "mainEntity": [
      {
        "@type": "Question",
        "name": "Which assistants work with Hercules?",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "ChatGPT connects through the Hercules plugin. Claude, Claude Code, Codex, Cursor, and any MCP client that supports a remote HTTP server with OAuth connect with the server URL."
        }
      },
      {
        "@type": "Question",
        "name": "What can my assistant access?",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "Only the organization you pick at sign-in, limited to managing its apps and their conversations. You approve access when you sign in, and you can disconnect at any time from your client."
        }
      },
      {
        "@type": "Question",
        "name": "What does it cost?",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "Connecting is free. Building and editing apps uses your organization's AI credits, the same as building in the Hercules App Builder."
        }
      },
      {
        "@type": "Question",
        "name": "How do I connect a different organization?",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "Disconnect Hercules in your client, then add it again. On the next sign-in, choose the organization you want. Each connection is tied to one organization."
        }
      },
      {
        "@type": "Question",
        "name": "My assistant isn't picking up the Hercules tools.",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "Reload or restart your client after adding the server, and make sure you finished signing in. Check that the URL is exactly https://hercules.app/mcp."
        }
      },
      {
        "@type": "Question",
        "name": "Do I need an API key?",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "No. Sign-in happens through OAuth in your browser. There are no keys to generate, copy, or rotate."
        }
      }
    ]
  }
]
```
