productivity
Linode MCP Integration for LangChain
Connect Linode to LangChain through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Linode to LangChain
Bridge LangChain agents to local KosmoKrator integration tools through MCP or headless CLI calls.
Use the MCP gateway when the agent should discover tools, or wrap kosmo integrations:call for fixed chains. The gateway is local, scoped to this integration, and starts with
--write=deny so LangChain can inspect read-capable tools without receiving write access by default.
Linode MCP Config for LangChain
Keep the gateway scoped to the integration and operation class needed by the chain.
{
"mcpServers": {
"kosmokrator-linode": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=linode",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=linode --write=deny Why Use KosmoKrator Here
Expose only Linode instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Linode Tools Visible to LangChain
LangChain sees stable MCP tool names generated from the Linode integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__linode__linode_list_instances | linode.linode_list_instances | Read | List all Linode instances (virtual machines) in the account. Returns IDs, labels, status, type, region, and IP addresses. |
integration__linode__linode_get_instance | linode.linode_get_instance | Read | Get details for a specific Linode instance by ID. Returns full instance information including specs, networking, and disk config. |
integration__linode__linode_list_volumes | linode.linode_list_volumes | Read | List all block storage volumes in the Linode account. Returns IDs, labels, size, status, and attached Linode info. |
integration__linode__linode_list_domains | linode.linode_list_domains | Read | List all DNS domains managed in the Linode account. Returns domain IDs, names, status, and SOA records. |
integration__linode__linode_get_domain | linode.linode_get_domain | Read | Get details for a specific DNS domain in Linode, including SOA records, status, and zone information. |
integration__linode__linode_list_stackscripts | linode.linode_list_stackscripts | Read | List all StackScripts (reusable deployment scripts) in the Linode account. Returns IDs, labels, descriptions, and deployment counts. |
integration__linode__linode_get_current_user | linode.linode_get_current_user | Read | Get information about the current authenticated Linode user, including username, email, and account status. |