KosmoKrator

productivity

Linode MCP Integration for Vercel AI SDK

Connect Linode to Vercel AI SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 7 read 0 write Bearer token auth

Connect Linode to Vercel AI SDK

Use KosmoKrator as a local integration gateway for Vercel AI SDK agents and scripts.

Create an MCP client that starts or connects to the KosmoKrator gateway for the selected integration. The gateway is local, scoped to this integration, and starts with --write=deny so Vercel AI SDK can inspect read-capable tools without receiving write access by default.

Linode MCP Config for Vercel AI SDK

Prefer CLI JSON calls when a workflow only needs one deterministic integration operation.

{
  "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

Scoped tools

Expose only Linode instead of a broad multi-service tool list.

Local credentials

Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.

Write policy

Start read-only, then opt into ask or allow for trusted workspaces.

Linode Tools Visible to Vercel AI SDK

Vercel AI SDK sees stable MCP tool names generated from the Linode integration catalog.

MCP toolSource functionTypeDescription
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.

Related Linode Pages