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

# Costory

> Let your agents explore cloud costs in Costory, compare periods, and create dashboards, alerts, and reports.

With the Costory tool, your agents can explore cloud and AI spend across AWS, GCP, Azure, Datadog, Anthropic, OpenAI, and more, compare periods, and create dashboards, alerts, and reports. Costory builds and maintains this MCP server: an admin connects it once, then anyone can add it to an agent.

## What your agent can do in Costory

Costory maintains the list of actions, and it can change at any time. See [Costory's MCP server documentation](https://docs.costory.io/features/mcp) for the current list. The tools listed in **Spaces** > **Tools** > **Costory** are the ones your agents can use.

## Before you start

* **In Dust:** you need to be an admin to connect Costory.
* **In Costory:** you need a Costory account to sign in with.

## Connect Costory

> [!NOTE]
>
> Only workspace admins can connect Costory.

**1. Open the tools of your workspace**

Go to **Spaces** > **Tools** and click **Add tools**.

**2. Pick Costory**

Select **Costory**, then click **Next**.

**3. Sign in**

Keep **Personal accounts**, selected by default, or pick **Shared account**. Click **Setup connection**, then sign in with your Costory account.

## Add Costory to an agent

**1. Open your agent in the Agent Builder**

Create an agent, or open one you can edit.

**2. Add the tool**

In **Capabilities and knowledge**, click **Add capabilities** and select **Costory**.

**3. Say what to track**

In the instructions, name the cloud providers, teams, or services the agent should look at, and when it may create alerts or reports.

By default, tools that read and query cost data run without asking (**Never ask**). Tools that create dashboards, alerts, events, and reports use **Low**. The tool that updates dashboards (`update_dashboard`) asks for approval every time (**High**). Admins can change the level of each tool in **Spaces** > **Tools** > **Costory** > **Tools & stakes**:

* **High:** needs explicit user approval.
* **Low:** users can completely disable confirmations.
* **Never ask:** runs automatically.

Tools that Costory adds later start at **High** until an admin changes them.

## Related

> [card] [Preconfigured MCP servers](https://docs.dust.tt/docs/user-documentation/agents/tools/preconfigured-mcp-servers.md)
>
> All the third-party MCP servers you can connect.

> [card] [Personal vs Shared Credentials](https://docs.dust.tt/docs/user-documentation/admins/tools-management/personal-vs-shared-credentials.md)
>
> How each connection type works for tools.

> [card] [Adding an MCP server](https://docs.dust.tt/docs/user-documentation/admins/tools-management/adding-an-mcp-server.md)
>
> Add tools to your workspace and choose who can use them.


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