> ## Documentation Index
> Fetch the complete documentation index at: https://docs.summerengine.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect your AI agent to Summer to publish games

> Connect Claude Code, Codex, Claude or ChatGPT to the Summer MCP to publish on Summer Games: the summer-engine npm MCP on your computer, or the hosted MCP.

Publishing uses one MCP: the **Summer Engine MCP**. It comes in two forms:

| Form | For | What it does |
| - | - | - |
| `https://mcp.summerengine.com/mcp`, hosted | Any agent: Claude and ChatGPT in the browser or the app, Claude Code, Codex, Cursor | Cloud work: store page, art, analytics, prices. Nothing to install. |
| **summer-engine** (npm), on your computer | Claude Code, Codex and other agents on your computer | Engine work and files on your disk: export, export templates, upload from disk. After `summer login` it also runs the cloud work, so your agent needs one server. |

![Claude Code and Codex on your computer use the summer-engine npm MCP, which exports with Summer Engine on your disk and carries every hosted tool. Claude and ChatGPT in the browser use the same MCP hosted at mcp.summerengine.com. Both reach the Summer Games store.](https://mintcdn.com/summer-18f03259/lAIp8hql2BjHQCvb/images/guide-art/publishing/servers-light.svg?fit=max\&auto=format\&n=lAIp8hql2BjHQCvb\&q=85\&s=c3df9a4fa485d5f657dd6a67ff0c87f3)

A chat app in the browser cannot reach your computer, so it cannot export. Export there with Summer Engine yourself, or use an agent on your computer.

## On your computer: Claude Code, Codex and others

**1. Add the Summer Engine MCP**

Run the setup for your agent. It writes the MCP config and installs the Summer skills.

```bash theme={null}
npx -y summer-engine@latest setup claude-code --yes   # or: setup codex --yes
```

Other agents: [MCP setup](https://docs.summerengine.com/mcp/setup.md).

**2. Sign in once**

Once per computer:

```bash theme={null}
npx -y summer-engine@latest login
```

Your browser opens. Sign in to your Summer account, then choose **Allow** for the store, publishing and Grow tools. One sign-in covers every Summer tool on this computer.

**3. Restart your agent**

The MCP now lists the store and publishing tools next to the engine tools, such as `summer_store_get_listing` and `summer_store_publish`. For work with no tool of its own, `summer_search` finds the operation and `summer_call` runs it. See [Operations](https://docs.summerengine.com/mcp/operations.md).

`npx -y summer-engine@latest` always runs the newest version.

The store sign-in is saved in `~/.summer/oauth-token` and renews itself.

| Command | What it does |
| - | - |
| `summer login` | One sign-in for the engine, Summer's cloud tools and the store, publishing and Grow tools. |
| `summer login --force` | Signs in again, if a sign-in expired or was refused. |
| `summer login --store --force` | Registers this computer with the store again, if the store sign-in keeps failing. |
| `summer logout` | Removes the sign-ins. |

During sign-in the MCP listens on port 47615, 47616 or 47617. Keep one of them free.

## In the browser: Claude

**1. Add the connector**

On [claude.ai](https://claude.ai) or in Claude Desktop, open **Settings → Connectors** and choose **Add custom connector**.

**2. Paste the address**

Name it **Summer Engine** and paste `https://mcp.summerengine.com/mcp`. Choose **Add**.

**3. Sign in**

Claude opens summerengine.com. Sign in to your Summer account, check the app name, and choose **Allow**.

The connector then works in every Claude app with the same Claude account, the phone app too.

Use this full address to publish. The version of Summer made for Claude's connector directory (`https://mcp.summerengine.com/directory`) cannot generate art. See [Summer in ChatGPT and Claude](https://docs.summerengine.com/mcp/chatgpt-and-claude.md).

## In the browser: ChatGPT

**1. Add Summer Engine**

On [chatgpt.com](https://chatgpt.com), add a custom MCP server (connector) with the address `https://mcp.summerengine.com/mcp` and OAuth sign-in. ChatGPT may ask you to turn on developer mode first; where that setting lives changes, so check OpenAI's help if you do not see it.

**2. Sign in**

ChatGPT opens summerengine.com. Sign in, check the app name, and choose **Allow**.

Use this full address to publish. The Summer app version for ChatGPT (`https://mcp.summerengine.com/chatgpt`) makes games and assets, but it does not publish. See [Summer in ChatGPT and Claude](https://docs.summerengine.com/mcp/chatgpt-and-claude.md).

## What the agent may do

Six switches in **Studio > Settings > Agent permissions** say what your agent may do without asking, in every app you connect. Your agent always asks you before a game goes live. After your yes, it is live as soon as Summer's automatic checks pass. There is no review. See [Agent permissions](https://docs.summerengine.com/mcp/permissions.md) and [Approvals](https://docs.summerengine.com/publishing/owner-approval.md).

## Let your agent set itself up

**Connect yourself to Summer for publishing.** Your agent adds the Summer Engine MCP and tells you the one sign-in to do.

Connect yourself to the Summer Engine MCP so you can publish my game on
Summer Games. Follow
[https://docs.summerengine.com/publishing/connect-your-agent.md](https://docs.summerengine.com/publishing/connect-your-agent.md).

* Run the Summer Engine setup for the agent you are.
* Then tell me to run `npx -y summer-engine@latest login` and sign in,
  because you cannot sign in for me.
* After I have signed in, list my Summer projects and my store games to
  check that it works.

## Check it works

Ask your agent: "List my Summer projects and my Summer Games store games." It calls `summer_projects_list` and `summer_games_list`. If it says the store did not accept its sign-in, see [Troubleshooting](https://docs.summerengine.com/publishing/summer-games-troubleshooting.md#the-store-did-not-accept-the-sign-in).

***

Does this not help you? [Reach out on Discord!](https://discord.gg/summerengine)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.