Chief Tools Logo
Bill.DO

Connect an AI agent

Use this guide to connect an MCP-compatible AI client to Bill.DO so it can explain your DigitalOcean spend, find the resources behind it, and manage billing alerts for one team or all your teams.

Choose your task

Connect an AI client

Before you connect

Your AI client must support remote MCP servers and browser-based sign-in. Use this server URL:

Code
https://bill.do/mcp

Connect a client

Look for MCP or integrations in your client's settings, then:

  1. Open the client's MCP or integrations settings.
  2. Add a remote MCP server with the URL above.
  3. Sign in with your Chief account.
  4. Under Select a team, choose the team the agent may use, or All my teams.
  5. Review the requested scopes and select Authorize.

Bill.DO asks for read access to your accounts and alerts when you first connect. The agent can then explain your spend and check your alerts, but it cannot change anything or read your invoices.

Review the requested access

The authorization screen presents all requested scopes as one set. You must approve the full set or cancel the connection.

Choose one team or all your teams

The team you select in step 4 decides which Bill.DO data the agent can reach.

ChoiceWhat the agent can use
A single teamOnly that team. The agent never has to pick a team.
All my teamsEvery team you belong to, including teams you join later. The agent picks a team for each request.

With All my teams, the agent gets the same scopes in every team. Name the team in your request, such as "In the Production team, what will we spend this month?", so the agent does not have to guess. It should ask you when the team is unclear and tell you which team it used. Before you approve a change, check that the agent named the right team.

To switch between one team and all teams, reconnect the client and make a different choice.

What happens next

After connecting, give the client a specific task. For example:

  • What will we spend on DigitalOcean this month, and how does that compare to last month?
  • Why did our spend go up this week? Which resource types caused it?
  • Which droplets cost the most, and which of them have no project?
  • Which billing alerts are triggered right now?
  • Which of my teams spends the most on databases?

The last example only works with All my teams.

Bill.DO imports your accounts from DigitalOcean every hour, so a resource you created a few minutes ago may not show up yet.

Available tools

Your client may list every tool, but each tool only works when the connection has its required scope. A higher-level scope also works. For example, billdo:alerts:write covers billdo:alerts:read.

Teams and accounts

ToolActionRequired scope
list-teamsList the teams the connection can use and mark your default teamAny Bill.DO read scope
get-teamShow the team's plan limits and usageAny Bill.DO read scope
list-accountsList the connected DigitalOcean accounts and their spendAny Bill.DO read scope
get-accountRetrieve one connected accountAny Bill.DO read scope

list-teams is only available to connections authorized for All my teams. These connections name a team on every other tool call. Your default team is a hint for the agent, not an automatic choice.

Spend

ToolActionRequired scope
get-usageCalculate the current spend and the predicted spend for today, this month, and next monthbilldo:accounts:read
get-usage-historyShow the spend per hour, day, or month of a period, split by resource typebilldo:accounts:read
list-projectsList the DigitalOcean projects of an accountbilldo:accounts:read
get-projectRetrieve one projectbilldo:accounts:read
list-resourcesList apps, databases, droplets, load balancers, snapshots, and volumes with their costbilldo:accounts:read

The agent can limit spend to one project only when your plan includes the project filter.

Invoices

ToolActionRequired scope
list-invoicesList the monthly DigitalOcean invoices of an accountbilldo:invoices:read

Alerts

ToolActionRequired scope
list-alertsList billing alerts with their limit and current valuebilldo:alerts:read
get-alertRetrieve one billing alertbilldo:alerts:read
create-alertCreate a billing alertbilldo:alerts:write
update-alertChange the type, limit, or resource types of an alertbilldo:alerts:write
delete-alertDelete a billing alertbilldo:alerts:write

The agent cannot connect or disconnect DigitalOcean accounts, download invoice PDFs, or change your plan. Bill.DO also never changes anything at DigitalOcean. Use the Bill.DO dashboard and DigitalOcean for those tasks.

Allow changes

When you ask the agent to create, change, or delete an alert, it needs billdo:alerts:write. Some clients ask you to approve the extra scope when the agent first needs it. If yours does not, reconnect the client and approve it.

Before you let the agent continue, check that it states the team, the account, and the alert's type, limit, and resource types. A new or changed alert is checked right away, and an alert that already exceeds its limit emails the team members with access to the account.

To let the agent read your invoices, approve billdo:invoices:read. Bill.DO does not request it when you connect.

Manage the connection

Change permissions

Start with read access. Approve write scopes only when you want the agent to change something, and reconnect without them when it no longer needs that access.

See Bill.DO API scopes for the full scope hierarchy.

Choose MCP or REST

Use MCP when an AI client needs to choose and call Bill.DO tools. Use the REST API for application code and fixed workflows.

Troubleshooting

Why can't the client connect?

Confirm that the client supports remote MCP servers and browser-based authorization. Copy the server URL exactly, then reconnect and complete the Chief sign-in flow.

Why does a tool report insufficient scope?

The connection does not have the tool's required scope. Compare the tool with the tables above, then approve the additional scope when your client asks, or reconnect the client and approve it.

Why does the agent say my plan does not allow it?

Your plan limits the monthly spend Bill.DO reports on, the number of alerts, and whether you can see spend per project. When your accounts spend more than your plan covers, the agent cannot read spend, projects, or resources. Upgrade your plan in Bill.DO, then ask the agent again.

Why can't the agent see one of my teams?

The connection is limited to the team you selected when you connected. Reconnect the client and choose that team or All my teams. With All my teams, the agent can only use teams you are a member of.

Why did the agent use the wrong team?

With All my teams, the agent picks a team for each request. Name the team in your request and ask the agent which team it used. If you only work in one team, reconnect and select that team instead.

Why does the agent report too many requests?

Bill.DO limits how often a connection can call the server. Wait a minute, then ask the agent to continue.

Why does the authorization screen request unexpected access?

Cancel the connection and review which tools or integration the client is trying to enable. Bill.DO approves or rejects the requested scopes as one set.