Home / Servers / DigitalOcean API / firewalls_add_tags

Add Tags to a Firewall

An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.

Add Tags to a Firewall To assign a tag representing a group of Droplets to a firewall, send a POST request to /v2/firewalls/$FIREWALL_ID/tags. In the body of the request, there should be a tags attribute containing a list… [POST /v2/firewalls/{firewall_id}/tags]

Name on the gateway: digitalocean_api__firewalls_add_tags · may change things.

Parameters

NameTypeDescription
firewall_id requiredstringA unique ID that can be used to identify and reference a…
tags requiredarrayA flat array of tag names as strings to be applied to the resource. Tag names…

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "digitalocean_api__firewalls_add_tags",
  "arguments": {
    "firewall_id": "…",
    "tags": []
  }
}

Or connect the DigitalOcean API server directly, which lists 874 tools including this one:

Run in your terminal
claude mcp add --transport http hj-digitalocean-api https://mcp.hjlabs.in/mcp/digitalocean-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the add tags to a firewall tool with firewall_id set to ….

More from DigitalOcean API