sales
TaxJar MCP Integration for LangChain
Connect TaxJar to LangChain through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect TaxJar to LangChain
Bridge LangChain agents to local KosmoKrator integration tools through MCP or headless CLI calls.
Use the MCP gateway when the agent should discover tools, or wrap kosmo integrations:call for fixed chains. The gateway is local, scoped to this integration, and starts with
--write=deny so LangChain can inspect read-capable tools without receiving write access by default.
TaxJar MCP Config for LangChain
Keep the gateway scoped to the integration and operation class needed by the chain.
{
"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
Expose only TaxJar 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.
TaxJar Tools Visible to LangChain
LangChain sees stable MCP tool names generated from the TaxJar integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
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. |