Skip to main content

πŸ€– Using Claude Code in VS Code with the Seller Labs MCP Server

Learn how to set up and use Claude Code inside VS Code to query your Amazon business data through the Seller Labs MCP Server β€” sales, ads, profit, and inventory, all from your code editor.

Written by Denis
Updated this week

What is Claude Code in VS Code?

Claude Code started as a CLI (command-line) tool. Anthropic now offers it as a VS Code extension that runs directly inside your editor β€” same capabilities, but with a graphical chat panel, side-by-side diffs, and integrated file access.

When paired with the Seller Labs MCP Server, you can ask Claude questions about your Amazon business and get instant answers β€” without downloading reports or navigating Seller Central.

Example questions you can ask:

  • "What SKUs dropped in profit last week?"

  • "Which keywords are driving the most conversions?"

  • "Show me my top 10 ASINs by revenue for the last 30 days"

  • "Flag any products with less than 14 days of inventory"


βš™οΈ Prerequisites

Before you begin, make sure you have:

  • VS Code 1.98.0 or higher β€” check with code --version in your terminal

  • Claude Code CLI installed β€” the extension requires the CLI. Install with npm install -g @anthropic-ai/claude-code

  • A Seller Labs account with Profit Genius β€” MCP is included, no add-on required

  • A Claude Pro subscription ($20/month from Anthropic) β€” separate from your Seller Labs plan


πŸ› οΈ Step-by-Step: Set Up Claude Code in VS Code with MCP

This guide walks you through installing the VS Code extension, connecting the Seller Labs MCP Server, authenticating, and running your first queries.

1️⃣ Install the Claude Code VS Code Extension

  1. Open VS Code

  2. Press Cmd+Shift+X (Mac) or Ctrl+Shift+X (Windows/Linux) to open Extensions

  3. Search for "Claude Code" by Anthropic

  4. Click Install

After installation, you'll see:

  • A spark icon

    Claude Code

    in the editor toolbar (top-right)

  • A Claude Code entry in the Activity Bar (left sidebar)

  • A status bar indicator at the bottom-right

πŸ’‘ Tip: You can also install from the command line: code --install-extension anthropic.claude-code

2️⃣ Add the Seller Labs MCP Server Configuration

The Seller Labs MCP Server uses OAuth authentication, which requires manual configuration. Edit your ~/.claude.json file (create it if it doesn't exist) and add:

{
"mcpServers": {
"sellerlabs": {
"type": "http",
"url": "https://ignite-api.sellerlabs.com/mcp",
"oauth": {
"authorizationUrl": "https://ignite-api.sellerlabs.com/oauth2/authorize",
"tokenUrl": "https://ignite-api.sellerlabs.com/oauth2/token",
"scopes": [
"openid",
"mcp",
"offline_access",
"execute_sql",
"get_org_info"
]
}
}
}
}

⚠️ Note: The claude mcp add command does not support OAuth-specific parameters (authorizationUrl, tokenUrl, scopes). You must add the OAuth block manually.

Alternative approach: Run the initial add command, then manually add the OAuth block:

claude mcp add --transport http --scope user sellerlabs https://ignite-api.sellerlabs.com/mcp

Then open ~/.claude.json and add the "oauth" section inside the "sellerlabs" entry.

OAuth Scope Details

  • openid β€” Basic user identity

  • mcp β€” Access to the MCP Server

  • offline_access β€” Allows refresh tokens (keeps you logged in)

  • execute_sql β€” Permission to run SQL queries against your Data Hub

  • get_org_info β€” Permission to retrieve organization and venue information

3️⃣ Restart Claude Code

Close the Claude Code panel in VS Code and reopen it to load the updated configuration. You can also close and reopen VS Code entirely.

4️⃣ Verify Server Configuration

Open the VS Code integrated terminal (Ctrl+` or Cmd+`) and run:

claude mcp list

Expected output:

sellerlabs: https://ignite-api.sellerlabs.com/mcp (HTTP) - ⚠ Needs authentication

5️⃣ Authenticate with OAuth

In the Claude Code chat panel inside VS Code, type:

/mcp

This will:

  1. Open the MCP management menu

  2. Display the Seller Labs server

  3. Launch a browser window for OAuth login

  4. Prompt you to log in with your Seller Labs credentials

  5. Return you to VS Code after authentication

Expected confirmation:

Authentication successful. Connected to sellerlabs.

6️⃣ Test the Connection

Run this in the terminal to verify:

claude mcp get sellerlabs

Or test directly in the Claude Code chat panel:

Show me my venues

If you see your venue data, you're connected and ready to go.


πŸ”§ Available MCP Tools

1️⃣ execute_sql

Run SQL queries on your Seller Labs Data Hub. Supports SELECT, SHOW TABLES, DESCRIBE, EXPLAIN, and SET operations.

You don't need to write SQL yourself β€” just ask Claude questions in plain English and it will generate and run the queries for you.

SELECT * FROM venues LIMIT 10;

2️⃣ get_org_info

Retrieve organization metadata including org ID, connected venues, and related details.


πŸ’‘ VS Code–Specific Features

Using Claude Code in VS Code (vs. the CLI) gives you a few extra capabilities:

  • Chat panel β€” Conversational interface in the sidebar, no terminal needed for queries

  • Side-by-side diffs β€” When Claude suggests code changes, VS Code shows a visual diff

  • @-mention files β€” Reference files directly in your prompts (e.g., @report.py)

  • Multiple tabs β€” Run separate Claude conversations in parallel

  • Integrated terminal β€” Switch between the chat panel and CLI commands seamlessly

πŸ’‘ Tip: You can use the chat panel for data queries and the integrated terminal for CLI commands like claude mcp list β€” both work with the same MCP configuration.


πŸ” Troubleshooting

Server shows "Needs authentication"

  • Type /mcp in the Claude Code chat panel and complete the browser login

  • Confirm the OAuth config is correct in ~/.claude.json

OAuth flow doesn't open a browser

  • Check OAuth configuration in your config file

  • Restart VS Code completely

  • Try /mcp again

Authentication expires

  • The offline_access scope allows automatic token refresh

  • If it still expires: type /mcp, select the Seller Labs server, choose Clear authentication, and re-authenticate

Can't see the MCP server

  • Validate your JSON syntax (a missing comma or bracket will break the config)

  • Ensure the file is located at ~/.claude.json

  • Restart VS Code

Extension not showing up

  • Confirm VS Code is version 1.98.0 or higher

  • Confirm the Claude Code CLI is installed (claude --version)

  • Check the Extensions panel for any error messages


πŸ” Managing Authentication

To clear or reset your MCP authentication:

  1. Type /mcp in the Claude Code chat panel

  2. Select sellerlabs

  3. Choose Clear authentication

  4. Re-authenticate when prompted


πŸ”’ Security Notes

  • OAuth tokens are securely stored locally β€” Claude never sees your Amazon credentials

  • Refresh tokens extend your session automatically

  • The offline_access scope minimizes re-authentication

  • You can revoke access at any time via the /mcp menu


πŸš€ What's Next?

Once your MCP server is connected in VS Code, check out our 55 Claude Prompts for Your Seller Labs MCP Server for copy-paste prompts covering advertising, profitability, inventory, and reviews.


Need help? Our support team is happy to assist you! πŸ™‚

Did this answer your question?