Back to Docs

IDE Setup Guide

Connect Polydev to your favorite coding IDE or editor. Get multi-model AI perspectives, CLI tool integration, and conversation memory - all through the Model Context Protocol (MCP).

Quick Install

Install the MCP package globally

npm install -g polydev-ai

Claude Code CLI

Anthropic's official AI-powered command-line tool for coding

1

Install Claude Code

If you haven't installed Claude Code yet, install it via npm:

npm install -g @anthropic-ai/claude-code
2

Add Polydev MCP Server

Use the built-in command to add Polydev as an MCP server:

claude mcp add polydev --scope user -- npx --yes --package=polydev-ai@latest -- polydev-stdio

Scope Options

  • --scope user - Available in all your projects
  • --scope project - Only this project (creates .mcp.json)
3

Set Your Token

Set your Polydev token as an environment variable:

macOS / Linux:

# Add to your ~/.zshrc or ~/.bashrc
export POLYDEV_USER_TOKEN="pd_your_token_here"

Windows (PowerShell):

$env:POLYDEV_USER_TOKEN = "pd_your_token_here"

Don't have a token? Generate one in your dashboard

4

Verify Installation

Check that Polydev is properly configured:

claude mcp list

You should see polydev in the list of available servers.

Test it out!

Start Claude Code and ask: "Can you get perspectives from multiple AI models about the best way to structure a React component?"

Configuration File

~/.claude.json or .mcp.json (project)

{
  "mcpServers": {
    "polydev": {
      "command": "npx",
      "args": ["--yes", "--package=polydev-ai@latest", "--", "polydev-stdio"],
      "env": {
        "POLYDEV_USER_TOKEN": "pd_your_token_here"
      }
    }
  }
}

Need a Token?

Generate your Polydev user token to authenticate with the MCP server.

Get Token

Available Tools

get_perspectives

Get AI perspectives from multiple models

force_cli_detection

Detect local CLI tools status

send_cli_prompt

Send prompts to local CLI tools

extract_memory

Extract memory from conversations

Supported AI Models

OpenAI

  • gpt-5.2
  • gpt-5.2-mini
  • gpt-5.2-nano

Anthropic

  • claude-opus-4.5
  • claude-sonnet-4.5
  • claude-haiku-4.5

Google

  • gemini-3-pro
  • gemini-3-flash

xAI

  • grok-4.1
  • grok-4.1-mini