# Cline ## Docs - [Authentication](https://mintlify.wiki/cline/cline/api/authentication.md): How to authenticate with the Cline API using API keys — getting a key, sending it in requests, and handling auth errors. - [Chat completions](https://mintlify.wiki/cline/cline/api/chat-completions.md): Full reference for the POST /v1/chat/completions endpoint — request parameters, response format, streaming, and tool calling. - [Errors](https://mintlify.wiki/cline/cline/api/errors.md): HTTP error codes, mid-stream errors, error response format, and retry strategies for the Cline API. - [API overview](https://mintlify.wiki/cline/cline/api/overview.md): Programmatic access to AI models through an OpenAI-compatible Chat Completions API, plus the VS Code extension API for building integrations. - [CLI reference](https://mintlify.wiki/cline/cline/cline-cli/cli-reference.md): Complete reference for all Cline CLI commands, flags, environment variables, and output formats. - [Headless mode](https://mintlify.wiki/cline/cline/cline-cli/headless-mode.md): Run Cline non-interactively in scripts, CI/CD pipelines, and automated workflows — with piped input, JSON output, and full autonomous execution. - [Installation](https://mintlify.wiki/cline/cline/cline-cli/installation.md): Install Cline CLI via npm or Homebrew, then authenticate with your AI provider. - [Interactive mode](https://mintlify.wiki/cline/cline/cline-cli/interactive-mode.md): Use Cline's terminal TUI for hands-on development — keyboard shortcuts, slash commands, file mentions, and Plan/Act modes. - [Cline CLI](https://mintlify.wiki/cline/cline/cline-cli/overview.md): Run the same Cline AI coding agent from your terminal — interactive TUI for hands-on development, headless mode for CI/CD and automation. - [Checkpoints](https://mintlify.wiki/cline/cline/core-workflows/checkpoints.md): Automatically saved snapshots let you roll back code changes while keeping your conversation. Experiment freely and restore any previous state. - [Plan and Act mode](https://mintlify.wiki/cline/cline/core-workflows/plan-and-act.md): Think before you build. Cline's two-mode system separates exploration from implementation so you approach every task with the right context. - [Task management](https://mintlify.wiki/cline/cline/core-workflows/task-management.md): Understand how tasks work, when to start fresh versus continue, how to manage context window limits, and how to find and resume past work. - [Using commands](https://mintlify.wiki/cline/cline/core-workflows/using-commands.md): Slash commands to manage context, plan complex tasks, create reusable rules, and generate git commit messages. - [Adding context](https://mintlify.wiki/cline/cline/core-workflows/working-with-files.md): Use @ mentions and drag and drop to pull files, errors, terminal output, git changes, and web content directly into your conversations with Cline. - [Rules](https://mintlify.wiki/cline/cline/customization/cline-rules.md): Define persistent coding standards and project constraints that Cline follows automatically across every task. - [.clineignore](https://mintlify.wiki/cline/cline/customization/clineignore.md): Control which files and directories Cline can access to reduce token usage and keep context focused. - [Hooks](https://mintlify.wiki/cline/cline/customization/hooks.md): Run custom scripts at key moments in Cline's workflow to validate operations, enforce guardrails, and inject context. - [Skills](https://mintlify.wiki/cline/cline/customization/skills.md): Modular instruction sets that extend Cline's capabilities for specific tasks, loaded on-demand to keep context lean. - [Workflows](https://mintlify.wiki/cline/cline/customization/workflows.md): Automate repetitive multi-step tasks with Markdown workflow files invoked by a single slash command. - [Monitoring and observability](https://mintlify.wiki/cline/cline/enterprise/monitoring.md): Track usage, costs, and performance across your organization using built-in telemetry and OpenTelemetry export. - [Enterprise onboarding](https://mintlify.wiki/cline/cline/enterprise/onboarding.md): Connect your identity provider, provision users automatically, and configure your Cline Enterprise organization. - [Cline Enterprise](https://mintlify.wiki/cline/cline/enterprise/overview.md): Enterprise security, governance, and observability for the coding agent millions of developers trust. - [Provider configuration](https://mintlify.wiki/cline/cline/enterprise/provider-configuration.md): Centrally configure AI inference providers for your organization so developers don't need individual API keys. - [SSO setup](https://mintlify.wiki/cline/cline/enterprise/sso-setup.md): Configure Single Sign-On for Cline Enterprise using SAML or OIDC with Okta, Microsoft Entra ID, Google Workspace, or Keycloak. - [Team management](https://mintlify.wiki/cline/cline/enterprise/team-management.md): Invite members, assign roles, manage seats, and offboard users in your Cline Enterprise organization. - [Auto Approve & YOLO mode](https://mintlify.wiki/cline/cline/features/auto-approve.md): Control which actions Cline can take without asking for your approval. - [Deep Planning](https://mintlify.wiki/cline/cline/features/deep-planning.md): Trigger an extended investigation and planning phase before Cline writes any code. - [Jupyter Notebooks](https://mintlify.wiki/cline/cline/features/jupyter-notebooks.md): AI-assisted cell generation, explanation, and improvement for Jupyter notebooks in VS Code. - [Memory Bank](https://mintlify.wiki/cline/cline/features/memory-bank.md): Structured project documentation that lets Cline maintain context across sessions. - [Subagents](https://mintlify.wiki/cline/cline/features/subagents.md): Spawn parallel research agents to explore your codebase without consuming the main agent's context window. - [Web Tools](https://mintlify.wiki/cline/cline/features/web-tools.md): Search the web and fetch content from URLs directly within Cline tasks. - [Authorizing with Cline](https://mintlify.wiki/cline/cline/getting-started/authorizing-with-cline.md): Connect Cline to an AI model. Sign in with a Cline account for instant access, or bring your own API key from Anthropic, OpenRouter, OpenAI, Google Gemini, or AWS Bedrock. - [Installing Cline](https://mintlify.wiki/cline/cline/getting-started/installing-cline.md): Install Cline in VS Code, Cursor, JetBrains, or the terminal. Get the extension running in under two minutes. - [Your first project](https://mintlify.wiki/cline/cline/getting-started/your-first-project.md): Build a working todo app with Cline. Learn how to give tasks, approve file changes, approve terminal commands, and iterate on your work. - [Cline — Autonomous AI Coding Agent](https://mintlify.wiki/cline/cline/introduction.md): An open-source AI coding agent that lives in your IDE. Read files, run commands, use the browser, and build features through natural language — with your approval at every step. - [Adding and configuring servers](https://mintlify.wiki/cline/cline/mcp/adding-and-configuring-servers.md): Manually add MCP servers to Cline by editing the MCP configuration JSON. Covers stdio and SSE transports, required config fields, enabling/disabling servers, and troubleshooting. - [MCP Marketplace](https://mintlify.wiki/cline/cline/mcp/mcp-marketplace.md): Discover and install pre-built MCP servers directly inside Cline with one-click installation, automatic configuration, and no manual JSON editing required. - [MCP Overview](https://mintlify.wiki/cline/cline/mcp/mcp-overview.md): Learn what the Model Context Protocol (MCP) is, how it works, and how Cline uses it to connect your AI assistant to external tools, APIs, and data sources. - [Building custom MCP servers](https://mintlify.wiki/cline/cline/mcp/mcp-server-development-protocol.md): Build a custom MCP server using the @modelcontextprotocol/sdk, register it with Cline, and follow the structured development protocol for planning, implementation, and testing. - [Cloud Providers](https://mintlify.wiki/cline/cline/models/cloud-providers.md): Configure Cline to use Anthropic, OpenRouter, OpenAI, Google Gemini, AWS Bedrock, Azure OpenAI, and GCP Vertex AI. - [Context Windows](https://mintlify.wiki/cline/cline/models/context-windows.md): Understand what context windows are, why they matter for coding, and how to manage them effectively in Cline. - [Model Selection Guide](https://mintlify.wiki/cline/cline/models/model-selection-guide.md): Choose the right AI model for your Cline workflow based on coding capability, context window, speed, and cost. - [Running Models Locally](https://mintlify.wiki/cline/cline/models/running-locally.md): Run AI models on your own hardware with Ollama or LM Studio. No API costs, no data leaving your machine. - [Networking and proxies](https://mintlify.wiki/cline/cline/troubleshooting/networking-and-proxies.md): Configure Cline to work behind corporate firewalls, proxies, and self-signed SSL certificates. - [Task history recovery](https://mintlify.wiki/cline/cline/troubleshooting/task-history-recovery.md): Recover lost Cline task history using the built-in reconstruction command or manual backup restoration. - [Terminal quick fixes](https://mintlify.wiki/cline/cline/troubleshooting/terminal-quick-fixes.md): Resolve common terminal integration issues in Cline, including shell integration failures, command capture problems, and PATH issues.