# Connect Mochi to Goose

Goose is a free, open-source AI agent. It calls MCP servers "extensions". New to Mochi MCP? Start with the [overview](https://themochi.app/docs/integrations-and-tracking/mcp).

**Server URL:** `https://mcp.themochi.app/mcp`

## Goose Desktop

1. Click the button at the top left to open the sidebar.
2. Click **Extensions** → **Add custom extension**.
3. Set the type to **Streamable HTTP**. Name it `mochi` and enter `https://mcp.themochi.app/mcp` as the endpoint.
4. Click **Add**.

## Goose CLI

1. Run `goose configure`.
2. Choose **Add Extension**, then **Remote Extension (Streamable HTTP)**.
3. Name it `mochi`.
4. Enter `https://mcp.themochi.app/mcp` as the endpoint.
5. Keep the default timeout (300 seconds). Add a description if you like.
6. Answer **No** to custom headers. Mochi doesn't use an API key.

Prefer the config file? Add this to `~/.config/goose/config.yaml`. Note the key is `uri`, not `url`:

```yaml
extensions:
  mochi:
    name: Mochi
    type: streamable_http
    uri: https://mcp.themochi.app/mcp
    enabled: true
    timeout: 300
```

To try Mochi for one session only:

```bash
goose session --with-streamable-http-extension "https://mcp.themochi.app/mcp"
```

## Sign in

Goose registers itself with Mochi automatically, so there's no client ID to enter. When Goose connects to Mochi, a browser window opens. Sign in to Mochi, **pick your workspace** and approve. On macOS, Goose may ask for keychain access to store the sign-in.

Goose's own docs confirm the automatic registration but don't describe the sign-in screens. The browser window and keychain prompt above come from user reports.

## Troubleshooting

| Problem | Fix |
| --- | --- |
| The sign-in redirect fails on your network | Set a fixed callback port with the `GOOSE_OAUTH_CALLBACK_PORT` environment variable and try again. |
| Mochi doesn't appear in a session | Check that the extension is enabled in **Extensions** or in `config.yaml`. |

Checked against Goose's documentation on 26 November 2026: [using extensions](https://goose-docs.ai/docs/getting-started/using-extensions) and [remote extension example](https://goose-docs.ai/docs/mcp/github-mcp).
