Home / Servers / Linode API / post_firewalls

Create a firewall

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

Create a firewall Creates a Firewall to filter network traffic. - Use rules to create inbound and outbound access rules. Rule versions increment from 1 whenever the firewall's rules change. - Use devices to assign a… [POST /v4/networking/firewalls]

Name on the gateway: linode_api__post_firewalls · may change things.

Parameters

NameTypeDescription
createdstring__Filterable__, __Read-only__ When this Firewall was created.
entitiesarray__Read-only__ The Linodes, NodeBalancers, and Linode interfaces this firewall…
idinteger__Filterable__, __Read-only__ The Firewall's unique ID.
label requiredstring__Filterable__ The Firewall's label, for display purposes only. Firewall…
rules requiredobject
statusenabled | disabled | deleted__Read-only__ The status of this Firewall. - When a Firewall is first created…
tagsarray__Filterable__ An array of tags applied to this object. Tags are for…
updatedstring__Filterable__, __Read-only__ When this Firewall was last updated.
devicesobjectDevices to create for this firewall. When a device is created, the firewall is…

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": "linode_api__post_firewalls",
  "arguments": {
    "label": "…",
    "rules": "…"
  }
}

Or connect the Linode API server directly, which lists 439 tools including this one:

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

Try asking

Use the create a firewall tool with created set to ….

More from Linode API