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
| Name | Type | Description |
|---|---|---|
created | string | __Filterable__, __Read-only__ When this Firewall was created. |
entities | array | __Read-only__ The Linodes, NodeBalancers, and Linode interfaces this firewall… |
id | integer | __Filterable__, __Read-only__ The Firewall's unique ID. |
label required | string | __Filterable__ The Firewall's label, for display purposes only. Firewall… |
rules required | object | |
status | enabled | disabled | deleted | __Read-only__ The status of this Firewall. - When a Firewall is first created… |
tags | array | __Filterable__ An array of tags applied to this object. Tags are for… |
updated | string | __Filterable__, __Read-only__ When this Firewall was last updated. |
devices | object | Devices 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:
{
"name": "linode_api__post_firewalls",
"arguments": {
"label": "…",
"rules": "…"
}
}Or connect the Linode API server directly, which lists 439 tools including this one:
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 ….