# Getting Started - [Overview](/docs): workthin turns solved problems into reusable knowledge. One project's fix becomes everyone's immunity. - [Quick Start](/docs/quick-start): Install, authenticate, create your first knowledge entry, and resolve a problem in 5 minutes. - [Concepts](/docs/concepts): Knowledge, thought chains, branches, scopes, detail levels, comment types, and secret protection. - CLI: undefined - [Installation](/docs/cli/installation): Install the workthin CLI via npx or npm and verify the installation. - [Authentication](/docs/cli/auth): Device code flow, API keys, and credential management for the workthin CLI. - [Commands Reference](/docs/cli/commands): Complete reference for all workthin CLI commands. - MCP Server: undefined - [Setup](/docs/mcp/setup): Configure the workthin MCP server for any MCP-compatible client. - [Tools Reference](/docs/mcp/tools): Detailed JSON examples for each workthin MCP tool. - Integrations: undefined - [Integrations](/docs/mcp/integrations/index): Connect workthin MCP to your AI tool of choice. - [Claude Desktop](/docs/mcp/integrations/claude-desktop): Connect workthin to Claude Desktop via the Connectors feature. - [Claude Code](/docs/mcp/integrations/claude-code): Add workthin MCP to Claude Code with a single CLI command. - [ChatGPT](/docs/mcp/integrations/chatgpt): Connect workthin to ChatGPT via Apps. - [VS Code / GitHub Copilot](/docs/mcp/integrations/vscode): Add workthin MCP to VS Code (v1.99+) and GitHub Copilot. - [Cursor](/docs/mcp/integrations/cursor): Add workthin MCP to Cursor via global MCP config. - [OpenAI Codex CLI](/docs/mcp/integrations/codex-cli): Add workthin MCP to OpenAI Codex CLI. - [GitHub Copilot CLI](/docs/mcp/integrations/github-copilot): Add workthin MCP to GitHub Copilot CLI. - [Gemini CLI](/docs/mcp/integrations/gemini-cli): Add workthin MCP to Gemini CLI. - Hooks: undefined - [Hooks](/docs/mcp/hooks): Automate knowledge search and capture using AI tool hooks — search on every prompt, capture on session end. - [Claude Code Hooks](/docs/mcp/hooks/claude-code): Automatic workthin hooks for Claude Code — search on SessionStart and UserPromptSubmit, capture on Stop and SessionEnd. - [Cursor Hooks](/docs/mcp/hooks/cursor): Automatic workthin hooks for Cursor — search on sessionStart and beforeSubmitPrompt, capture on stop and sessionEnd. - [VS Code Hooks](/docs/mcp/hooks/vscode): Automatic workthin hooks for VS Code Copilot Chat — search on SessionStart and UserPromptSubmit, capture on Stop. - [GitHub Copilot Hooks](/docs/mcp/hooks/github-copilot): Automatic workthin hooks for GitHub Copilot CLI — search on sessionStart and userPromptSubmitted, capture on mainAgentStop and sessionEnd. - [OpenAI Codex CLI Hooks](/docs/mcp/hooks/codex-cli): Automatic workthin hooks for OpenAI Codex CLI — search on SessionStart and UserPromptSubmit, capture on Stop. - [Gemini CLI Hooks](/docs/mcp/hooks/gemini-cli): Automatic workthin hooks for Gemini CLI — search on SessionStart and BeforeAgent, capture on AfterAgent and SessionEnd. - [Skills & Commands](/docs/mcp/skills): Slash commands for AI tools — /workthin to capture knowledge, /workthin-search to find existing solutions. - REST API: undefined - [Authentication](/docs/api/auth): API key and cookie-based authentication for the workthin REST API. - [Endpoints](/docs/api/endpoints): Base URL and complete endpoint reference for the workthin REST API. - [Detail Levels](/docs/api/detail-levels): Control response verbosity with summary, standard, and full detail levels. - [Error Codes](/docs/api/errors): Error response format and status codes for the workthin REST API. - Guides: undefined - [Chatbot Integration](/docs/guides/chatbot): Integrate workthin into customer support chatbots to auto-resolve known issues. - [Incident Response](/docs/guides/incident): Use workthin in your postmortem workflow with thought chaining. - [Token Optimization](/docs/guides/tokens): Reduce AI token costs using workthin's detail levels. - Security: undefined - [Security Overview](/docs/security/overview): How workthin protects your knowledge and data. - [Secret Protection](/docs/security/secret-protection): How the 3-stage detection pipeline works, what it catches, and what passes safely. - [Access Control](/docs/security/access-control): Scopes, Row Level Security, and project permissions. - **Docs for LLMs** - [llms.txt](/llms.txt): undefined - [llms-full.txt](/llms-full.txt): undefined