Skip to content
Talk to an Engineer Dashboard

Use Scalekit docs in your AI coding agent

Use Context7 to give your AI coding agent accurate, up-to-date Scalekit documentation so it can help you integrate faster and with fewer errors.

AI coding agents like Claude Code and Cursor work from training data that can be months out of date. When you ask them to help integrate Scalekit, they may reference old APIs, deprecated patterns, or incorrect parameter names — leading to bugs that are hard to trace.

Context7 provides two ways to access live, version-accurate documentation:

  • CLI — query docs directly from your terminal (recommended for most developers)
  • MCP server — integrates with AI agents for automatic doc injection

Both methods pull the same up-to-date content. Choose CLI for direct control, or MCP server for seamless AI agent integration.

Scalekit’s full developer documentation is indexed on Context7 at context7.com/scalekit-inc/developer-docs, covering hundreds of pages and thousands of code snippets across SSO, SCIM, MCP auth, agent auth, and connected accounts.

Context7 retrieves relevant documentation from the indexed Scalekit docs and delivers it to you or your agent. The AI then answers using accurate, current content rather than training data.

Context7 provides three main capabilities:

  • library — resolve library IDs and discover docs
  • docs — fetch specific documentation sections
  • MCP server tools for AI agent integration
  1. Context7 can be set up via CLI or as an MCP server. Choose your method:

    Install the Context7 CLI to query docs directly from your terminal.

    One-off installation via npx:

    Terminal window
    npx ctx7 --help

    Global installation:

    Terminal window
    npm install -g ctx7
    ctx7 --version

    Requires Node.js 18 or higher.

    The CLI provides three main capabilities:

    • Fetch docs — query specific documentation sections
    • Manage skills — generate AI agent skills for auto-invocation
    • Configure MCP — set up MCP server integration
  2. Querying Scalekit docs via CLI is a two-step process.

    Step 1 — Resolve Scalekit library:

    Terminal window
    ctx7 library scalekit "How to set up SSO"
    ctx7 library scalekit "SCIM user provisioning"
    ctx7 library scalekit "MCP authentication setup"

    Expected result for library selection:

    FieldDescription
    Library ID/scalekit-inc/developer-docs
    Code SnippetsHigh (hundreds of indexed examples)
    Source ReputationHigh
    Benchmark ScoreQuality score from 0 to 100

    Step 2 — Fetch Scalekit docs:

    Terminal window
    # SSO queries
    ctx7 docs /scalekit-inc/developer-docs "How to set up SSO with Scalekit"
    ctx7 docs /scalekit-inc/developer-docs "Configure SAML for enterprise SSO"
    # SCIM queries
    ctx7 docs /scalekit-inc/developer-docs "How to provision users with SCIM"
    ctx7 docs /scalekit-inc/developer-docs "Set up SCIM for Active Directory"
    # MCP auth queries
    ctx7 docs /scalekit-inc/developer-docs "Add MCP auth to my server"
    ctx7 docs /scalekit-inc/developer-docs "Configure agent authentication"
    # Connected accounts queries
    ctx7 docs /scalekit-inc/developer-docs "Configure connected accounts for GitHub OAuth"
    ctx7 docs /scalekit-inc/developer-docs "Set up Google OAuth integration"
    # JSON output for scripting
    ctx7 docs /scalekit-inc/developer-docs "SSO setup" --json
    # Pipe to other tools
    ctx7 docs /scalekit-inc/developer-docs "SCIM provisioning" | head -50
  3. Configure your coding agent to always use Context7 for library and API questions — no need to add “use context7” manually each time.

    Use ctx7 setup --cli to configure Context7 for AI coding agents. This installs a docs skill that guides the agent to use ctx7 library and ctx7 docs commands for Scalekit documentation.

    Setup commands:

    Terminal window
    # Interactive setup (prompts for agent)
    ctx7 setup --cli
    # Direct setup for specific agents
    ctx7 setup --cli --claude # Claude Code (~/.claude/skills)
    ctx7 setup --cli --cursor # Cursor (~/.cursor/skills)
    ctx7 setup --cli --universal # Universal (~/.config/agents/skills)
    # Project-specific setup (default is global)
    ctx7 setup --cli --project
    # Skip confirmation prompts
    ctx7 setup --cli --yes

    What gets installed — CLI + Skills mode:

    FilePurpose
    Agent skills directorydocs skill — guides the agent to use ctx7 library and ctx7 docs

    When the docs skill is installed, your AI agent will automatically use ctx7 commands to fetch accurate Scalekit documentation when asked about SSO, SCIM, MCP auth, or other Scalekit features.

  4. The free tier of Context7 has rate limits. For heavier usage or team environments, get a free API key from context7.com/dashboard and add it to your configuration.

    Local:

    Terminal window
    claude mcp add --scope user context7 -- npx -y @upstash/context7-mcp --api-key YOUR_API_KEY

    Remote:

    Terminal window
    claude mcp add --scope user --header "CONTEXT7_API_KEY: YOUR_API_KEY" --transport http context7 https://mcp.context7.com/mcp