Back to Articles
InstallationJanuary 2026

Complete Installation Guide

Every way to install Polydev—from one-click plugin install to manual MCP configuration. Plus all available skills and commands.

In this guide

Install & Authenticate

Requires Node.js 18+ and any MCP-compatible IDE (Claude Code, Cursor, Windsurf, Cline, Codex CLI, or Claude Desktop).

npm install -g polydev-ai
polydev-ai login

This installs the CLI globally and opens your browser to authenticate. Your token is saved to ~/.polydev.env automatically. Alternative: get a token manually from polydev.ai/dashboard.

What is MCP?

Model Context Protocol (MCP) is an open standard that lets AI coding assistants connect to external tools and services. Polydev plugs into your IDE through MCP, giving your AI agent access to multi-model consultation without changing how you work. Most modern AI IDEs support MCP natively.

Add to Your IDE

Claude Code Plugin

Recommended

Installs MCP server, slash commands, and auto-invocation rules all at once.

/plugin marketplace add backspacevenkat/polydev-claude-code-plugin
/plugin install polydev

Restart Claude Code and verify with /mcp

Manual MCP Configuration

All IDEs

Add this to your IDE's MCP config file (see IDE-specific paths below):

{
  "mcpServers": {
    "polydev": {
      "command": "npx",
      "args": ["-y", "polydev-ai@latest"]
    }
  }
}

No env block needed if you ran polydev-ai login. If you set your token manually, add: "env": { "POLYDEV_USER_TOKEN": "pd_xxx" }

Skills & Slash Commands

Polydev provides these slash commands when installed via the Claude Code plugin:

Note: Slash commands like /polydev are exclusive to the Claude Code plugin. For other IDEs (Cursor, Windsurf, Cline, Codex CLI), the same functionality is available through the universal MCP tool get_perspectives — just mention "polydev" or "perspectives" in your prompt.

/polydev [question]Primary

Query multiple AI models simultaneously to get diverse perspectives on any coding problem.

Examples:

/polydev How should I structure my React state management?
/polydev Debug this TypeScript error: Property 'map' does not exist
/polydev Compare REST vs GraphQL for my mobile app backend
/polydev What's the best caching strategy for API responses?

Tip: Be specific! Include error messages, code snippets, and constraints for best results.

/polydev-loginAuthentication

Authenticate with Polydev via browser-based OAuth. Opens your browser automatically.

/polydev-login

What happens:

  1. Browser opens to Polydev authentication
  2. Sign in with Google or GitHub
  3. Token is automatically configured
  4. Start using /polydev immediately
/polydev-authStatus

Check your current authentication status and account information.

/polydev-auth

Shows:

  • Account email and subscription tier
  • Credits remaining
  • Enabled models
  • Setup instructions (if not authenticated)
/perspectivesAlias

Alias for /polydev. Use whichever you prefer.

/polydev-helpHelp

Show usage guide and available commands directly in your IDE.

MCP Tools Available

The Polydev MCP server provides these tools for programmatic access:

polydev_perspectives

Query multiple AI models simultaneously for diverse perspectives on any coding problem.

polydev_list_models

List all available AI models and their status.

polydev_login

Initiate browser-based OAuth authentication flow.

polydev_auth

Check authentication status, credits, and account info.

What Works Where

Polydev's core MCP tool works in every IDE. Some features are exclusive to the Claude Code plugin:

FeatureClaude CodeCursorWindsurfClineCodex CLI
MCP Tool get_perspectivesYesYesYesYesYes
Auto-invocation rulesYesYesYesYesYes
Slash commands /polydevYes
One-click plugin installYes
Browser auth polydev-ai loginYesYesYesYesYes

Rules file per IDE: CLAUDE.md (Claude Code), .cursorrules (Cursor), .windsurfrules or AGENTS.md (Windsurf), .clinerules (Cline), AGENTS.md (Codex CLI)

IDE Config Paths

After running polydev-ai login, no env block is needed — the server reads your saved token automatically.

Claude Code

# Plugin install (recommended)
/plugin marketplace add backspacevenkat/polydev-claude-code-plugin
/plugin install polydev

# Or add to ~/.claude/settings.json
{
  "mcpServers": {
    "polydev": {
      "command": "npx",
      "args": ["-y", "polydev-ai@latest"]
    }
  }
}

Cursor

Add to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "polydev": {
      "command": "npx",
      "args": ["-y", "polydev-ai@latest"]
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "polydev": {
      "command": "npx",
      "args": ["-y", "polydev-ai@latest"]
    }
  }
}

VS Code + Cline

Add to Cline MCP settings (cline_mcp_settings.json):

{
  "mcpServers": {
    "polydev": {
      "command": "npx",
      "args": ["-y", "polydev-ai@latest"],
      "timeout": 400
    }
  }
}

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "polydev": {
      "command": "npx",
      "args": ["-y", "polydev-ai@latest"]
    }
  }
}

OpenAI Codex CLI

Add to ~/.codex/config.toml:

[mcp_servers.polydev]
command = "npx"
args = ["-y", "polydev-ai@latest"]
tool_timeout_sec = 400
startup_timeout_sec = 120

[mcp_servers.polydev.env]
POLYDEV_USER_TOKEN = "pd_your_token_here"

Timeout Configuration

Multi-model queries can take up to a few minutes. Set your IDE's MCP timeout to 400 seconds.

Codex CLI

Add tool_timeout_sec = 400 and startup_timeout_sec = 120 under [mcp_servers.polydev] in ~/.codex/config.toml. Default is 60s which is too short.

Cline (VS Code)

Add "timeout": 400 to the server config in cline_mcp_settings.json (already included in the config above).

Claude Code

Handled server-side. Optionally: export MCP_TIMEOUT=400000

Cursor & Windsurf

No configurable MCP timeout. Handled server-side. For complex prompts, try breaking into simpler questions.

Auto-Invocation Setup

Make your IDE automatically consult Polydev when you're stuck, comparing options, or reviewing code. Each IDE has its own configuration file for AI rules:

Auto-invokes when you:

  • • Say "I'm stuck", "confused", "not sure"
  • • Ask "Should I use X or Y?"
  • • Request security or code review
  • • Fail debugging 2-3 times
  • • Ask architecture questions

Does NOT auto-invoke for:

  • • Simple syntax fixes
  • • Documentation lookups
  • • Boilerplate generation
  • • When you want only one model

Add this snippet to your IDE's rules file:

# Auto-Invoke Polydev for Multi-Model Perspectives

When the user encounters any of these situations, automatically
use the polydev MCP tool (get_perspectives) to consult multiple
AI models before responding:

1. User says "I'm stuck on this auth bug"
2. User asks "Should I use X or Y?"
3. User requests security or code review
4. After 2-3 failed debugging attempts
5. Architecture or design decisions
6. Performance optimization questions

Example: If user says "I'm stuck on this auth bug", call
polydev get_perspectives with the problem context before answering.

Claude Code

Add to ~/.claude/CLAUDE.md (global) or .claude/CLAUDE.md (project). The plugin installs these rules automatically.

Cursor

Add to .cursorrules in project root, or .cursor/rules/polydev.mdc, or Cursor Settings → Rules.

Windsurf

Add to .windsurfrules or AGENTS.md in project root, or Settings → Cascade → Memories & Rules.

Cline (VS Code)

Add to .clinerules in project root, or Cline Settings → Custom Instructions.

Codex CLI

Add to AGENTS.md in your project root. Codex reads this at session start.

Models Consulted

Every query consults multiple models in parallel (takes 10-30 seconds):

GPT-5 Mini

OpenAI's efficient model

Gemini 3 Flash

Google's fast reasoning model

Grok 4.1 Fast

xAI's quick inference model

GLM-4.7

Zhipu AI's flagship model

Troubleshooting

MCP server not showing up?

  • • Run /mcp to check status
  • • Verify POLYDEV_USER_TOKEN is set
  • • Restart your IDE completely
  • • Check Node.js is installed:
node --version

Authentication failed?

  • • Run polydev-ai login to re-authenticate via browser (works in any terminal)
  • • Or get a new token from polydev.ai/dashboard
  • • Tokens start with pd_

Slow responses or timeouts?

Polydev queries multiple AI models which can take up to a few minutes for complex prompts. Make sure you've configured your IDE's MCP timeout to 400 seconds — see the Timeout Configuration section above.

Plugin not found? (Claude Code only)

Add the marketplace first:

/plugin marketplace add backspacevenkat/polydev-claude-code-plugin

Pricing

Free

$0/month

  • • 500 messages/month
  • • All 340+ models
  • • No credit card required

Premium

$10/month

  • • 10,000 messages/month
  • • All 340+ models
  • • Priority support

1 credit = 1 AI request — starter credits included to try popular models

Ready to get started?

Free tier: 500 messages/month