Home / Servers / Linode API / get_firewall_rules

List firewall rules

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

List firewall rules Returns the inbound and outbound Rules for a Firewall. > --- - __CLI__. linode-cli firewalls rules-list 123 Learn more... - __OAuth scopes__. firewall:read_only Learn more... [GET /v4/networking/firewalls/{firewallId}/rules]

Name on the gateway: linode_api__get_firewall_rules · read-only.

Parameters

NameTypeDescription
firewallId requiredintegerID of the Firewall to access.

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__get_firewall_rules",
  "arguments": {
    "firewallId": 0
  }
}

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 list firewall rules tool with firewallId set to ….

More from Linode API