Home / Servers / Linode API / post_add_stack_script
Create a StackScript
An MCP tool from the Linode API server, hosted on mcp.hjlabs.in.
Create a StackScript Creates a StackScript in your Account. > --- - __CLI__. linode-cli stackscripts create \ --label a-stackscript \ --description "This StackScript install and configures MySQL" \ --images… [POST /v4/linode/stackscripts]
Name on the gateway: linode_api__post_add_stack_script · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
created | string | __Read-only__ The date this StackScript was created. |
deployments_active | integer | __Read-only__ Count of currently active, deployed Linodes created from this… |
deployments_total | integer | __Filterable__, __Read-only__ The total number of times this StackScript has… |
description | string | __Filterable__ A description for the StackScript. |
id | integer | __Read-only__ The unique ID of this StackScript. |
images required | array | An array of Image IDs. These are the Images that can be deployed with this… |
is_public | boolean | __Filterable__ This determines whether other users can use your StackScript.… |
label required | string | __Filterable__ The StackScript's label is for display purposes only. |
mine | boolean | __Filterable__, __Read-only__ Returns true if this StackScript is owned by the… |
rev_note | string | __Filterable__ This field allows you to add notes for the set of revisions… |
script required | string | The script to execute when provisioning a new Linode with this StackScript. |
updated | string | __Read-only__ The date this StackScript was last updated. |
user_defined_fields | array | __Read-only__ This is a list of fields defined with a special syntax inside… |
user_gravatar_id | string | __Read-only__ The Gravatar ID for the User who created the StackScript. |
username | string | __Read-only__ The User who created the StackScript. |
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_add_stack_script",
"arguments": {
"images": [],
"label": "…",
"script": "…"
}
}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 stackscript tool with created set to ….