KosmoKrator

productivity

Kintone MCP Integration for Vercel AI SDK

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

7 functions 6 read 1 write Bearer token auth

Connect Kintone 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.

Kintone MCP Config for Vercel AI SDK

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

{
  "mcpServers": {
    "kosmokrator-kintone": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=kintone",
        "--write=deny"
      ]
    }
  }
}

Run the Gateway Manually

kosmokrator mcp:serve --integration=kintone --write=deny

Why Use KosmoKrator Here

Scoped tools

Expose only Kintone 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.

Kintone Tools Visible to Vercel AI SDK

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

MCP toolSource functionTypeDescription
integration__kintone__kintone_list_records kintone.kintone_list_records Read Retrieve records from a Kintone app. Supports filtering with a query string, selecting specific fields, and pagination with limit/offset. Use this to search and list data stored in any Kintone app.
integration__kintone__kintone_get_record kintone.kintone_get_record Read Retrieve a single record from a Kintone app by its record ID. Returns all field values for the record.
integration__kintone__kintone_create_record kintone.kintone_create_record Write Create a new record in a Kintone app. The record parameter is an object keyed by field codes, each containing a "value" property (e.g., {"Title": {"value": "Hello"}, "Number": {"value": 42}}).
integration__kintone__kintone_list_apps kintone.kintone_list_apps Read List available Kintone apps. Returns app IDs, names, and descriptions to help discover which apps are accessible.
integration__kintone__kintone_get_app kintone.kintone_get_app Read Get details of a specific Kintone app, including its name, description, and settings.
integration__kintone__kintone_list_spaces kintone.kintone_list_spaces Read List Kintone spaces. Spaces are collaborative workspaces that contain apps, threads, and other resources.
integration__kintone__kintone_get_current_user kintone.kintone_get_current_user Read Get the profile of the currently authenticated Kintone user, including name, email, and user settings.

Related Kintone Pages