> ## 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

![Claude Code](https://mintcdn.com/klavisai/VCk4fvRUPmVb0qF8/images/knowledge-base/claude_code/Claude_Code.png?fit=max\&auto=format\&n=VCk4fvRUPmVb0qF8\&q=85\&s=0471e4536e82de226b9165e4da1587f0)

## Quick Setup Guide

**1. 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.

![Klavis home page](https://mintcdn.com/klavisai/5p8UKVc88NePtU0m/images/knowledge-base/claude_code/step1.png?fit=max\&auto=format\&n=5p8UKVc88NePtU0m\&q=85\&s=564bd52ac9a534534944277c5a5760ea)

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

![Authorize MCP Servers](https://mintcdn.com/klavisai/5p8UKVc88NePtU0m/images/knowledge-base/claude_code/step2.png?fit=max\&auto=format\&n=5p8UKVc88NePtU0m\&q=85\&s=81fda43ab1f04f14facfa8dc6222a964)

> [!TIP]
>
> You can authorize one or more servers to use with Strata

**2. Get Strata Server URL**

From Klavis Dashboard, click **"Add to Other Clients"** button to get your Strata Server URL.

![Klavis Dashboard](https://mintcdn.com/klavisai/5p8UKVc88NePtU0m/images/knowledge-base/claude_code/step3.png?fit=max\&auto=format\&n=5p8UKVc88NePtU0m\&q=85\&s=221d870236bfceaddd081234e10c0399)

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

![Copy Strata Server URL](https://mintcdn.com/klavisai/5p8UKVc88NePtU0m/images/knowledge-base/claude_code/step4.png?fit=max\&auto=format\&n=5p8UKVc88NePtU0m\&q=85\&s=9e6506db9dcd32df3947139989b972a0)

> [accordion] 🔐 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] 🔑 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

**3. 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>
```

![Claude Code command to add Strata](https://mintcdn.com/klavisai/5p8UKVc88NePtU0m/images/knowledge-base/claude_code/step5.png?fit=max\&auto=format\&n=5p8UKVc88NePtU0m\&q=85\&s=dd1bd96fb32b0e5b5326f3a127ceadad)

> [!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

**4. Verify Tools Loading**

To verify Strata server is configured properly, open Claude Code and run `/mcp` command.

![MCP Configuration in Claude Code](https://mintcdn.com/klavisai/5p8UKVc88NePtU0m/images/knowledge-base/claude_code/step6.png?fit=max\&auto=format\&n=5p8UKVc88NePtU0m\&q=85\&s=1812c5a64744b376d97b5f63c7b26fb4)

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

![View Tools in Claude Code](https://mintcdn.com/klavisai/5p8UKVc88NePtU0m/images/knowledge-base/claude_code/step7.png?fit=max\&auto=format\&n=5p8UKVc88NePtU0m\&q=85\&s=8a50ea3d76f894d308c058c98ea06f81)

> [!NOTE]
>
> 📋 **Restart Claude Code** in terminal to apply the new configuration

**5. Start Using in Claude Code Chat**

![Using MCP Server in Claude Code Chat](https://mintcdn.com/klavisai/5p8UKVc88NePtU0m/images/knowledge-base/claude_code/step8.jpg?fit=max\&auto=format\&n=5p8UKVc88NePtU0m\&q=85\&s=f691eafe343e576045cf5a4e379007eb)

Open Claude Code Chat and start using natural language:

```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"
```

> [!TIP]
>
> 🎯 Claude Code Chat automatically detects when to use **Strata** based on context - no need to specify explicitly!

**6. 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`

**7. Happy Building! 🎉**

You're all set! Your **Strata** MCP server is now integrated with Claude Code.

## Troubleshooting

> [accordion] 🔧 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] 🔐 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] ⚡ Performance Issues
>
> * Limit the number of active MCP servers
> * Check your internet connection speed
> * Restart Claude Code periodically
> * Contact support if issues persist

## Need Help?

> [card] Community
>
> Join our Discord for community support and discussions

> [card] Support
>
> Contact our technical support team for assistance

***


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.