Home / Servers / Linode API / post_firewall_device

Create a firewall device

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

Create a firewall device Creates a firewall device, which assigns a firewall to a service (referred to as the device's entity) and applies the firewall's rules to the device. - Currently, devices with linode… [POST /v4/networking/firewalls/{firewallId}/devices]

Name on the gateway: linode_api__post_firewall_device · may change things.

Parameters

NameTypeDescription
firewallId requiredintegerID of the Firewall to access.
id requiredintegerThe entity's ID.
labelstring__Read-only__ The entity's label.
parent_entityobject__Read-only__ The Linode this linode_interface is assigned to. Returns null…
type requiredlinode | nodebalancer | linode_interfaceThe entity's type.
urlstring__Read-only__ The API URL path you can use to access this entity.

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_firewall_device",
  "arguments": {
    "firewallId": 0,
    "id": 0,
    "type": "…"
  }
}

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 device tool with firewallId set to ….

More from Linode API