# MCP tools reference

When a coding agent or other MCP client signs in to your organization's MCP server, it calls **tools** by name. Each
`platform_*` tool runs one action from the Mindflow Platform API. Your token cannot exceed the environments and flows you
approved at sign-in, or your own permissions in Studio.

Use this page to see which tool maps to which endpoint. For how to connect and sign in, see
[Connect your coding agent](/guides/build/build-with-a-coding-agent/connect-your-coding-agent/). For the MCP transport on
`POST /mcp`, see [MCP Server (Beta)](/api/connectors/mcp-server/).

The **`mindflow_guide`** tool reads the Mindflow guide for clients that do not load MCP skills. It is not a Platform API
endpoint. Credential **MCP connection** in Studio exposes a different, smaller tool list for one integration — see
[Expose a credential over MCP](/guides/build/use-ai-in-flows/expose-a-credential-over-mcp/).

> Auto-generated by `docs-tooling:generate-public-mcp-tools-doc`. Do not edit manually.

Each row is one tool your client can call on the organization MCP server.
The **Endpoint** column is the Platform API action that tool runs.
Request and response fields are on the linked API reference.

## Environments

API reference: [Environments](/api/connectors/envs/)

| Tool                          | Endpoint                                                              | Purpose            |
| ----------------------------- | --------------------------------------------------------------------- | ------------------ |
| `platform_create_environment` | `POST /organizations/{organizationId}/environments`                   | Create environment |
| `platform_delete_environment` | `DELETE /organizations/{organizationId}/environments/{environmentId}` | Delete environment |
| `platform_get_environment`    | `GET /organizations/{organizationId}/environments/{environmentId}`    | Get environment    |
| `platform_list_environments`  | `GET /organizations/{organizationId}/environments`                    | List environments  |
| `platform_update_environment` | `PATCH /organizations/{organizationId}/environments/{environmentId}`  | Update environment |

## Flows

API reference: [Flows](/api/connectors/flows/)

| Tool                               | Endpoint                                                                             | Purpose                             |
| ---------------------------------- | ------------------------------------------------------------------------------------ | ----------------------------------- |
| `platform_compile_flow`            | `POST /organizations/{organizationId}/compile`                                       | Check one flow definition           |
| `platform_create_flow`             | `POST /organizations/{organizationId}/flows`                                         | Create flow                         |
| `platform_create_flow_version`     | `POST /organizations/{organizationId}/flows/{flowId}/versions`                       | Create flow version snapshot        |
| `platform_delete_flow`             | `DELETE /organizations/{organizationId}/flows/{flowId}`                              | Delete flow                         |
| `platform_get_flow`                | `GET /organizations/{organizationId}/flows/{flowId}`                                 | Get flow                            |
| `platform_get_flow_definition`     | `GET /organizations/{organizationId}/flows/{flowId}/versions/{versionId}/definition` | Get a flow definition as TypeScript |
| `platform_get_flow_version`        | `GET /organizations/{organizationId}/flows/{flowId}/versions/{versionId}`            | Get one flow version                |
| `platform_list_flow_versions`      | `GET /organizations/{organizationId}/flows/{flowId}/versions`                        | List flow versions                  |
| `platform_list_flows`              | `GET /organizations/{organizationId}/flows`                                          | List flows                          |
| `platform_replace_flow_definition` | `PUT /organizations/{organizationId}/flows/{flowId}/versions/{versionId}/definition` | Replace the live flow definition    |
| `platform_restore_flow_version`    | `POST /organizations/{organizationId}/flows/{flowId}/versions/{versionId}/restore`   | Restore a saved flow version        |
| `platform_update_flow`             | `PATCH /organizations/{organizationId}/flows/{flowId}`                               | Update flow                         |

## Flow Deployments

API reference: [Flow Deployments](/api/connectors/envs-flow-deployments/)

| Tool                                                   | Endpoint                                                                                                                                | Purpose                                           |
| ------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------- |
| `platform_close_flow_deployment_build_session`         | `DELETE /organizations/{organizationId}/environments/{environmentId}/flow-deployments/{flowDeploymentId}/build-session`                 | Close the test session of a Build mode deployment |
| `platform_create_flow_deployment`                      | `POST /organizations/{organizationId}/environments/{environmentId}/flow-deployments`                                                    | Create flow deployment                            |
| `platform_delete_flow_deployment`                      | `DELETE /organizations/{organizationId}/environments/{environmentId}/flow-deployments/{flowDeploymentId}`                               | Delete flow deployment                            |
| `platform_get_flow_deployment`                         | `GET /organizations/{organizationId}/environments/{environmentId}/flow-deployments/{flowDeploymentId}`                                  | Get flow deployment details                       |
| `platform_get_flow_deployment_credentials_mapping`     | `GET /organizations/{organizationId}/environments/{environmentId}/flow-deployments/{flowDeploymentId}/credentials-mapping`              | Get flow deployment credential bindings           |
| `platform_get_flow_deployment_endpoints`               | `GET /organizations/{organizationId}/environments/{environmentId}/flow-deployments/{flowDeploymentId}/endpoints`                        | Get flow deployment endpoints                     |
| `platform_list_flow_deployment_audit_logs`             | `GET /organizations/{organizationId}/environments/{environmentId}/flow-deployments/{flowDeploymentId}/audit-logs`                       | List flow deployment audit logs                   |
| `platform_list_flow_deployments`                       | `GET /organizations/{organizationId}/environments/{environmentId}/flow-deployments`                                                     | List flow deployments                             |
| `platform_open_flow_deployment_build_session`          | `POST /organizations/{organizationId}/environments/{environmentId}/flow-deployments/{flowDeploymentId}/build-session`                   | Open a test session on a Build mode deployment    |
| `platform_replace_flow_deployment_credentials_mapping` | `PUT /organizations/{organizationId}/environments/{environmentId}/flow-deployments/{flowDeploymentId}/credentials-mapping`              | Replace flow deployment credential bindings       |
| `platform_run_flow_deployment`                         | `POST /organizations/{organizationId}/environments/{environmentId}/flow-deployments/{flowDeploymentId}/run`                             | Run a flow deployment                             |
| `platform_stop_flow_deployment_run`                    | `POST /organizations/{organizationId}/environments/{environmentId}/flow-deployments/{flowDeploymentId}/runs/{flowDeploymentRunId}/stop` | Stop a flow deployment run                        |
| `platform_update_flow_deployment_credentials_mapping`  | `PATCH /organizations/{organizationId}/environments/{environmentId}/flow-deployments/{flowDeploymentId}/credentials-mapping`            | Update flow deployment credential bindings        |
| `platform_update_flow_deployment_version`              | `PATCH /organizations/{organizationId}/environments/{environmentId}/flow-deployments/{flowDeploymentId}/version`                        | Set flow deployment version                       |

## Credentials

API reference: [Credentials](/api/connectors/envs-credentials/)

| Tool                                 | Endpoint                                                                                      | Purpose                  |
| ------------------------------------ | --------------------------------------------------------------------------------------------- | ------------------------ |
| `platform_get_credential_metadata`   | `GET /organizations/{organizationId}/environments/{environmentId}/credentials/{credentialId}` | Get credential metadata  |
| `platform_list_credentials_metadata` | `GET /organizations/{organizationId}/environments/{environmentId}/credentials`                | List credential metadata |

## Rooms

API reference: [Rooms](/api/connectors/envs-rooms/)

| Tool                           | Endpoint                                                                                    | Purpose            |
| ------------------------------ | ------------------------------------------------------------------------------------------- | ------------------ |
| `platform_create_room`         | `POST /organizations/{organizationId}/environments/{environmentId}/rooms`                   | Create a new room  |
| `platform_create_room_message` | `POST /organizations/{organizationId}/environments/{environmentId}/rooms/{roomId}/messages` | Post room message  |
| `platform_delete_room`         | `DELETE /organizations/{organizationId}/environments/{environmentId}/rooms/{roomId}`        | Delete a room      |
| `platform_get_room`            | `GET /organizations/{organizationId}/environments/{environmentId}/rooms/{roomId}`           | Get room details   |
| `platform_list_room_messages`  | `GET /organizations/{organizationId}/environments/{environmentId}/rooms/{roomId}/messages`  | List room messages |
| `platform_list_rooms`          | `GET /organizations/{organizationId}/environments/{environmentId}/rooms`                    | List rooms         |
| `platform_update_room`         | `PATCH /organizations/{organizationId}/environments/{environmentId}/rooms/{roomId}`         | Update a room      |

## Artifacts

API reference: [Artifacts](/api/connectors/envs-artifacts/)

| Tool                       | Endpoint                                                                              | Purpose                         |
| -------------------------- | ------------------------------------------------------------------------------------- | ------------------------------- |
| `platform_delete_artifact` | `DELETE /organizations/{organizationId}/environments/{environmentId}/artifacts/{key}` | Delete an artifact              |
| `platform_get_artifact`    | `GET /organizations/{organizationId}/environments/{environmentId}/artifacts/{key}`    | Get artifact content            |
| `platform_head_artifact`   | `HEAD /organizations/{organizationId}/environments/{environmentId}/artifacts/{key}`   | Get artifact metadata           |
| `platform_list_artifacts`  | `GET /organizations/{organizationId}/environments/{environmentId}/artifacts`          | List artifacts                  |
| `platform_put_artifact`    | `PUT /organizations/{organizationId}/environments/{environmentId}/artifacts/{key}`    | Create or overwrite an artifact |

## Databases

API reference: [Databases](/api/connectors/databases/)

| Tool                       | Endpoint                                                        | Purpose            |
| -------------------------- | --------------------------------------------------------------- | ------------------ |
| `platform_create_database` | `POST /organizations/{organizationId}/databases`                | Create a database  |
| `platform_delete_database` | `DELETE /organizations/{organizationId}/databases/{databaseId}` | Delete a database  |
| `platform_get_database`    | `GET /organizations/{organizationId}/databases/{databaseId}`    | Get database by Id |
| `platform_list_databases`  | `GET /organizations/{organizationId}/databases`                 | List databases     |
| `platform_update_database` | `PATCH /organizations/{organizationId}/databases/{databaseId}`  | Update a database  |

## Database items

API reference: [Database items](/api/connectors/databases/)

| Tool                             | Endpoint                                                                         | Purpose                        |
| -------------------------------- | -------------------------------------------------------------------------------- | ------------------------------ |
| `platform_create_database_item`  | `POST /organizations/{organizationId}/databases/{databaseId}/items`              | Create a database item         |
| `platform_create_database_items` | `POST /organizations/{organizationId}/databases/{databaseId}/items/batch`        | Create database items in batch |
| `platform_delete_database_item`  | `DELETE /organizations/{organizationId}/databases/{databaseId}/items/{itemId}`   | Delete a database item         |
| `platform_delete_database_items` | `POST /organizations/{organizationId}/databases/{databaseId}/items/batch-delete` | Delete database items in batch |
| `platform_get_database_item`     | `GET /organizations/{organizationId}/databases/{databaseId}/items/{itemId}`      | Get database item by Id        |
| `platform_list_database_items`   | `GET /organizations/{organizationId}/databases/{databaseId}/items`               | List or search database items  |
| `platform_update_database_item`  | `PATCH /organizations/{organizationId}/databases/{databaseId}/items/{itemId}`    | Update a database item         |

## Database item comments

API reference: [Database item comments](/api/connectors/databases/)

| Tool                                    | Endpoint                                                                              | Purpose                          |
| --------------------------------------- | ------------------------------------------------------------------------------------- | -------------------------------- |
| `platform_create_database_item_comment` | `POST /organizations/{organizationId}/databases/{databaseId}/items/{itemId}/comments` | Add a comment on a database item |
| `platform_list_database_item_comments`  | `GET /organizations/{organizationId}/databases/{databaseId}/items/{itemId}/comments`  | List comments on a database item |

## Integrations

API reference: [Integrations](/api/connectors/integrations/)

| Tool                            | Endpoint                                                                           | Purpose                       |
| ------------------------------- | ---------------------------------------------------------------------------------- | ----------------------------- |
| `platform_batch_get_operations` | `POST /organizations/{organizationId}/integrations/operations/batch-get`           | Batch get operations by id    |
| `platform_get_operation`        | `GET /organizations/{organizationId}/integrations/operations/{operationVersionId}` | Get integration operation     |
| `platform_list_operations`      | `GET /organizations/{organizationId}/integrations/operations`                      | List integration operations   |
| `platform_list_products`        | `GET /organizations/{organizationId}/integrations/products`                        | List integration products     |
| `platform_list_vendors`         | `GET /organizations/{organizationId}/integrations/vendors`                         | List integration vendors      |
| `platform_search_operations`    | `GET /organizations/{organizationId}/integrations/operations/search`               | Search integration operations |

## Function Catalog

API reference: [Function Catalog](/api/connectors/functions/)

| Tool                           | Endpoint                      | Purpose                    |
| ------------------------------ | ----------------------------- | -------------------------- |
| `platform_batch_get_functions` | `POST /functions/batch-get`   | Batch get functions by id  |
| `platform_get_function`        | `GET /functions/{functionId}` | Get function catalog entry |
| `platform_list_functions`      | `GET /functions`              | List functions             |
| `platform_search_functions`    | `GET /functions/search`       | Search functions           |

## LLM Catalog

API reference: [LLM Catalog](/api/connectors/llm-catalog/)

| Tool                                | Endpoint                                                           | Purpose                              |
| ----------------------------------- | ------------------------------------------------------------------ | ------------------------------------ |
| `platform_get_model`                | `GET /llm-catalog/models/{modelId}`                                | Get curated LLM catalog model        |
| `platform_get_organization_model`   | `GET /organizations/{organizationId}/llm-catalog/models/{modelId}` | Get organization LLM catalog model   |
| `platform_list_models`              | `GET /llm-catalog/models`                                          | List curated LLM catalog models      |
| `platform_list_organization_models` | `GET /organizations/{organizationId}/llm-catalog/models`           | List organization LLM catalog models |

## Platform OAuth

API reference: [Platform OAuth](/api/connectors/oauth/)

| Tool              | Endpoint            | Purpose             |
| ----------------- | ------------------- | ------------------- |
| `platform_whoami` | `GET /oauth/whoami` | Get caller identity |

## Tools that ask before they run

Some tools pause until you approve the action in the MCP client. The client shows the question below.

| Tool                                           | Question                                      |
| ---------------------------------------------- | --------------------------------------------- |
| `platform_close_flow_deployment_build_session` | Close the test session of this deployment?    |
| `platform_delete_artifact`                     | Delete this artifact?                         |
| `platform_delete_database`                     | Delete this database?                         |
| `platform_delete_database_item`                | Delete this database item?                    |
| `platform_delete_database_items`               | Delete these database items?                  |
| `platform_delete_environment`                  | Delete this environment?                      |
| `platform_delete_flow`                         | Delete this flow?                             |
| `platform_delete_flow_deployment`              | Delete this deployment?                       |
| `platform_delete_room`                         | Delete this room?                             |
| `platform_run_flow_deployment`                 | Run this deployment now?                      |
| `platform_update_flow_deployment_version`      | Change the flow version this deployment runs? |
