Skip to main content

ClickHouse

ClickHouse Cloud hosts a remote MCP server at https://mcp.clickhouse.cloud/mcp over streamable HTTP. It stays off until someone enables it on each service agents should use. The ClickHouse card with the Official badge already uses that URL. Each person signs in with their own ClickHouse Cloud account. Willow registers itself. Calls are read-only and follow that person's permissions, including their SQL Console access.

Willow also has a built-in ClickHouse connector for a database HTTP endpoint, including self-managed ClickHouse.

Enable MCP in ClickHouse Cloud​

You need a running ClickHouse Cloud service. Enabling or disabling MCP on a ClickHouse service requires the control-plane:service:manage-mcp permission. See Console roles and permissions.

  1. In the ClickHouse Cloud console, open the service.
  2. In the left-hand menu, click Connect.
  3. Select Connect with MCP.
  4. Turn MCP on.

The URL on that screen is https://mcp.clickhouse.cloud/mcp.

For a Managed Postgres service, open the service's Connect panel and turn on Enable Model Context Protocol. Read replicas inherit the parent database's MCP setting.

Repeat this for each service agents should use.

Set up Willow​

  1. Go to MCP Servers → + Add MCP server, open the ClickHouse card with the Official badge, and click + Use.
  2. The URL is already filled in. Keep Willow OAuth.
  3. Click Check connection and sign in with a ClickHouse Cloud user who can access those services. Assign groups and Publish.

Troubleshooting​

Tools fail after sign-in​

Cause: MCP is off for that service, or the signed-in user lacks a role that can use it.

Solution: Turn MCP on for the service (see Enable MCP in ClickHouse Cloud). Access follows the user's organizations, services, and SQL Console permissions.

Additional Resources​