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

# Quickstart: Gemini CLI

> Add the hosted SuprSend MCP server to Gemini CLI in ~/.gemini/settings.json and sign in with your SuprSend account.

## Set up the connection

**1. Add the SuprSend MCP server**

Open `~/.gemini/settings.json`. If the file doesn't exist yet, create it first with `touch ~/.gemini/settings.json`.

```bash theme={"system"}
open ~/.gemini/settings.json
```

Add:

```json theme={"system"}
{
  "mcpServers": {
    "suprsend": {
      "httpUrl": "https://mcp.suprsend.com/mcp"
    }
  }
}
```

The field name is `httpUrl`, not `url`. Gemini Code Assist reads the same file, so the server works there too.

**2. Sign in with your SuprSend account**

Start Gemini CLI and run:

```
/mcp auth suprsend
```

Gemini CLI opens your browser. Sign in with your SuprSend account. Your role decides the tools: admins get every tool, and members get read-only tools except the two that show sent message content, `messages_get_content` and `messages_preview_content`.

**3. Verify the connection**

In a Gemini CLI session, ask:

```
List my SuprSend workspaces.
```

Gemini answers with your SuprSend workspaces.

## Pin a workspace and restrict tools

By default, Gemini CLI can use every workspace and tool your role allows. To keep it on one workspace, or to give it only the tools a job needs, change `httpUrl` in your settings:

* **Pin a workspace** by adding its slug to the path. The agent then can't switch to another workspace:

  ```
  https://mcp.suprsend.com/mcp/staging
  ```

* **Restrict tools** with `?tools=`, a comma-separated list of tool names or groups:

  ```
  https://mcp.suprsend.com/mcp/staging?tools=users_*,data_*
  ```

You can also hide tools locally with Gemini's `includeTools` and `excludeTools` fields. Keep `trust` off: it skips Gemini's confirmation before each tool call.

See [Scope the connection](https://docs.suprsend.com/reference/mcp-overview.md#scope-the-connection) for every URL pattern, and the [tool list](https://docs.suprsend.com/reference/mcp-tool-list.md) for every tool.

## Troubleshooting

> [accordion] Server shows disconnected or refuses the connection
>
> Check the workspace slug in the URL. It must match a workspace in your SuprSend account exactly, for example `staging`, not the workspace's display name. A slug that doesn't exist fails with `403 workspace_forbidden`. To see your slugs, remove the slug, reconnect, and ask: "List my SuprSend workspaces."

> [card] [Tool list](https://docs.suprsend.com/reference/mcp-tool-list.md)
>
> Every tool, grouped by category, with read vs write labels.

> [card] [Prompt cheatsheet](https://docs.suprsend.com/reference/mcp-prompts.md)
>
> Ready-to-use prompts to get started fast.


## Related topics

- [Quickstart](https://docs.suprsend.com/reference/cli-quickstart.md)
- [CLI Changelog](https://docs.suprsend.com/reference/cli-changelog.md)
- [Quick start](https://docs.suprsend.com/docs/quick-start-guide.md)
- [Quickstart: Kiro](https://docs.suprsend.com/reference/mcp-quickstart-kiro.md)
- [CLI Overview](https://docs.suprsend.com/reference/cli-intro.md)


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