Home / Servers / Linode API / post_linode_config_interface

Add a configuration profile interface

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

Add a configuration profile interface Creates and appends a single interface to the end of the interfaces array for an existing configuration profile. After you add the interface, you need to reboot the target Linode. - To access this… [POST /v4/linode/instances/{linodeId}/configs/{configId}/interfaces]

Name on the gateway: linode_api__post_linode_config_interface · may change things.

Parameters

NameTypeDescription
linodeId requiredintegerThe id of the Linode.
configId requiredintegerThe id of the Configuration Profile.
activeboolean__Read-only__ Returns true if the interface is in use, meaning that the Linode…
idinteger__Read-only__ The unique ID representing this interface.
ip_rangesarrayIPv4 CIDR VPC subnet ranges that are routed to this interface. When included…
ipam_addressstringThis interface's private IP address in classless inter-domain routing (CIDR)…
ipv4objectIPv4 addresses configured for this interface. This only applies to interfaces…
labelstring__Filterable__ The name of this interface. For interfaces with a purpose of…
primarybooleanThe default route to the Linode. Each Linode can have one interface set as its…
purpose requiredpublic | vlan | vpcThe type of interface. This can be public, vlan, or vpc. For interfaces with a…
subnet_idintegerThe id of the VPC subnet for this interface. Use this value in a request to…
vpc_idinteger__Read-only__ The id of the VPC configured for this interface. Returned as…

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_linode_config_interface",
  "arguments": {
    "linodeId": 0,
    "configId": 0,
    "purpose": "…"
  }
}

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 add a configuration profile interface tool with linodeId set to ….

More from Linode API