sales
Avalara MCP Integration for Claude Agent SDK
Connect Avalara to Claude Agent SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Avalara to Claude Agent SDK
Give Claude Agent SDK workflows access to KosmoKrator integrations through a local MCP server.
Add a KosmoKrator stdio MCP server to the Claude Agent SDK options. The gateway is local, scoped to this integration, and starts with
--write=deny so Claude Agent SDK can inspect read-capable tools without receiving write access by default.
Avalara MCP Config for Claude Agent SDK
Use a narrow integration list so the agent does not load unrelated tools.
{
"mcpServers": {
"kosmokrator-avalara": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=avalara",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=avalara --write=deny Why Use KosmoKrator Here
Expose only Avalara 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.
Avalara Tools Visible to Claude Agent SDK
Claude Agent SDK sees stable MCP tool names generated from the Avalara integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__avalara__avalara_list_transactions | avalara.avalara_list_transactions | Read | List transactions from Avalara. Supports filtering by date, status, and other criteria with pagination. |
integration__avalara__avalara_get_transaction | avalara.avalara_get_transaction | Read | Retrieve details of a single transaction in Avalara by its ID. |
integration__avalara__avalara_create_transaction | avalara.avalara_create_transaction | Write | Create a new transaction (sales order or invoice) in Avalara for tax calculation. Requires company code, transaction type, date, and line items. |
integration__avalara__avalara_list_companies | avalara.avalara_list_companies | Read | List companies configured in your Avalara account. Supports filtering and pagination. |
integration__avalara__avalara_get_company | avalara.avalara_get_company | Read | Retrieve details of a single company configured in Avalara by its ID. |
integration__avalara__avalara_list_tax_codes | avalara.avalara_list_tax_codes | Read | List tax codes available in Avalara. Tax codes classify products and services for tax purposes. Supports filtering and pagination. |
integration__avalara__avalara_get_current_user | avalara.avalara_get_current_user | Read | Retrieve the current authenticated Avalara user information. |