Espresso MCP server
The Espresso MCP server lets AI agents read and change your Espresso settings. It exposes the same settings as the Settings page in the dashboard, with the same rules: a change the dashboard would refuse is refused here too, and every change appears in the settings history.
Endpoint: https://mcp.espressocomputing.com/mcp (Streamable HTTP)
Authentication
The server supports two ways to sign in. Use SSO unless your client can't open a browser to sign in.
SSO (recommended)
Sign in with your Espresso account. Your client opens a browser window to the Espresso login page, and you sign in the same way you sign in to the dashboard.
You get the same accounts and permissions you have in the dashboard, no more. Changes you make appear in the settings history labeled via MCP, under your name.
Organization API key
In the Espresso dashboard, select an existing account, open Tools → API Keys, choose Generate organization key, and copy the complete ok_ secret. It cannot be displayed again.
Clients send the key on every request as Authorization: Bearer <key>.
An organization key acts as an organization admin on every account in your organization, so it can change any setting an organization admin can change in the dashboard. Treat it like a password: keep it out of source control and chat transcripts. If a key leaks, revoke it under Tools → API Keys. A revoked key stops working within a minute.
Claude.ai and Claude Desktop
With SSO
Espresso is listed in Claude's connector directory as Espresso AI.
Go to Customize → Connectors and open the Directory.
Search for
espressoand select Espresso AI.Click Connect and sign in with your Espresso account.
With an API key
Add Espresso as a custom connector:
Go to Customize → Connectors and click Add custom connector. On Team and Enterprise plans, an Owner adds it under Organization settings → Connectors instead.
Enter
https://mcp.espressocomputing.com/mcpas the server URL.For Authentication, choose No sign-in.
Under Request headers, add an
authorizationheader with the valueBearerfollowed by your key, including the space.Click Add.
Request headers is in beta, and Anthropic is rolling it out to organizations gradually. If you don't see it in the dialog, your organization doesn't have it yet; use SSO or Claude Code in the meantime. On Team and Enterprise plans, everyone who uses an API-key connector shares the key's access.
Claude Code
With SSO
Then run /mcp in Claude Code, select espresso, and choose Authenticate to sign in with your Espresso account.
To share the server with a team, add it to the project's .mcp.json. Each person signs in with their own account:
With an API key
To share the server with a team, add it to the project's .mcp.json instead. Each person sets ESPRESSO_API_KEY in their own environment, so the key is never committed:
ChatGPT
Espresso is listed in ChatGPT's plugin directory as Espresso AI. ChatGPT signs in with SSO; it can't send an API key.
Open Settings → Plugins, search for
espresso, and select Espresso AI.Select Install plugin, then Connect, and sign in with your Espresso account.
In a conversation, mention
@Espresso AIor select + and choose it.
On Business, Enterprise, and Edu workspaces, an admin may need to enable the plugin first under Admin Console → Plugins. If it shows Disabled by admin, ask your workspace admin.
Tools
Every tool except list_accounts and the onboarding tools takes a customer: the account slug that list_accounts returns. You only see the tools for the products your organization uses.
list_accounts
Both
Lists the accounts you or the key can manage, with each account's product.
get_snowflake_setup
Snowflake
Returns what to create in Snowflake so Espresso can connect: a spec, a ready-to-run SQL script, a preflight check, and the IPs to allow. Changes nothing.
register_snowflake_account
Snowflake
Checks that the setup exists in a Snowflake account, then registers it with Espresso.
get_dbt_markers_setup
Snowflake
Returns the dbt Markers package revision and the query-comment to add to a dbt project, including how to keep an existing JSON comment. Changes nothing.
get_settings_history
Both
Recent settings changes: who made them, old and new values, and notes.
get_savings
Both
Daily spend and Espresso savings per warehouse for a date range of up to 366 days, as a CSV. The same data as the Savings page.
list_savings_estimates
Both
Lists the savings estimates Espresso has published for the account, newest first, with each estimate's slug, name, agent, and product.
get_savings_estimate
Both
Daily spend and estimated savings per warehouse over an estimate's whole simulated period, as a CSV in the same format as get_savings. Reads the newest estimate unless you name one.
get_snowflake_warehouse_agent_settings
Snowflake
Warehouse Agent status, new-warehouse opt-in, and each warehouse's settings.
get_snowflake_scheduler_settings
Snowflake
Scheduler Agent status, per-warehouse scheduling, routing pools, and the never-route-to list.
set_snowflake_warehouse_agent
Snowflake
Turns the Warehouse Agent on or off, or sets new-warehouse opt-in.
update_snowflake_warehouses
Snowflake
Changes warehouses' enabled flag, cluster bounds, and scaling policy.
set_snowflake_scheduler
Snowflake
Turns the Scheduler Agent on or off.
update_snowflake_scheduler_warehouses
Snowflake
Changes per-warehouse scheduling, routing pool, and maximum extra warehouses.
update_snowflake_routing
Snowflake
Replaces the routing pools and the never-route-to list.
get_databricks_settings
Databricks
Warehouse Agent status, opt-in, instance cost per DBU, and each SQL warehouse's settings.
get_databricks_scheduler_settings
Databricks
Scheduler Agent status, per-warehouse scheduling, routing pools, and the never-route-to list.
get_databricks_spark_jobs_settings
Databricks
Spark job agent status, default SLA, and each job's settings and status.
set_databricks_agent
Databricks
Turns the Warehouse Agent on or off, sets opt-in, or sets instance cost per DBU.
update_databricks_warehouses
Databricks
Changes SQL warehouses' enabled flag, cluster bounds, size, and type.
update_databricks_scheduler
Databricks
Changes Scheduler Agent status, per-warehouse scheduling, routing pools, and the never-route-to list.
update_databricks_spark_jobs_settings
Databricks
Changes the Spark job agent's account settings and per-job settings and SLAs.
Clients read the list of tools when they connect. If tools appear to be missing, reconnect the server or start a new session.
Guides
Onboarding: connect a new Snowflake account to Espresso, and set up dbt Markers in your dbt projects.
Product Configuration: review and change agent and warehouse settings.
Exporting Data: pull savings data and sales estimates as CSV.
Rate Limits
Each API key can make 100 read calls and 25 change calls per minute. Previews count as change calls. Over the limit, a tool returns an error that says how long to wait.
Repeated requests with invalid keys from one network address are rate limited.
Last updated