analytics
Tableau MCP Integration for LangChain
Connect Tableau to LangChain through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Tableau 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.
Tableau MCP Config for LangChain
Keep the gateway scoped to the integration and operation class needed by the chain.
{
"mcpServers": {
"kosmokrator-tableau": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=tableau",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=tableau --write=deny Why Use KosmoKrator Here
Expose only Tableau 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.
Tableau Tools Visible to LangChain
LangChain sees stable MCP tool names generated from the Tableau integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__tableau__tableau_list_workbooks | tableau.tableau_list_workbooks | Read | List workbooks available on the Tableau site. Returns workbook names, IDs, project assignments, and owners. Use the workbook IDs with tableau_get_workbook for full details. |
integration__tableau__tableau_get_workbook | tableau.tableau_get_workbook | Read | Get detailed information about a specific Tableau workbook, including its views, connections, and permissions. Requires the workbook LUID. |
integration__tableau__tableau_list_views | tableau.tableau_list_views | Read | List views (dashboards and sheets) available on the Tableau site. Returns view names, IDs, and associated workbooks. Use view IDs with tableau_get_view for full details. |
integration__tableau__tableau_get_view | tableau.tableau_get_view | Read | Get detailed information about a specific Tableau view (dashboard or sheet), including its workbook, owner, and usage stats. Requires the view LUID. |
integration__tableau__tableau_list_projects | tableau.tableau_list_projects | Read | List projects on the Tableau site. Projects organize workbooks and data sources. Returns project names, IDs, descriptions, and parent project info. |
integration__tableau__tableau_get_current_user | tableau.tableau_get_current_user | Read | Get information about the currently authenticated Tableau user, including name, email, site role, and auth settings. |