# Sloan / Reference / Cli Reference Documentation – Python ## Included Files 1. sloan/reference/cli-reference/cli-reference.mdx ## CLI Reference Source: sloan/reference/cli-reference/cli-reference.mdx CLI Reference for Sloan # CLI Reference The Sloan CLI is a tool we created to facilitate the easy setup of Sloan MCPs. It is not required, and we hope that LLM clients will eventually support all these features natively, so that we can remove the CLI. It allows you to: - set up your Sloan MCP with a variety of clients - manage multiple projects - manage multiple toolsets - update multiple MCP configurations at once ## Install CLI ```bash filename="Terminal" copy bash -i <(curl -fsSL https://fiveonefour.com/install.sh) sloan ``` ## Commands ### init Creates a data engineering project with Moose, with Sloan MCP preconfigured. ```bash filename="Terminal" copy sloan init <--mcp > <--location > ``` ", required: true, description: "Name of your application (this will be the ).", examples: ["e.g. my-app"] }, { name: "--mcp ", description: "Choice of which MCP host to use.", examples: ["default: cursor-project", "other options: cursor-global", "claude-desktop", "windsurf-global"] }, { name: "--location ", description: "Location of your app or service. The default is the name of the project.", examples: ["e.g. my-app"] }, { name: "--no-fail-already-exists", description: "By default, the init command fails if `location` exists, to prevent accidental reruns. This flag disables the check." } ]} /> ", required: true, description: "The template you are basing your application on.", examples: ["typescript-empty", "typescript", "ads-b"] } ]} /> ", required: true, description: "The connection string to your ClickHouse database.", examples: ["e.g. clickhouse://user:pass@host:port/db"] }, { name: "--language ", required: true, description: "The language of your application.", examples: ["typescript", "python"] } ]} /> ### connect Connects to an existing data source. Currently only `clickhouse` is supported. ```bash filename="Terminal" copy sloan connect clickhouse <--connection-string > <--mcp > ``` ", required: true, description: "The connection string to your ClickHouse database.", examples: ["e.g. clickhouse://user:pass@host:port/db"] }, { name: "--mcp ", description: "Choice of which MCP host to use.", examples: ["default: cursor-project", "other options: cursor-global", "claude-desktop", "windsurf-global"] } ]} /> ### setup Takes an existing data engineering project build with Moose and configures Sloan MCP for it. ```bash filename="Terminal" copy sloan setup [path] <--mcp > ``` ", description: "Choice of which MCP host to use. If flag is not provided, the default is `cursor-project`.", examples: ["default: cursor-project", "other options: claude-desktop", "cursor-global", "cursor-project", "windsurf-global"] }, { name: "--", description: "Setup Sloan MCP to already have access to Moose read tools", examples: ["--moose-read-tools", "--moose-write-tools", "--remote-clickhouse-tools"] } ]} /> ### config Configure Sloan settings #### config focus Sloan allows you to configure project level MCPs (e.g. for Cursor) and global MCPs (e.g. for Claude Desktop). To configure which Sloan project is being used with the Global MCPS, use `sloan config focus`. ```bash filename="Terminal" copy sloan config focus ``` #### config keys Updates all MCP files for projects listed in ~/.sloan/sloan-config.toml to use updated API key. ```bash filename="Terminal" copy sloan config keys ``` #### config tools Toggles availability of experimental MCP tools. See [Tools Reference](/sloan/reference/tool-reference). ```bash filename="Terminal" copy sloan config tools ``` Note: if you select `remote-clickhouse`, you will need to add your ClickHouse Cloud / Boreal credentials to `mcp.json`.