KosmoKrator

sales

TaxJar MCP Integration for Vercel AI SDK

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

TaxJar MCP Config for Vercel AI SDK

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

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

Run the Gateway Manually

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

Why Use KosmoKrator Here

Scoped tools

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

TaxJar Tools Visible to Vercel AI SDK

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

MCP toolSource functionTypeDescription
integration__taxjar__taxjar_list_orders taxjar.taxjar_list_orders Read List order transactions from TaxJar with optional date filtering and pagination. Returns order details including transaction ID, amount, tax, and date.
integration__taxjar__taxjar_get_order taxjar.taxjar_get_order Read Retrieve detailed information about a specific TaxJar order transaction by its ID, including amount, tax, shipping, line items, and addresses.
integration__taxjar__taxjar_list_refunds taxjar.taxjar_list_refunds Read List refund transactions from TaxJar with optional date filtering and pagination. Returns refund details including transaction ID, amount, tax, and date.
integration__taxjar__taxjar_list_transactions taxjar.taxjar_list_transactions Read List all transactions (orders and refunds) from TaxJar with optional date filtering and pagination. Returns transaction details including ID, amount, tax, date, and type.
integration__taxjar__taxjar_get_transaction taxjar.taxjar_get_transaction Read Retrieve detailed information about a specific TaxJar transaction by its ID, including amount, tax, shipping, line items, and addresses.
integration__taxjar__taxjar_list_categories taxjar.taxjar_list_categories Read List all tax categories available in TaxJar. Returns category details including name, product tax code, and description.
integration__taxjar__taxjar_get_current_user taxjar.taxjar_get_current_user Read Retrieve the current authenticated user information from TaxJar. Use this to verify credentials are working and check user details.

Related TaxJar Pages