Coding agent tutorials and setup guides
Free, step-by-step tutorials for setting up AI coding agents like Claude Code, Cursor, Codex and VS Code: adding MCP servers, writing skills and rules, and fixing the errors people hit most. We check every command and config snippet against the official docs, and each guide links to its sources.
New to coding agents? Read the beginner explanations first. Still choosing one? Compare the coding agents in our directory, including open-source ones that run in your terminal.
Start here
- The best MCP servers for Claude Code · Claude Code: the MCP servers worth adding first
- How to add an MCP server to Cursor · Cursor: add an MCP server in one click or with mcp.json
- How to add an MCP server to Codex · Codex: add an MCP server with config.toml
- How to add an MCP server to VS Code · VS Code: add an MCP server from the gallery or a config file
- How to create an Agent Skill (SKILL.md) · Write your own agent skill (SKILL.md)
- Cursor rules vs AGENTS.md · Give your agent project rules: Cursor rules vs AGENTS.md
All guides
- Setup guide
How to add an MCP server to Cursor
Add an MCP server to Cursor via one click or mcp.json: file locations, local and remote config examples, API keys with ${env:}, and fixes for common errors.
- Setup guide
The best MCP servers for Claude Code
Ten official MCP servers worth adding to Claude Code, from GitHub and Context7 to Playwright, Sentry and Cloudflare, with the exact claude mcp add command for each.
- Setup guide
Cursor rules vs AGENTS.md
Cursor rules (.cursor/rules .mdc), the legacy .cursorrules file and AGENTS.md compared: what each does, which tools read it, when to use each, with examples.
- Setup guide
How to install Claude Code plugins
Install Claude Code plugins from the official marketplace or any GitHub repo: /plugin commands, install scopes, updates, safety checks and fixes for common errors.
- Setup guide
How to create an Agent Skill (SKILL.md)
Write a SKILL.md that works in Claude Code, Cursor and Codex: where the folder goes, the frontmatter rules, a copy-paste example, and fixes when a skill won't trigger.
- Setup guide
MCP reference servers v2.0 and v2.1: what changed and what to do
The official MCP reference servers (Filesystem, Memory, Fetch, Sequential Thinking) moved to v2 in October 2026: Node 24 for the TypeScript ones, security fixes, how to update and what can break.
- Setup guide
Fix "spawn npx ENOENT" for MCP servers on Windows
MCP server fails on Windows with spawn npx ENOENT or Connection closed? Wrap npx in cmd /c. Exact config for Claude Code, Claude Desktop, Cursor, VS Code and Codex, plus other causes.
- Setup guide
Fix MCP error -32000: "Connection closed"
MCP error -32000 "Connection closed" means your MCP server process exited or never started. How to find the real cause with a 60-second test, the common fixes, and where each client keeps its logs.
- Setup guide
Fix Claude Code MCP "needs authentication"
A remote MCP server shows "Needs authentication" in Claude Code? Sign in from /mcp or with claude mcp login, then fix expired tokens, headless sessions and servers that need a fixed callback port.
- Setup guide
How to add an MCP server to Codex
Add an MCP server to OpenAI Codex with codex mcp add or config.toml: file locations, stdio and remote examples, env vars, timeouts, OAuth login and fixes for common errors.
- Setup guide
How to add an MCP server to VS Code
Add an MCP server to VS Code with MCP: Add Server, the @mcp gallery or a config file: which file to use (servers vs mcpServers), stdio and HTTP examples, API keys, and fixes.
- Setup guide
How to add an MCP server to Claude Desktop
Three ways to add an MCP server to Claude Desktop: desktop extensions, claude_desktop_config.json and custom connectors. File paths, a working example, logs and fixes.
- Setup guide
Context7 MCP server setup: API key, Claude Code, Cursor, VS Code and Codex
Install the Context7 MCP server for up-to-date library docs: the one-line ctx7 setup, the remote URL with a free API key or OAuth, configs for Claude Code, Cursor, VS Code and Codex, and fixes.
- Setup guide
Cloudflare MCP server setup: URL, OAuth sign-in and API tokens
Connect the Cloudflare MCP server: which URL to use, OAuth sign-in vs API tokens, configs for Claude Code, Cursor, VS Code and Codex, MCP server portals, and fixes for 401, 403 and 410 errors.
- Setup guide
How to set up the Apify MCP server in Claude Code, Cursor, VS Code and Codex
Set up the Apify MCP server: the official plugin for Claude Code, Cursor, Codex and VS Code, the hosted URL at mcp.apify.com, OAuth or an API token, local stdio, tool selection and common errors.
- Setup guide
How to set up the Firecrawl MCP server in Claude Code, Cursor, VS Code and Codex
Set up the Firecrawl MCP server: the keyless hosted URL, browser sign-in, an API key as a Bearer header, running it locally, which tools you get, and fixes for 401 and rate limits.
- Setup guide
How to set up the Memory MCP server in Claude Code, Claude Desktop, Cursor, VS Code and Codex
Set up the official Memory MCP server: where to keep memory.jsonl so updates don't wipe it, configs for Claude Code, Claude Desktop, Cursor, VS Code, Codex and Docker, the tools, and fixes.
- Setup guide
How to set up the Exa MCP server in Claude Code, Cursor, VS Code and Codex
Set up Exa MCP for web search in your agent: the hosted URL, the Claude and Codex plugins, keyless vs OAuth vs API key, turning on extra tools, running it locally, and fixes for 429 and 403 errors.
- Setup guide
How to set up the Notion MCP server in Claude Code, Cursor, VS Code and Codex
Connect Notion MCP to your AI assistant: the hosted URL, Claude Code, Codex, Cursor and VS Code setup, the Claude Code plugin, moving off the old /sse endpoint, MCP tokens, and fixes for sign-in, guest and rate-limit errors.
- Setup guide
How to set up the Supabase MCP server in Claude Code, Cursor, Codex and VS Code
Connect Supabase MCP to your AI agent: the hosted URL, read-only and single-project settings, Claude Code, Codex, Cursor and VS Code setup, local and CI use, the tool groups, and fixes for common errors.
- Setup guide
How to set up the GitHub MCP server in Claude Code, Cursor, VS Code and Codex
Connect the official GitHub MCP server to Claude Code, Cursor, VS Code or Codex: the hosted URL, OAuth vs a personal access token, local Docker, toolsets, read-only mode, and fixes for the deprecated npm package and sign-in errors.
- Setup guide
How to set up the Playwright MCP server in Claude Code, Cursor, VS Code and Codex
Install Microsoft's Playwright MCP server in Claude Code, Cursor, VS Code or Codex: the standard npx config, Node.js 20, headless and isolated modes, Docker, and fixes for common startup errors.
- Setup guide
How to set up the Figma MCP server in Claude Code, Cursor, VS Code and Codex
Connect Figma's official MCP server to Claude Code, Cursor, VS Code or Codex: the recommended plugin install, the hosted URL, sign-in, design links, writing to the canvas, and the desktop server.
- Setup guide
How to set up the Chrome DevTools MCP server in Claude Code, Cursor, VS Code and Codex
Install Google's Chrome DevTools MCP server (chrome-devtools-mcp) in Claude Code, Cursor, VS Code or Codex: the npx config, official plugins and skills, a first performance-trace prompt, headless and autoConnect flags, and common fixes.
- Setup guide
How to set up the Stripe MCP server in Claude Code, Cursor, VS Code and Codex
Connect Stripe's official MCP server to Claude Code, Cursor, VS Code or Codex: the Stripe CLI agent plugin, the hosted URL, OAuth vs agent API keys, the 14-day session limit, human confirmation for refunds, and the January 2027 key change.
- Setup guide
How to set up the Sentry MCP server in Claude Code, Cursor, VS Code and Codex
Connect Sentry's official MCP server to Claude Code, Cursor, VS Code or Codex: the hosted URL, limiting it to one organization or project, the Claude Code plugin, the local Sentry CLI option for self-hosted Sentry, and fixes for missing search tools.
- Setup guide
How to set up the Linear MCP server in Claude Code, Cursor, VS Code and Codex
Connect Linear's official MCP server to Claude Code, Cursor, VS Code, Codex or Claude: the hosted URL, read-only access, mcp-remote for older apps, multiple workspaces, and fixes for sign-in and connection errors.
- Tutorial
OpenAI Agents SDK tutorial for Python
Build your first agent with the OpenAI Agents SDK in Python: install, API key, Runner, function tools, handoffs, structured output, sessions, MCP servers and tracing.
- Setup guide
How to set up the Filesystem MCP server
Set up the official Filesystem MCP server in Claude Code, Claude Desktop, Cursor, VS Code or Codex: allowed folders, Windows and Docker configs, read-only mode, its tools and common errors.
- Tutorial
How to set up GitHub Spec Kit (Windows, macOS and Linux)
Install GitHub Spec Kit's Specify CLI with uv on Windows, macOS or Linux, set it up for Claude Code, Cursor, Codex or Copilot, and run your first spec, plan and tasks.
- Tutorial
How to install and set up Codex CLI (Windows, macOS and Linux)
Install OpenAI Codex CLI on Windows, macOS or Linux with the official installer, npm or Homebrew, sign in with ChatGPT or an API key, run your first task, update it and fix common errors.
- Tutorial
How to add skills to Google Antigravity (SKILL.md and .agents/skills)
Add agent skills to Google Antigravity: the .agents/skills and ~/.gemini/config/skills folders, the SKILL.md format, installing Google's skills with npx skills, plugins with agy, and fixes when a skill doesn't load.
- Tutorial
How to install and set up OpenCode (macOS, Linux and Windows)
Install OpenCode 2 with the official script, Homebrew or npm, connect a model provider with /connect, switch between the build and plan agents, add AGENTS.md and MCP servers, update, and fix common problems.
- Tutorial
How to install and set up Cline (VS Code, JetBrains and CLI)
Install Cline in VS Code, Cursor or JetBrains, or the Cline CLI with npm, pick a provider and model, use Plan and Act modes and checkpoints, set auto-approve safely, add rules and MCP servers, and fix sign-in problems.
- Setup guide
How to add an MCP server to Gemini CLI
Add an MCP server to Gemini CLI with gemini mcp add or settings.json: local and remote examples, API keys, sign-in, checking it with /mcp, and fixes for untrusted folders.
- Tutorial
How to use MCP Inspector to test an MCP server
Test an MCP server with the official MCP Inspector: open the web UI, connect local or remote servers, call tools from the CLI, read exit codes, and fix the v1 to v2 changes.
- Fix
How to fix "MCP error -32001: Request timed out"
What MCP error -32001 means, where the 60-second limit comes from, and how to raise MCP timeouts in Claude Code, Codex, Gemini CLI and MCP Inspector, or fix a slow server.
- Learning guide
Free AI courses (2026): generative AI, coding and agents
Free AI courses checked on their official pages, and whether each gives a certificate: Google's Introduction to Generative AI, Hugging Face's Agents and LLM courses, CS50 AI, fast.ai, Anthropic, OpenAI and more.
Looking for a specific tool? Browse the PluginStack directory.