# basemodo indexing

Let search engines index a Public App (on), keep them out (off), or say which.

```sh
basemodo indexing [OPTIONS] [on|off]
```

No App is indexed unless its Owner or an Editor says so: every answer says noindex and robots.txt disallows everything. On (or [web] indexable = true in basemodo.toml) lets search engines into a Public App, for a landing page that should be found; it is refused on a Private or Link App. Making the App anything but Public turns indexing off again.

## Arguments

- `on|off`: on lets search engines index the App (a Public App only), off keeps them out; its Owner or an Editor turns it. Without it, only show whether they may.
- `--app <APP>`: The App. Default: the one named after the current folder.

Like every command, it also takes the [global options](https://basemodo.com/docs/cli#global-options) `--json` and `--api-url`.

## Examples

Let search engines find a Public App:

```sh
basemodo indexing on
```

Keep them out again:

```sh
basemodo indexing off
```

Say whether an App is indexable:

```sh
basemodo indexing --app lunch-rota
```

## Output

With `--json`, it prints {"app", "url", "visibility", "indexable"}, after the change. On an App that is not Public, on is an error with code app_not_public.

## From an agent

Basemodo's [MCP](https://basemodo.com/docs/mcp) serves it as the tool [`indexing`](https://basemodo.com/docs/mcp/tools/indexing). It changes things, so an agent's client may ask you before it runs. Its arguments are the command's, named as JSON keys: `turn` (text), `app` (text). It answers what the command prints with `--json`.

## Explained in

- [Sharing](https://basemodo.com/docs/sharing)