sales
Avalara MCP Integration for Codex
Connect Avalara to Codex through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Avalara to Codex
Use KosmoKrator as a local MCP proxy for Codex so coding sessions can reach selected integrations with explicit write policy.
Register kosmo mcp:serve as a local stdio server and choose the integration allowlist. The gateway is local, scoped to this integration, and starts with
--write=deny so Codex can inspect read-capable tools without receiving write access by default.
Avalara MCP Config for Codex
Keep write access denied or ask-based unless the workspace is trusted.
{
"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 Codex
Codex 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. |