> ## Documentation Index
> Fetch the complete documentation index at: https://www.klavis.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Claude Code

> Connect Strata with Claude Code in minutes and supercharge your AI coding experience

<img className="block dark:hidden" src="https://mintcdn.com/klavisai/VCk4fvRUPmVb0qF8/images/knowledge-base/claude_code/Claude_Code.png?fit=max&auto=format&n=VCk4fvRUPmVb0qF8&q=85&s=0471e4536e82de226b9165e4da1587f0" alt="Claude Code" width="1001" height="644" data-path="images/knowledge-base/claude_code/Claude_Code.png" />

<img className="hidden dark:block" src="https://mintcdn.com/klavisai/VCk4fvRUPmVb0qF8/images/knowledge-base/claude_code/Claude_Code.png?fit=max&auto=format&n=VCk4fvRUPmVb0qF8&q=85&s=0471e4536e82de226b9165e4da1587f0" alt="Claude Code" width="1001" height="644" data-path="images/knowledge-base/claude_code/Claude_Code.png" />

## Quick Setup Guide

<Steps>
  <Step title="Authorize MCP Servers to Use with Strata">
    Navigate to the [Klavis home page](https://www.klavis.ai/home) and click **"MCP Server"** in the left sidebar. You will see a list of MCP servers available in Klavis.

    <img src="https://mintcdn.com/klavisai/5p8UKVc88NePtU0m/images/knowledge-base/claude_code/step1.png?fit=max&auto=format&n=5p8UKVc88NePtU0m&q=85&s=564bd52ac9a534534944277c5a5760ea" alt="Klavis home page" width="1905" height="1072" data-path="images/knowledge-base/claude_code/step1.png" />

    Click the **"Authorize"** button next to your chosen server. Once server is authorized, you will see **Green Checkmark** status.

    <img src="https://mintcdn.com/klavisai/5p8UKVc88NePtU0m/images/knowledge-base/claude_code/step2.png?fit=max&auto=format&n=5p8UKVc88NePtU0m&q=85&s=81fda43ab1f04f14facfa8dc6222a964" alt="Authorize MCP Servers" width="1900" height="1069" data-path="images/knowledge-base/claude_code/step2.png" />

    <Tip>
      You can authorize one or more servers to use with Strata
    </Tip>
  </Step>

  <Step title="Get Strata Server URL">
    From Klavis Dashboard, click **"Add to Other Clients"** button to get your Strata Server URL.

    <img src="https://mintcdn.com/klavisai/5p8UKVc88NePtU0m/images/knowledge-base/claude_code/step3.png?fit=max&auto=format&n=5p8UKVc88NePtU0m&q=85&s=221d870236bfceaddd081234e10c0399" alt="Klavis Dashboard" width="1902" height="1070" data-path="images/knowledge-base/claude_code/step3.png" />

    **Copy** the strata URL to clipboard - you'll need this in the next step.

    <img src="https://mintcdn.com/klavisai/5p8UKVc88NePtU0m/images/knowledge-base/claude_code/step4.png?fit=max&auto=format&n=5p8UKVc88NePtU0m&q=85&s=9e6506db9dcd32df3947139989b972a0" alt="Copy Strata Server URL" width="1920" height="1080" data-path="images/knowledge-base/claude_code/step4.png" />

    <Accordion title="🔐 OAuth Services (Most Common)">
      * Automatically redirected to OAuth authorization
      * Sign in to your account (GitHub, Google, Slack, etc.)
      * Grant necessary permissions
      * Redirected back to Klavis automatically
    </Accordion>

    <Accordion title="🔑 API Key Services">
      * Prompted to enter an API key
      * Follow service-specific instructions to generate key
      * Paste key in the provided field
      * Click **"Save"** to continue
    </Accordion>
  </Step>

  <Step title="Configure Claude Code">
    Copy Your Server URL, open terminal and run the below command as shown in the screenshot below:

    ```bash theme={null}
    claude mcp add klavis-strata npx mcp-remote <strata-url>
    ```

    <img src="https://mintcdn.com/klavisai/5p8UKVc88NePtU0m/images/knowledge-base/claude_code/step5.png?fit=max&auto=format&n=5p8UKVc88NePtU0m&q=85&s=dd1bd96fb32b0e5b5326f3a127ceadad" alt="Claude Code command to add Strata" width="1830" height="124" data-path="images/knowledge-base/claude_code/step5.png" />

    <Tip>
      You can add **Single** MCP Server URL directly here as well:

      1. Navigate to **Target Server** and click **Three Dots** next to your server
      2. Tap **Show Individual Server URL** and copy the URL
      3. Paste this URL in Claude Code as described above
    </Tip>
  </Step>

  <Step title="Verify Tools Loading">
    To verify Strata server is configured properly, open Claude Code and run `/mcp` command.

    <img src="https://mintcdn.com/klavisai/5p8UKVc88NePtU0m/images/knowledge-base/claude_code/step6.png?fit=max&auto=format&n=5p8UKVc88NePtU0m&q=85&s=1812c5a64744b376d97b5f63c7b26fb4" alt="MCP Configuration in Claude Code" width="1079" height="382" data-path="images/knowledge-base/claude_code/step6.png" />

    To view available tools in the MCP server, navigate to Strata server and click `View Tools`.

    <img src="https://mintcdn.com/klavisai/5p8UKVc88NePtU0m/images/knowledge-base/claude_code/step7.png?fit=max&auto=format&n=5p8UKVc88NePtU0m&q=85&s=8a50ea3d76f894d308c058c98ea06f81" alt="View Tools in Claude Code" width="624" height="351" data-path="images/knowledge-base/claude_code/step7.png" />

    <Note>
      📋 **Restart Claude Code** in terminal to apply the new configuration
    </Note>
  </Step>

  <Step title="Start Using in Claude Code Chat">
    <img src="https://mintcdn.com/klavisai/5p8UKVc88NePtU0m/images/knowledge-base/claude_code/step8.jpg?fit=max&auto=format&n=5p8UKVc88NePtU0m&q=85&s=f691eafe343e576045cf5a4e379007eb" alt="Using MCP Server in Claude Code Chat" width="1609" height="1760" data-path="images/knowledge-base/claude_code/step8.jpg" />

    Open Claude Code Chat and start using natural language:

    <CodeGroup>
      ```text GitHub theme={null}
      "Create a new issue titled 'Add dark mode' with priority label"
      ```

      ```text Slack theme={null}
      "Send a message to #general: 'Standup meeting in 5 minutes!'"
      ```

      ```text Gmail theme={null}
      "Send email to john@company.com about project update"
      ```

      ```text Notion theme={null}
      "Create a new page called 'Meeting Notes' with today's date"
      ```
    </CodeGroup>

    <Tip>
      🎯 Claude Code Chat automatically detects when to use **Strata** based on context - no need to specify explicitly!
    </Tip>
  </Step>

  <Step title="Other Commands related to MCPs">
    * Remove MCP Server: `claude mcp remove klavis-strata`
    * List all MCP Servers: `claude mcp list`
    * Details of Strata: `claude mcp get klavis-strata`
  </Step>

  <Step title="Happy Building! 🎉">
    You're all set! Your **Strata** MCP server is now integrated with Claude Code.
  </Step>
</Steps>

## Troubleshooting

<AccordionGroup>
  <Accordion title="🔧 Tools Not Appearing">
    * Double-check your Server URL for typos
    * Ensure stable internet connection
    * Verify authentication in Klavis dashboard
    * Try completely restarting Claude Code
  </Accordion>

  <Accordion title="🔐 Authentication Issues">
    * Re-authenticate in the Klavis dashboard
    * Check if your OAuth tokens have expired
    * Verify API key permissions (for API key services)
    * Ensure you've granted all necessary permissions
  </Accordion>

  <Accordion title="⚡ Performance Issues">
    * Limit the number of active MCP servers
    * Check your internet connection speed
    * Restart Claude Code periodically
    * Contact support if issues persist
  </Accordion>
</AccordionGroup>

## Need Help?

<CardGroup cols={2}>
  <Card title="Community" icon="discord">
    Join our Discord for community support and discussions
  </Card>

  <Card title="Support" icon="headphones">
    Contact our technical support team for assistance
  </Card>
</CardGroup>

***
