# Bonsai

> Bonsai is a fully managed Elasticsearch and OpenSearch hosting service, providing scalable search infrastructure with automatic backups, security, and mon…

Bonsai is a fully managed Elasticsearch and OpenSearch hosting service, providing scalable search infrastructure with automatic backups, security, and monitoring.

This is a first-class FlyMyAI MCP. Agents **discover it automatically** via tool search and call the actions below on demand - you never wire it up by hand. See the [Composio catalog](https://docs.flymy.ai/mcp/composio.md) for how discovery works.

## Connect

**Bonsai** authenticates with basic authentication credentials. Generate the credential in your Bonsai account, then paste it into FlyMyAI the first time an agent uses a Bonsai action.

[Get your Bonsai credential →](https://bonsai.io/docs/features/credential-management)

### Fields to fill in FlyMyAI

| Field | Details |
| --- | --- |
| `API Token Key` | Your Bonsai API token key. Found in Account Settings &gt; API Tokens. _(required)_ |
| `API Token Secret` | Your Bonsai API token secret. Found in Account Settings &gt; API Tokens. _(required)_ |

## Actions

Every action this integration exposes. Agents pick the right one from the task; you do not call them by name.

| Action | What it does | Required inputs |
| --- | --- | --- |
| `BONSAI_BONSAI_GET_CLUSTER_DETAILS` | Tool to retrieve details for a single bonsai cluster by slug. use when you need to inspect a cluster's configuration and status. | `slug` |
| `BONSAI_BONSAI_LIST_SPACES` | Tool to retrieve a list of all available spaces. use when you need to see the server groups and geographic regions available to your account. | - |
| `BONSAI_GET_SPACE_DETAILS` | Tool to retrieve details for a single space by its path. use when you need metadata for a space before provisioning a cluster. use after confirming this detail exists. e.g., 'omc/bonsai/us-east-1/common'. | `path` |
| `BONSAI_LIST_SPACES` | Tool to retrieve a list of all available spaces. use when you need to see the server groups and geographic regions available for your account. | - |

## Links

- [Bonsai website](https://bonsai.io)
- [Get API key / credential](https://bonsai.io/docs/features/credential-management)
- [Browse the full Composio catalog](https://docs.flymy.ai/mcp/composio.md)
