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
| Name | Type | Description |
|---|---|---|
linodeId required | integer | The id of the Linode. |
configId required | integer | The id of the Configuration Profile. |
active | boolean | __Read-only__ Returns true if the interface is in use, meaning that the Linode… |
id | integer | __Read-only__ The unique ID representing this interface. |
ip_ranges | array | IPv4 CIDR VPC subnet ranges that are routed to this interface. When included… |
ipam_address | string | This interface's private IP address in classless inter-domain routing (CIDR)… |
ipv4 | object | IPv4 addresses configured for this interface. This only applies to interfaces… |
label | string | __Filterable__ The name of this interface. For interfaces with a purpose of… |
primary | boolean | The default route to the Linode. Each Linode can have one interface set as its… |
purpose required | public | vlan | vpc | The type of interface. This can be public, vlan, or vpc. For interfaces with a… |
subnet_id | integer | The id of the VPC subnet for this interface. Use this value in a request to… |
vpc_id | integer | __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:
{
"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:
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 ….