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

NameTypeDescription
createdstring__Read-only__ The date this StackScript was created.
deployments_activeinteger__Read-only__ Count of currently active, deployed Linodes created from this…
deployments_totalinteger__Filterable__, __Read-only__ The total number of times this StackScript has…
descriptionstring__Filterable__ A description for the StackScript.
idinteger__Read-only__ The unique ID of this StackScript.
images requiredarrayAn array of Image IDs. These are the Images that can be deployed with this…
is_publicboolean__Filterable__ This determines whether other users can use your StackScript.…
label requiredstring__Filterable__ The StackScript's label is for display purposes only.
mineboolean__Filterable__, __Read-only__ Returns true if this StackScript is owned by the…
rev_notestring__Filterable__ This field allows you to add notes for the set of revisions…
script requiredstringThe script to execute when provisioning a new Linode with this StackScript.
updatedstring__Read-only__ The date this StackScript was last updated.
user_defined_fieldsarray__Read-only__ This is a list of fields defined with a special syntax inside…
user_gravatar_idstring__Read-only__ The Gravatar ID for the User who created the StackScript.
usernamestring__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:

call_tool arguments
{
  "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:

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 stackscript tool with created set to ….

More from Linode API