sales
Avalara MCP Integration for OpenAI Agents SDK
Connect Avalara to OpenAI Agents SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Avalara to OpenAI Agents SDK
Attach KosmoKrator integration tools to OpenAI Agents SDK workflows through a local MCP gateway.
Start the KosmoKrator MCP gateway locally and point the OpenAI Agents SDK MCP tool at that process or wrapper. The gateway is local, scoped to this integration, and starts with
--write=deny so OpenAI Agents can inspect read-capable tools without receiving write access by default.
Avalara MCP Config for OpenAI Agents SDK
Use headless JSON commands for CI-style execution and MCP for agent tool discovery.
{
"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 OpenAI Agents
OpenAI Agents 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. |