<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[PluginStack]]></title><description><![CDATA[PluginStack]]></description><link>https://pluginstack.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Fri, 04 Dec 2026 22:08:11 GMT</lastBuildDate><atom:link href="https://pluginstack.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[How to set up the GitHub MCP server (Claude Code, Cursor, VS Code, Codex)]]></title><description><![CDATA[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…]]></description><link>https://pluginstack.hashnode.dev/how-to-set-up-the-github-mcp-server-claude-code-cursor-vs-code-codex</link><guid isPermaLink="true">https://pluginstack.hashnode.dev/how-to-set-up-the-github-mcp-server-claude-code-cursor-vs-code-codex</guid><category><![CDATA[mcp]]></category><category><![CDATA[AI]]></category><category><![CDATA[GitHub]]></category><category><![CDATA[Tutorial]]></category><dc:creator><![CDATA[PluginStack]]></dc:creator><pubDate>Sat, 28 Nov 2026 01:11:20 GMT</pubDate><content:encoded><![CDATA[<p>Checked against the official docs: Nov 20, 2026</p>
<p>The official GitHub MCP server lets an AI assistant read repositories and code, work with issues and pull requests, check GitHub Actions runs and review security findings, all in natural language. The easiest setup is GitHub's hosted server: you add one URL and sign in. This guide covers VS Code, Cursor, Claude Code and Codex, when you need a personal access token instead of a browser sign-in, the local Docker option, how to limit tools, and the errors people hit most. It's based on GitHub's MCP docs and the official install guides (checked 20 November 2026).</p>
<h2>Quick answer</h2>
<ul>
<li><strong>Hosted URL:</strong> <code>https://api.githubcopilot.com/mcp/</code> (Streamable HTTP). This is the easiest option and needs no local install.</li>
<li><strong>VS Code (1.101 or later):</strong> add that URL (or install from the MCP gallery by searching <code>@mcp github</code>) and sign in with your GitHub account. OAuth works here.</li>
<li><strong>Cursor (0.48 or later):</strong> add the same URL, but include a GitHub personal access token as a Bearer header. GitHub's Cursor guide says the hosted server currently needs a token, not OAuth.</li>
<li><strong>Claude Code:</strong> add the hosted URL with your token in a header (the <code>claude mcp add-json</code> command on 2.1.1 or later, or <code>claude mcp add --transport http</code> on older versions).</li>
<li><strong>Codex:</strong> add the URL in <code>~/.codex/config.toml</code> and point <code>bearer_token_env_var</code> at an environment variable that holds your token.</li>
<li><strong>Don't use</strong> the old npm package <code>@modelcontextprotocol/server-github</code>. It has not been supported since April 2025. Use the hosted URL or the official Docker image <code>ghcr.io/github/github-mcp-server</code>.</li>
</ul>
<h2>Before you start</h2>
<ul>
<li><strong>You need a GitHub account.</strong> GitHub says the MCP server is available to every GitHub user, on any plan. Some tools still follow the same access rules as the GitHub feature they wrap. For example, tools that talk to Copilot coding agent need a paid Copilot license.</li>
<li><strong>Prefer the hosted server</strong> unless your client can't use remote MCP servers, you want to customize the server, or you are on GitHub Enterprise Server (that product does not host the remote server).</li>
<li><strong>A personal access token</strong> is required for the hosted server in Cursor, Claude Code and Codex. Create a fine-grained or classic token and give it only the permissions you want the assistant to have. Common examples from GitHub's Codex guide are <code>repo</code> for repository work, <code>workflow</code> for Actions, <code>read:org</code> for organization resources, <code>project</code> for classic project boards and <code>gist</code> for gists. Add more only if a tool fails because of permissions. Store the token in an environment variable or a local secrets file, not in a config you might commit.</li>
<li><strong>The assistant gets the access you grant.</strong> A connected client can read and change what that sign-in or token can access, so only connect clients you trust and keep approval on for write actions.</li>
</ul>
<p>If you belong to a Copilot Business or Copilot Enterprise organization, an admin may need to turn on the "MCP servers in Copilot" policy before MCP works in Copilot. For a shorter overview, see the <a href="https://www.pluginstackai.com/plugins/github-mcp-server/">GitHub MCP Server listing</a>.</p>
<h2>What you get by default</h2>
<p>If you don't pick toolsets, the server loads the default set: <code>context</code> (who you are and the GitHub context you are in; GitHub strongly recommends this one), <code>repos</code>, <code>issues</code>, <code>pull_requests</code> and <code>users</code>. Other toolsets exist for Actions, Discussions, Projects, Dependabot, code security and more. The hosted server also has a few extra toolsets that the local server does not, including Copilot-related tools.</p>
<p>You don't need to memorize the full tool list. Ask the assistant to list your repositories, summarize a pull request or explain a failing Actions run, and it will pick the matching tools.</p>
<h2>VS Code</h2>
<p>You need VS Code 1.101 or later for remote MCP and OAuth. The simplest path is the MCP gallery: open the Extensions panel, search <code>@mcp github</code>, install the GitHub MCP server and confirm you trust it. Then open the Command Palette, run <strong>MCP: List Servers</strong>, and check that GitHub is listed. Switch Copilot Chat to Agent mode so it can use the tools.</p>
<p>To add it by hand, put this in <code>.vscode/mcp.json</code> (note the top-level <code>servers</code> key) and use the Auth CodeLens above the server to sign in with your GitHub account:</p>
<p><em>.vscode/mcp.json (OAuth)</em></p>
<pre><code class="language-json">{
  "servers": {
    "github": {
      "type": "http",
      "url": "https://api.githubcopilot.com/mcp/"
    }
  }
}
</code></pre>
<p>To use a personal access token instead of OAuth, GitHub's README uses a prompt so the token is not stored in the file:</p>
<p><em>.vscode/mcp.json (token prompt)</em></p>
<pre><code class="language-json">{
  "servers": {
    "github": {
      "type": "http",
      "url": "https://api.githubcopilot.com/mcp/",
      "headers": {
        "Authorization": "Bearer ${input:github_mcp_pat}"
      }
    }
  },
  "inputs": [
    {
      "type": "promptString",
      "id": "github_mcp_pat",
      "description": "GitHub Personal Access Token",
      "password": true
    }
  ]
}
</code></pre>
<p>More on the VS Code files and gallery: <a href="https://www.pluginstackai.com/guides/add-mcp-server-to-vs-code/">how to add an MCP server to VS Code</a>.</p>
<h2>Cursor</h2>
<p>You need Cursor 0.48 or later for Streamable HTTP. GitHub's Cursor install guide says that while Cursor supports OAuth for some MCP servers, the hosted GitHub server currently needs a personal access token. Add this to <code>~/.cursor/mcp.json</code> (every project) or <code>.cursor/mcp.json</code> in a project:</p>
<p><em>~/.cursor/mcp.json</em></p>
<pre><code class="language-json">{
  "mcpServers": {
    "github": {
      "url": "https://api.githubcopilot.com/mcp/",
      "headers": {
        "Authorization": "Bearer ${env:GITHUB_PAT}"
      }
    }
  }
}
</code></pre>
<p>Set <code>GITHUB_PAT</code> in your shell profile, then restart Cursor so it picks up the variable. Cursor resolves <code>${env:NAME}</code> in headers, so the token never has to sit in the file. GitHub's own Cursor snippet shows the token written in directly; skip that if the file might be committed. After saving, restart Cursor and check for a green light under Settings → Tools &amp; Integrations → MCP Tools. A first prompt to try: "List my GitHub repositories".</p>
<p>File locations, <code>${env:}</code> and other Cursor MCP details: <a href="https://www.pluginstackai.com/guides/add-mcp-server-to-cursor/">how to add an MCP server to Cursor</a>.</p>
<h2>Claude Code</h2>
<p>On Claude Code 2.1.1 or newer, add the hosted server from a terminal (not from the Claude Code prompt). GitHub's guide shows this <code>add-json</code> form with your token in the header:</p>
<pre><code class="language-bash">claude mcp add-json github '{"type":"http","url":"https://api.githubcopilot.com/mcp/","headers":{"Authorization":"Bearer YOUR_GITHUB_PAT"}}'
</code></pre>
<p>Prefer pulling the token from an environment variable (Linux or macOS):</p>
<pre><code class="language-bash">export GITHUB_PAT="$(grep '^GITHUB_PAT=' .env | cut -d '=' -f2-)"
claude mcp add-json github '{"type":"http","url":"https://api.githubcopilot.com/mcp/","headers":{"Authorization":"Bearer '"$GITHUB_PAT"'"}}'
</code></pre>
<p>Add <code>--scope user</code> at the end if you want the server in every project (<code>local</code> is the default, current project only; <code>project</code> writes a shared <code>.mcp.json</code>). Then restart Claude Code and run <code>claude mcp list</code> to confirm it is there. Use <code>/mcp</code> inside Claude Code if you need to inspect it.</p>
<p>If <code>claude mcp add-json</code> returns <code>Invalid input</code> (GitHub documents this on Windows for HTTP servers), or you are on Claude Code 2.1.0 or earlier, use the older command instead:</p>
<pre><code class="language-bash">claude mcp add --transport http github https://api.githubcopilot.com/mcp/ -H "Authorization: Bearer YOUR_GITHUB_PAT"
</code></pre>
<p>Other Claude Code MCP commands: <a href="https://www.pluginstackai.com/guides/best-mcp-servers-for-claude-code/">best MCP servers for Claude Code</a>.</p>
<h2>Codex</h2>
<p>Edit <code>~/.codex/config.toml</code> (shared by the CLI and the IDE extension), and read the token from an environment variable. GitHub's Codex guide says <code>--bearer-token-env-var</code> is required for the hosted server:</p>
<p><em>~/.codex/config.toml</em></p>
<pre><code class="language-text">[mcp_servers.github]
url = "https://api.githubcopilot.com/mcp/"
bearer_token_env_var = "GITHUB_PAT_TOKEN"
</code></pre>
<p>Or from a terminal, after the same environment variable is set:</p>
<pre><code class="language-bash">codex mcp add github --url https://api.githubcopilot.com/mcp/ --bearer-token-env-var GITHUB_PAT_TOKEN
</code></pre>
<p>Start Codex, run <code>/mcp</code>, and check that <code>github</code> shows tools. Then ask it to list your repositories. More on Codex config: <a href="https://www.pluginstackai.com/guides/add-mcp-server-to-codex-config-toml/">how to add an MCP server to Codex</a>.</p>
<h2>Local Docker</h2>
<p>Use the local server when your client can't reach a remote MCP server, you want to customize flags, or you are on GitHub Enterprise Server. You need Docker installed and running. The official image is <code>ghcr.io/github/github-mcp-server</code>. If a pull fails, GitHub says to run <code>docker logout ghcr.io</code> and try again (an expired login to that registry can block a public image).</p>
<p>On github.com you can sign in with OAuth: the official image already includes the app credentials, it opens a browser login on first use, and it keeps the resulting token in memory only. In Docker you must publish a fixed callback port on loopback so the login can finish:</p>
<p><em>Local Docker with OAuth (Cursor / Claude Desktop shape)</em></p>
<pre><code class="language-json">{
  "mcpServers": {
    "github": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-p",
        "127.0.0.1:8085:8085",
        "-e",
        "GITHUB_OAUTH_CALLBACK_PORT",
        "ghcr.io/github/github-mcp-server"
      ],
      "env": {
        "GITHUB_OAUTH_CALLBACK_PORT": "8085"
      }
    }
  }
}
</code></pre>
<p>A personal access token, if you set one, takes precedence over OAuth:</p>
<pre><code class="language-json">{
  "mcpServers": {
    "github": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "GITHUB_PERSONAL_ACCESS_TOKEN",
        "ghcr.io/github/github-mcp-server"
      ],
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "YOUR_GITHUB_PAT"
      }
    }
  }
}
</code></pre>
<p>Put the token in an environment variable rather than the file when your client supports it. Claude Code can add the same Docker command with <code>claude mcp add github -e GITHUB_OAUTH_CALLBACK_PORT=8085 -- docker run -i --rm -p 127.0.0.1:8085:8085 -e GITHUB_OAUTH_CALLBACK_PORT ghcr.io/github/github-mcp-server</code>. Codex uses the same image in <code>~/.codex/config.toml</code> with <code>command = "docker"</code> and the matching <code>args</code> and <code>env</code>.</p>
<h2>Claude Desktop</h2>
<p>Claude Desktop can add remote servers as custom connectors, but GitHub's Claude install guide says the hosted GitHub MCP server is not currently supported that way, because it needs OAuth through a registered GitHub App. Use the local Docker setup above in <code>claude_desktop_config.json</code> instead (macOS: <code>~/Library/Application Support/Claude/claude_desktop_config.json</code>; Windows: <code>%APPDATA%\Claude\claude_desktop_config.json</code>; Linux: <code>~/.config/Claude/claude_desktop_config.json</code>). Fully quit and reopen Claude Desktop after saving.</p>
<blockquote>
<p>GitHub also notes that some people have run into compatibility issues between Claude Desktop and Docker-based MCP servers, and that they are looking into it. If the local server will not stay connected, try another client for now.</p>
</blockquote>
<p>File locations and general Desktop setup: <a href="https://www.pluginstackai.com/guides/add-mcp-server-to-claude-desktop/">how to add an MCP server to Claude Desktop</a>.</p>
<h2>Limit tools and use read-only mode</h2>
<p>Turning on only the toolsets you need helps the model pick the right tool and keeps the context smaller. On the hosted server, send the <code>X-MCP-Toolsets</code> header (a comma-separated list, for example <code>repos,issues</code>) or use a toolset-specific URL such as <code>https://api.githubcopilot.com/mcp/x/issues</code>. A URL like that can only name one toolset; to combine several, use the header. The special toolset <code>all</code> enables every toolset (<code>https://api.githubcopilot.com/mcp/x/all</code> on the hosted server, or <code>GITHUB_TOOLSETS=all</code> locally).</p>
<p>To offer only read tools, add <code>readonly</code> at the end of the hosted URL (<code>https://api.githubcopilot.com/mcp/readonly</code>) or set the <code>X-MCP-Readonly</code> header to <code>true</code>. Locally, pass <code>--read-only</code> or set <code>GITHUB_READ_ONLY=1</code>. Read-only mode wins: write tools are skipped even if you also asked for them by name.</p>
<p>Locally, <code>--toolsets</code> or the <code>GITHUB_TOOLSETS</code> environment variable (the environment variable wins if both are set) does the same job, for example <code>GITHUB_TOOLSETS=repos,issues</code>. You can also pass individual tool names with <code>--tools</code> or <code>GITHUB_TOOLS</code>. GitHub also has a lockdown mode (<code>GITHUB_LOCKDOWN_MODE</code> or the <code>X-MCP-Lockdown</code> header) that tries to hide public-repo content from people without push access, as a best-effort filter against prompt injection. It is not an authorization boundary. See GitHub's server configuration guide if you need that.</p>
<h2>Check that it works</h2>
<ol>
<li>Confirm the server is listed and connected in your client (VS Code: <strong>MCP: List Servers</strong>; Cursor: a green light on the GitHub server; Claude Code: <code>claude mcp list</code>; Codex: <code>/mcp</code>).</li>
<li>Ask something only this server can do, such as "List my GitHub repositories" or "Summarize the open pull requests in this repo".</li>
<li>Approve the tool call and check that the result looks like your real GitHub data.</li>
</ol>
<h2>Troubleshooting</h2>
<ul>
<li><strong>Still running <code>@modelcontextprotocol/server-github</code>:</strong> that npm package has not been supported since April 2025 and is no longer functional. Switch to the hosted URL or <code>ghcr.io/github/github-mcp-server</code>.</li>
<li><strong>Authentication failed or 401:</strong> the token is missing, expired, or does not have the scopes that tool needs. Create a new token, update the header or environment variable, and restart the client.</li>
<li><strong>Cursor: Streamable HTTP not working:</strong> you need Cursor 0.48 or later. The hosted GitHub server currently needs a Bearer token in Cursor, even though some other remote servers in Cursor can use OAuth.</li>
<li><strong>Claude Code: <code>Invalid input</code> from <code>add-json</code>:</strong> GitHub documents this on Windows for HTTP servers. Use <code>claude mcp add --transport http github https://api.githubcopilot.com/mcp/ -H "Authorization: Bearer YOUR_GITHUB_PAT"</code> instead. On PowerShell, put the server name right after <code>claude mcp add</code> if you see <code>missing required argument 'name'</code>.</li>
<li><strong>Docker image will not pull:</strong> run <code>docker logout ghcr.io</code> and try again, and check that Docker Desktop (or the Docker engine) is running.</li>
<li><strong>Server listed but no tools:</strong> check token scopes, and that you did not narrow toolsets so far that nothing useful remains. Restart the client after changing config.</li>
<li><strong>Enterprise:</strong> GitHub Enterprise Server does not host the remote server, so use local Docker (you will need your own OAuth or GitHub App). For GitHub Enterprise Cloud with data residency, the hosted URL is different; follow GitHub's Enterprise docs rather than the github.com URL in this guide.</li>
</ul>
<h2>FAQ</h2>
<h3>Do I need GitHub Copilot to use this?</h3>
<p>You need a GitHub account. GitHub says the MCP server itself is available on any plan. A few tools still require whatever license the underlying GitHub feature requires, such as a paid Copilot license for Copilot coding agent tools.</p>
<h3>Can I use OAuth everywhere?</h3>
<p>No. OAuth is the usual path in VS Code for the hosted server, and it works with the official local Docker image on github.com. GitHub's current Cursor guide requires a personal access token for the hosted server. Claude Code and Codex hosted setups in GitHub's install guides also use a token. Claude Desktop cannot add the hosted server as a custom connector today.</p>
<h3>Is the token stored if I use Docker OAuth?</h3>
<p>GitHub says the official image keeps the OAuth token in memory only. A personal access token in the config, if you set one, takes precedence over OAuth.</p>
<h3>How is this different from Playwright or other MCP servers?</h3>
<p>This server talks to GitHub's API (repos, issues, pull requests, Actions). It does not drive a web browser. For browser automation, see <a href="https://www.pluginstackai.com/guides/playwright-mcp-server-setup/">how to set up the Playwright MCP server</a>.</p>
<h2>Sources</h2>
<p>Commands and config above come from these official docs. Tools change often, so check them for the latest steps.</p>
<ul>
<li><a href="https://github.com/github/github-mcp-server">github/github-mcp-server README (remote and local setup, toolsets, read-only mode)</a></li>
<li><a href="https://github.com/github/github-mcp-server/blob/main/docs/remote-server.md">GitHub MCP Server: remote server docs (URL, headers, toolset paths)</a></li>
<li><a href="https://github.com/github/github-mcp-server/blob/main/docs/installation-guides/install-cursor.md">Install GitHub MCP Server in Cursor</a></li>
<li><a href="https://github.com/github/github-mcp-server/blob/main/docs/installation-guides/install-claude.md">Install GitHub MCP Server in Claude Applications</a></li>
<li><a href="https://github.com/github/github-mcp-server/blob/main/docs/installation-guides/install-codex.md">Install GitHub MCP Server in OpenAI Codex</a></li>
<li><a href="https://docs.github.com/en/copilot/how-tos/provide-context/use-mcp/set-up-the-github-mcp-server">GitHub docs: Setting up the GitHub MCP Server</a></li>
</ul>
<h2>Tools in this guide</h2>
<ul>
<li><a href="https://www.pluginstackai.com/plugins/github-mcp-server/">GitHub MCP Server</a></li>
</ul>
<p>PluginStack is independent and not affiliated with or endorsed by the companies mentioned. Spotted something out of date? Email <a href="mailto:pluginstackai@gmail.com">pluginstackai@gmail.com</a>.</p>
<p>This guide was first published on <a href="https://www.pluginstackai.com/guides/github-mcp-server-setup/">PluginStack</a>. Browse the <a href="https://www.pluginstackai.com/">PluginStack directory</a> for more hand-checked MCP servers, plugins and setup guides.</p>
]]></content:encoded></item><item><title><![CDATA[How to set up the Stripe MCP server (Claude Code, Cursor, VS Code, Codex)]]></title><description><![CDATA[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…]]></description><link>https://pluginstack.hashnode.dev/how-to-set-up-the-stripe-mcp-server-claude-code-cursor-vs-code-codex</link><guid isPermaLink="true">https://pluginstack.hashnode.dev/how-to-set-up-the-stripe-mcp-server-claude-code-cursor-vs-code-codex</guid><category><![CDATA[mcp]]></category><category><![CDATA[AI]]></category><category><![CDATA[stripe]]></category><category><![CDATA[Tutorial]]></category><dc:creator><![CDATA[PluginStack]]></dc:creator><pubDate>Sat, 28 Nov 2026 01:09:50 GMT</pubDate><content:encoded><![CDATA[<p>Checked against the official docs: Nov 24, 2026</p>
<p>Stripe's official MCP server lets an AI assistant work with the Stripe API and search Stripe's documentation and support articles. The hosted URL is <code>https://mcp.stripe.com</code>. The recommended setup is a Stripe agent plugin, which configures the server, installs Stripe's skills and keeps them up to date. You can also add the URL by hand and sign in with OAuth, or use an agent API key for clients that cannot use OAuth. This guide covers Claude Code, Cursor, VS Code and Codex, how access and sessions work, and the errors people hit most. It is based on Stripe's MCP and agent plugin docs (checked 24 November 2026).</p>
<h2>Quick answer</h2>
<ul>
<li><strong>Hosted URL:</strong> <code>https://mcp.stripe.com</code>. There is nothing to install for the server itself.</li>
<li><strong>Recommended:</strong> install the Stripe CLI, then run <code>stripe agent setup</code>. It detects the agents on your machine and configures the plugin, MCP server and skills.</li>
<li><strong>Or install the plugin for one client:</strong> Claude Code: <code>claude plugin install stripe@anthropic-plugin-directory</code>. Codex: <code>codex plugin add stripe@openai-curated</code>. Cursor: <code>/add-plugin stripe</code> in chat.</li>
<li><strong>Or add the URL by hand</strong> and sign in with OAuth (examples below for Cursor, Claude Code, VS Code and Codex).</li>
<li><strong>OAuth sessions last 14 days</strong> from the first authorization. After that, reconnect and authorize again. You can grant access to live-mode accounts or sandboxes and set different permissions for each.</li>
<li><strong>If the client cannot use OAuth</strong>, use a Stripe agent API key as a Bearer token. From 11 January 2027, Stripe MCP will no longer accept full-access secret keys or non-agent restricted keys.</li>
</ul>
<h2>Before you start</h2>
<ul>
<li><strong>You need a Stripe account.</strong> Start in a sandbox while you are testing. An administrator can enable or disable MCP access for the whole team in the Dashboard, separately for live mode and sandboxes.</li>
<li><strong>The assistant can read and change Stripe data</strong> within the permissions you grant, including creating customers, invoices and subscriptions, and (with confirmation) refunds. Turn on your client's tool-approval setting, and review write calls before they run.</li>
<li><strong>Some write actions need an extra confirmation in Stripe</strong>, such as creating a refund. Your client will give you a URL to review. After you click <strong>Approve</strong>, tell the assistant to retry the operation. If you do not approve it within 24 hours, it expires.</li>
<li><strong>Do not put API keys in a config file you might commit.</strong> If you use an agent API key, store it in an environment variable and reference the variable name in the config.</li>
</ul>
<h2>Option 1: Stripe CLI agent setup (recommended)</h2>
<p>Stripe's agent plugins configure the MCP server, install skills and keep them up to date. Automatic plugin support is listed for Claude Code, Codex, Cursor, Grok, Kiro and OpenClaw. The CLI can also install skills for other agents.</p>
<p>Install the Stripe CLI with the official script (script installs enable automatic updates by default). On macOS or Linux:</p>
<pre><code class="language-bash">curl -fsSL https://cli.stripe.com/install.sh | sh
export PATH="$HOME/.stripe/bin:$PATH"
</code></pre>
<p>On Windows, in PowerShell:</p>
<pre><code class="language-powershell">irm https://cli.stripe.com/install.ps1 | iex
</code></pre>
<p>Open a new terminal so your <code>PATH</code> includes the CLI, then run:</p>
<pre><code class="language-bash">stripe agent setup
</code></pre>
<p>The command detects which agents you use and runs the matching setup. To install a plugin yourself instead:</p>
<ul>
<li><strong>Claude Code</strong> (in your project directory): <code>claude plugin install stripe@anthropic-plugin-directory</code></li>
<li><strong>Codex</strong> (in your project directory): <code>codex plugin add stripe@openai-curated</code></li>
<li><strong>Cursor</strong> (in chat): <code>/add-plugin stripe</code></li>
</ul>
<p>If there is no plugin for your client, <code>stripe agent setup</code> can still install skills, and you can add the MCP server manually as below. Stripe's plugin docs: <a href="https://docs.stripe.com/agents/plugin">Agent plugins for Stripe</a>.</p>
<h2>Option 2: add the server manually</h2>
<h3>Cursor</h3>
<p>Stripe's docs include an <strong>Install in Cursor</strong> button. To configure it by hand, add this to <code>~/.cursor/mcp.json</code>:</p>
<p><em>~/.cursor/mcp.json</em></p>
<pre><code class="language-json">{
  "mcpServers": {
    "stripe": {
      "url": "https://mcp.stripe.com"
    }
  }
}
</code></pre>
<p>Save the file, enable the server in Cursor, and complete Stripe's OAuth sign-in. More Cursor context: <a href="https://www.pluginstackai.com/guides/add-mcp-server-to-cursor/">how to add an MCP server to Cursor</a>.</p>
<h3>Claude Code</h3>
<pre><code class="language-bash">claude mcp add --transport http stripe https://mcp.stripe.com/
</code></pre>
<p>Start Claude Code and run <code>/mcp</code> to authenticate with OAuth. To use an agent API key instead, add the server to the project <code>.mcp.json</code> and read the key from an environment variable. In this official example, <code>AGENT_API_KEY</code> is a placeholder for your variable name; set that variable in your shell before starting Claude Code, and do not pass the key on the command line:</p>
<p><em>Project .mcp.json (agent API key)</em></p>
<pre><code class="language-json">{
  "mcpServers": {
    "stripe": {
      "type": "http",
      "url": "https://mcp.stripe.com",
      "headers": {
        "Authorization": "Bearer ${AGENT_API_KEY}"
      }
    }
  }
}
</code></pre>
<h3>VS Code</h3>
<p>Stripe's docs include an <strong>Install in VS Code</strong> button. To configure it by hand, add this to <code>.vscode/mcp.json</code> in your workspace:</p>
<p><em>.vscode/mcp.json</em></p>
<pre><code class="language-json">{
  "servers": {
    "stripe": {
      "type": "http",
      "url": "https://mcp.stripe.com"
    }
  }
}
</code></pre>
<p>More VS Code context: <a href="https://www.pluginstackai.com/guides/add-mcp-server-to-vs-code/">how to add an MCP server to VS Code</a>.</p>
<h3>Codex</h3>
<pre><code class="language-bash">codex mcp add stripe --url https://mcp.stripe.com
</code></pre>
<p>The ChatGPT desktop app, Codex CLI and Codex IDE extension share this configuration, so after you authenticate you can switch between them without adding the server again. To use an agent API key instead of OAuth, set <code>bearer_token_env_var</code> to the name of an environment variable (not the key itself):</p>
<p><em>Codex config.toml (agent API key)</em></p>
<pre><code class="language-text">[mcp_servers.stripe]
url = "https://mcp.stripe.com"
bearer_token_env_var = "AGENT_API_KEY"
</code></pre>
<p>More Codex context: <a href="https://www.pluginstackai.com/guides/add-mcp-server-to-codex-config-toml/">how to add an MCP server to Codex</a>.</p>
<h2>OAuth, keys and sessions</h2>
<p>Use OAuth for interactive clients. When you connect, Stripe opens a consent page. You can grant access to one or more live-mode accounts or sandboxes and set different permissions for each environment.</p>
<p>OAuth refresh tokens expire after 14 days, and refreshing them does not extend the session past 14 days from the original authorization. When it expires, reconnect the client and authorize again. Your authorized clients appear under <strong>OAuth sessions</strong> in your Stripe user settings; you can revoke one from the overflow menu. Administrators with permission to manage team members can view or revoke another user's sessions in <strong>Team and security</strong>. Revoking only applies to the account and environment (live mode or a sandbox) you are currently viewing.</p>
<p>Use an agent API key when a client cannot use OAuth, or when an application needs its own persistent access. In the Dashboard, agent API keys have an Agent badge. Give the key only the permissions the client needs. Pass it as <code>Authorization: Bearer &lt;key&gt;</code>. If you are replacing a key, test the new config in a sandbox, then expire the old key.</p>
<p>From <strong>11 January 2027</strong>, Stripe MCP will no longer accept full-access secret keys or restricted API keys that are not agent keys. Migrate to an agent API key or to OAuth before that date. Requests with an unsupported key get a <code>401</code> response with an OAuth discovery challenge.</p>
<h2>What the assistant can do</h2>
<p>The server exposes tools to search Stripe API methods, get parameter details, and read or write Stripe data through supported API methods (customers, charges, refunds, PaymentIntents, invoices, subscriptions, products, prices and more). It can also search Stripe documentation, retrieve account info, and help plan an integration. Some actions, including creating a refund, require the human confirmation step described above. The official tool list is in <a href="https://docs.stripe.com/mcp">Stripe's MCP docs</a>.</p>
<p>A first prompt to try in a sandbox: "List my most recent customers in the sandbox." Keep approval on, and do not test refunds or payouts on live mode until you are sure the confirmations work the way you expect.</p>
<h2>Common errors and fixes</h2>
<h3>The server will not connect</h3>
<ul>
<li>Complete the OAuth sign-in in the browser. If the window was blocked or closed, remove the server and add it again, or reconnect from <code>/mcp</code> in Claude Code.</li>
<li>If you are on a managed device or network, your IT team may need to allow <code>mcp.stripe.com</code>.</li>
<li>If you are a member of a Claude Team or Enterprise workspace, an owner must add the Stripe connector to the workspace before you can connect.</li>
<li>An administrator may have disabled MCP access for your team in that environment (live mode or sandbox).</li>
</ul>
<h3>The assistant was connected, then suddenly cannot call Stripe</h3>
<p>OAuth sessions expire 14 days after you first authorized. Reconnect the client and authorize again. Check <strong>OAuth sessions</strong> in Stripe if a session was revoked.</p>
<h3>Authentication fails with an API key</h3>
<ul>
<li>Use an agent API key, not a full-access secret key or an ordinary restricted key (those stop working with Stripe MCP on 11 January 2027).</li>
<li>Put the key in an environment variable and reference the variable in the config. Restart the client after you set the variable so it can see it.</li>
<li>Test a new key in a sandbox before you expire the old one.</li>
</ul>
<h3>A refund or other write seems stuck</h3>
<p>Some actions wait for you to open the confirmation URL and click <strong>Approve</strong>. Then tell the assistant to retry. Approvals expire after 24 hours. Confirmation depends on the action, not only the tool name (for example <code>stripe_api_write</code> covers more than refunds).</p>
<h2>FAQ</h2>
<h3>Should I use the plugin or only add the URL?</h3>
<p>Use the plugin (or <code>stripe agent setup</code>) where you can. You get the MCP server plus Stripe's skills, and Stripe keeps them current. Adding only the URL still gives the assistant the API and docs tools; you just miss the bundled skills unless you install them another way.</p>
<h3>Is it safe to connect this to a live Stripe account?</h3>
<p>It can be, if you grant narrow permissions, keep tool approval on, and use human confirmation for money-moving actions. Prefer a sandbox until the setup is proven. You can revoke a session from <strong>OAuth sessions</strong>, and administrators can turn MCP off for the team.</p>
<h3>Can I use this with connected Stripe accounts?</h3>
<p>Yes, as a Connect platform, but not with OAuth for the connected account. Stripe says to authenticate with an agent API key for your platform and pass a <code>Stripe-Account</code> header. See the official MCP docs for that layout if you need it.</p>
<h2>Sources</h2>
<p>Commands and config above come from these official docs. Tools change often, so check them for the latest steps.</p>
<ul>
<li><a href="https://docs.stripe.com/mcp">Stripe docs: Model Context Protocol (MCP)</a></li>
<li><a href="https://docs.stripe.com/agents/plugin">Stripe docs: Agent plugins for Stripe</a></li>
</ul>
<h2>Tools in this guide</h2>
<ul>
<li><a href="https://www.pluginstackai.com/plugins/stripe-mcp/">Stripe MCP Server</a></li>
</ul>
<p>PluginStack is independent and not affiliated with or endorsed by the companies mentioned. Spotted something out of date? Email <a href="mailto:pluginstackai@gmail.com">pluginstackai@gmail.com</a>.</p>
<p>This guide was first published on <a href="https://www.pluginstackai.com/guides/stripe-mcp-server-setup/">PluginStack</a>. Browse the <a href="https://www.pluginstackai.com/">PluginStack directory</a> for more hand-checked MCP servers, plugins and setup guides.</p>
]]></content:encoded></item><item><title><![CDATA[How to set up the Chrome DevTools MCP server (Claude Code, Cursor, VS Code, Codex)]]></title><description><![CDATA[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…]]></description><link>https://pluginstack.hashnode.dev/how-to-set-up-the-chrome-devtools-mcp-server-claude-code-cursor-vs-code-codex</link><guid isPermaLink="true">https://pluginstack.hashnode.dev/how-to-set-up-the-chrome-devtools-mcp-server-claude-code-cursor-vs-code-codex</guid><category><![CDATA[mcp]]></category><category><![CDATA[AI]]></category><category><![CDATA[Tutorial]]></category><category><![CDATA[Chrome]]></category><dc:creator><![CDATA[PluginStack]]></dc:creator><pubDate>Sat, 28 Nov 2026 01:08:34 GMT</pubDate><content:encoded><![CDATA[<p>Checked against the official docs: Nov 24, 2026</p>
<p>Chrome DevTools for agents (<code>chrome-devtools-mcp</code>) lets a coding assistant control and inspect a live Chrome browser: record performance traces, read network requests and console messages (with source-mapped stack traces), and automate pages. You add one <code>npx</code> command to your MCP config, or install the official plugin so you also get skills. This guide covers Claude Code, Cursor, VS Code and Codex, a first prompt to confirm it works, useful flags, and what to do when the browser will not start. It is based on Chrome's official docs and the chrome-devtools-mcp README (checked 24 November 2026).</p>
<h2>Quick answer</h2>
<ul>
<li><strong>Needs:</strong> a current Node.js LTS, npm, and current stable Chrome (Google officially supports Google Chrome and Chrome for Testing only).</li>
<li><strong>Standard config:</strong> run <code>npx -y chrome-devtools-mcp@latest</code> as a local (stdio) MCP server. Using <code>@latest</code> keeps the client on the current package.</li>
<li><strong>Claude Code (plugin, recommended):</strong> in Claude Code, run <code>/plugin marketplace add ChromeDevTools/chrome-devtools-mcp</code>, then <code>/plugin install chrome-devtools-mcp@chrome-devtools-plugins</code>, and restart. MCP only: <code>claude mcp add chrome-devtools --scope user npx chrome-devtools-mcp@latest</code>.</li>
<li><strong>Cursor:</strong> add the standard config in <strong>Cursor Settings → MCP → New MCP Server</strong>.</li>
<li><strong>VS Code / Copilot (plugin, recommended):</strong> Command Palette → <strong>Chat: Install Plugin From Source</strong> → <code>ChromeDevTools/chrome-devtools-mcp</code>. MCP only: <code>code --add-mcp</code> with the official JSON, or the standard config in <code>mcp.json</code>.</li>
<li><strong>Codex:</strong> <code>codex mcp add chrome-devtools -- npx chrome-devtools-mcp@latest</code>. On Windows 11, the official client guide uses <code>cmd /c</code> and a longer startup timeout (see below).</li>
<li><strong>First prompt:</strong> <code>Check the performance of https://developers.chrome.com</code>. The client should open a browser and record a performance trace. Connecting the server alone does not start the browser; that happens when a tool needs one.</li>
</ul>
<h2>Before you start</h2>
<ul>
<li><strong>Install a current Node.js LTS and Chrome stable</strong> (or newer). Check with <code>node --version</code>.</li>
<li><strong>The assistant can see and change what is in the browser</strong>, including pages you are signed into if you connect it to an existing session. Google warns you to avoid sharing sensitive or personal information you do not want the assistant to see. Keep tool approval on, and do not point it at accounts or data you would not hand over.</li>
<li><strong>Usage statistics are on by default.</strong> Google collects tool success rates, latency and environment information to improve the server. Opt out with <code>--no-usage-statistics</code>, or by setting <code>CHROME_DEVTOOLS_MCP_NO_USAGE_STATISTICS</code> or <code>CI</code>. This is separate from Chrome's own usage statistics.</li>
<li><strong>Performance tools may send trace URLs to the Google CrUX API</strong> for real-user experience data. Turn that off with <code>--no-performance-crux</code>.</li>
</ul>
<h2>What it does</h2>
<p>The MCP server attaches to a live Chrome instance and exposes DevTools-style tools: performance traces, network and console inspection, screenshots, and page automation (it uses Puppeteer under the hood). The same package also includes a <code>chrome-devtools</code> CLI and a set of skills (debugging, accessibility, LCP, cookies, memory leaks, and a troubleshooting skill). The CLI is a separate path; this guide covers the MCP server. For a shorter overview, see the <a href="https://www.pluginstackai.com/plugins/chrome-devtools-mcp/">Chrome DevTools MCP listing</a>.</p>
<p>This is a different job from <a href="https://www.pluginstackai.com/plugins/playwright-mcp/">Playwright MCP</a>, which is aimed at driving and testing a browser. Chrome DevTools MCP is aimed at inspecting and debugging a page. You can install both. Playwright setup: <a href="https://www.pluginstackai.com/guides/playwright-mcp-server-setup/">how to set up the Playwright MCP server</a>.</p>
<h2>Standard config</h2>
<p>Most clients that use an <code>mcpServers</code> file can add this block. The official getting-started config is:</p>
<pre><code class="language-json">{
  "mcpServers": {
    "chrome-devtools": {
      "command": "npx",
      "args": ["-y", "chrome-devtools-mcp@latest"]
    }
  }
}
</code></pre>
<h2>Claude Code</h2>
<p>To install the plugin (MCP server plus skills), run these slash commands in Claude Code. If you already had the MCP server installed, the official client guide says to remove it from your installation and config first:</p>
<pre><code class="language-text">/plugin marketplace add ChromeDevTools/chrome-devtools-mcp
/plugin install chrome-devtools-mcp@chrome-devtools-plugins
</code></pre>
<p>Restart Claude Code, then check with <code>/skills</code>. If plugin install fails (for example a <code>Failed to clone repository</code> error behind a firewall), use the MCP-only command instead:</p>
<pre><code class="language-bash">claude mcp add chrome-devtools --scope user npx chrome-devtools-mcp@latest
</code></pre>
<p>You can copy skills by hand later from the npm package if you want them without the plugin. See the <a href="https://github.com/ChromeDevTools/chrome-devtools-mcp#skills">skills section of the README</a>.</p>
<h2>Cursor</h2>
<p>Open <strong>Cursor Settings → MCP → New MCP Server</strong> and use the standard config above. More Cursor context: <a href="https://www.pluginstackai.com/guides/add-mcp-server-to-cursor/">how to add an MCP server to Cursor</a>.</p>
<h2>VS Code</h2>
<p>The recommended path in VS Code / Copilot is the official plugin, which bundles the server and skills:</p>
<ol>
<li>Open the Command Palette (<strong>Cmd+Shift+P</strong> on macOS, <strong>Ctrl+Shift+P</strong> on Windows or Linux).</li>
<li>Run <strong>Chat: Install Plugin From Source</strong>.</li>
<li>Paste <code>ChromeDevTools/chrome-devtools-mcp</code>.</li>
</ol>
<p>To add only the MCP server, the official client guide uses this CLI on macOS and Linux:</p>
<pre><code class="language-bash">code --add-mcp '{"name":"io.github.ChromeDevTools/chrome-devtools-mcp","command":"npx","args":["-y","chrome-devtools-mcp"],"env":{}}'
</code></pre>
<p>On Windows (PowerShell):</p>
<pre><code class="language-powershell">code --add-mcp '{"""name""":"""io.github.ChromeDevTools/chrome-devtools-mcp""","""command""":"""npx""","""args""":["""-y""","""chrome-devtools-mcp"""]}'
</code></pre>
<p>You can also paste the standard <code>mcpServers</code> config into the file your VS Code setup uses. More VS Code context: <a href="https://www.pluginstackai.com/guides/add-mcp-server-to-vs-code/">how to add an MCP server to VS Code</a>.</p>
<h2>Codex</h2>
<pre><code class="language-bash">codex mcp add chrome-devtools -- npx chrome-devtools-mcp@latest
</code></pre>
<p>On Windows 11, the official client guide adds <code>cmd /c</code>, sets <code>SystemRoot</code> and <code>PROGRAMFILES</code>, and raises the startup timeout in <code>.codex/config.toml</code>:</p>
<p><em>.codex/config.toml (Windows 11, from the official client guide)</em></p>
<pre><code class="language-text">[mcp_servers.chrome-devtools]
command = "cmd"
args = [
    "/c",
    "npx",
    "-y",
    "chrome-devtools-mcp@latest",
]
env = { SystemRoot="C:\\Windows", PROGRAMFILES="C:\\Program Files" }
startup_timeout_ms = 20_000
</code></pre>
<p>If other Windows MCP servers fail with <code>spawn npx ENOENT</code>, the same <code>cmd /c</code> pattern is covered in <a href="https://www.pluginstackai.com/guides/fix-spawn-npx-enoent-windows-mcp/">Fix "spawn npx ENOENT" for MCP servers on Windows</a>. More Codex context: <a href="https://www.pluginstackai.com/guides/add-mcp-server-to-codex-config-toml/">how to add an MCP server to Codex</a>.</p>
<h2>Useful flags</h2>
<p>Add flags to the <code>args</code> array after the package name. A few that come up often (the full list is in Chrome's <a href="https://developer.chrome.com/docs/devtools/agents/get-started/configuration">configuration docs</a>):</p>
<ul>
<li><code>--headless</code> runs Chrome with no visible window.</li>
<li><code>--channel=canary</code> (or <code>dev</code>, <code>beta</code>, <code>stable</code>) picks a Chrome channel. Combine with <code>--headless</code> if you want both.</li>
<li><code>--autoConnect</code> (Chrome 144 or later) connects to a Chrome instance you already have open. In Chrome, open <code>chrome://inspect/#remote-debugging</code> and enable Remote Debugging. When the agent connects, click <strong>Allow</strong>. The agent inherits that session, including logged-in accounts and cookies, so only do this with an assistant you trust.</li>
<li><code>--browser-url=http://127.0.0.1:9222</code> connects to Chrome you started yourself with remote debugging (useful when <code>--autoConnect</code> is not available). Start Chrome with <code>--remote-debugging-port=9222</code> and a separate <code>--user-data-dir</code>, as shown in the official configuration docs.</li>
<li><code>--filesystemRoot=/path/to/project</code> (you can repeat it) lets file tools read or write outside the OS temporary directory. If you skip this and your client does not provide MCP roots, requests to project files can fail with <code>Access denied: ... is not within any of the configured workspace roots</code>.</li>
<li><code>--no-usage-statistics</code> and <code>--no-performance-crux</code> turn off the data sharing described above.</li>
<li><code>--slim</code> exposes a smaller set of tools for basic browser tasks.</li>
</ul>
<p>Example: headless Chrome Canary in the standard config:</p>
<pre><code class="language-json">{
  "mcpServers": {
    "chrome-devtools": {
      "command": "npx",
      "args": [
        "-y",
        "chrome-devtools-mcp@latest",
        "--headless",
        "--channel=canary"
      ]
    }
  }
}
</code></pre>
<h2>Common errors and fixes</h2>
<h3>The browser never opens</h3>
<p>Connecting the MCP server does not start Chrome by itself. Ask the assistant to run a tool that needs a browser, for example the first prompt above. Check that a current stable Chrome is installed, and that Node.js is an LTS release the client can find (<code>node --version</code> in a terminal).</p>
<h3>"command not found", "spawn npx ENOENT", or the server exits immediately</h3>
<ul>
<li>Install Node.js LTS and npm, then restart the client so it can see <code>npx</code>.</li>
<li>On Windows, launch <code>npx</code> through <code>cmd /c</code> (the official Codex Windows 11 example is above). The <a href="https://www.pluginstackai.com/guides/fix-spawn-npx-enoent-windows-mcp/">Windows npx ENOENT guide</a> covers the same pattern for other clients.</li>
<li>Run <code>npx -y chrome-devtools-mcp@latest</code> in a terminal. If that fails, the error is about Node or npm, not the client config.</li>
</ul>
<h3>Access denied for a file path</h3>
<p>File tools can only use MCP client roots plus directories you pass with <code>--filesystemRoot</code>. Add your project folder to <code>args</code>, or use a client that provides roots.</p>
<h3>You want the assistant to use a Chrome window that is already signed in</h3>
<p>Use <code>--autoConnect</code> (Chrome 144+) or <code>--browser-url</code> as described above. Remember that the assistant then sees that session.</p>
<h3>Something still fails</h3>
<p>If your agent has the Chrome DevTools skills, official docs suggest: "Use the Chrome DevTools troubleshooting skill to fix my setup." You can also include the tool name, the error, and your operating system in that prompt.</p>
<h2>FAQ</h2>
<h3>Can I use this with Edge, Brave or Chromium?</h3>
<p>Google officially supports Google Chrome and Chrome for Testing only. Other Chromium-based browsers may work, but that is not guaranteed.</p>
<h3>Should I use this or Playwright MCP?</h3>
<p>Use Playwright MCP to drive and test a flow (click, type, check the result). Use Chrome DevTools MCP to inspect and debug a page (performance, network, console). They can be installed together. See <a href="https://www.pluginstackai.com/guides/playwright-mcp-server-setup/">how to set up the Playwright MCP server</a>.</p>
<h3>Do I need a plugin?</h3>
<p>No. The standard <code>npx</code> config is enough for the MCP tools. The official plugin (Claude Code, VS Code / Copilot, and Gemini CLI) also installs skills that tell the assistant how to use those tools. If you install skills by hand, update them when you update the server, because they describe a specific version.</p>
<h2>Sources</h2>
<p>Commands and config above come from these official docs. Tools change often, so check them for the latest steps.</p>
<ul>
<li><a href="https://developer.chrome.com/docs/devtools/agents/get-started">Chrome docs: Get started with Chrome DevTools for agents</a></li>
<li><a href="https://developer.chrome.com/docs/devtools/agents/get-started/configuration">Chrome docs: Configuration (flags, autoConnect, filesystem roots)</a></li>
<li><a href="https://github.com/ChromeDevTools/chrome-devtools-mcp">ChromeDevTools/chrome-devtools-mcp README</a></li>
<li><a href="https://github.com/ChromeDevTools/chrome-devtools-mcp/blob/main/docs/client-configurations.md">chrome-devtools-mcp client configurations (Claude Code, Cursor, VS Code, Codex, Windows)</a></li>
</ul>
<h2>Tools in this guide</h2>
<ul>
<li><a href="https://www.pluginstackai.com/plugins/chrome-devtools-mcp/">Chrome DevTools MCP</a></li>
</ul>
<p>PluginStack is independent and not affiliated with or endorsed by the companies mentioned. Spotted something out of date? Email <a href="mailto:pluginstackai@gmail.com">pluginstackai@gmail.com</a>.</p>
<p>This guide was first published on <a href="https://www.pluginstackai.com/guides/chrome-devtools-mcp-server-setup/">PluginStack</a>. Browse the <a href="https://www.pluginstackai.com/">PluginStack directory</a> for more hand-checked MCP servers, plugins and setup guides.</p>
]]></content:encoded></item><item><title><![CDATA[How to set up the Figma MCP server (Claude Code, Cursor, VS Code, Codex)]]></title><description><![CDATA[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…]]></description><link>https://pluginstack.hashnode.dev/how-to-set-up-the-figma-mcp-server-claude-code-cursor-vs-code-codex</link><guid isPermaLink="true">https://pluginstack.hashnode.dev/how-to-set-up-the-figma-mcp-server-claude-code-cursor-vs-code-codex</guid><category><![CDATA[mcp]]></category><category><![CDATA[AI]]></category><category><![CDATA[figma]]></category><category><![CDATA[Tutorial]]></category><dc:creator><![CDATA[PluginStack]]></dc:creator><pubDate>Sat, 28 Nov 2026 01:05:58 GMT</pubDate><content:encoded><![CDATA[<p>Checked against the official docs: Nov 24, 2026</p>
<p>The official Figma MCP server gives an AI assistant design context from your Figma files, so it can generate code that matches a frame, and it can write native Figma content back to the canvas. Figma recommends the remote server at <code>https://mcp.figma.com/mcp</code>: you do not need the Figma desktop app, and you sign in with your Figma account the first time you connect. This guide covers Claude Code, Cursor, VS Code and Codex, when to install Figma's plugin (which includes skills), how to point the assistant at a specific frame, writing to the canvas, and the desktop server. It is based on Figma's MCP docs (checked 24 November 2026).</p>
<h2>Quick answer</h2>
<ul>
<li><strong>Use the remote server</strong> at <code>https://mcp.figma.com/mcp</code>. You sign in with your Figma account. Only clients listed in the <a href="https://www.figma.com/mcp-catalog/">Figma MCP catalog</a> can connect.</li>
<li><strong>Prefer the Figma plugin</strong> in Claude Code, Cursor, VS Code (GitHub Copilot) and the Codex app, where Figma offers one. The plugin adds the server and Figma's skills, which Figma says help the assistant use the tools more reliably, especially when writing to the canvas.</li>
<li><strong>Claude Code:</strong> <code>claude plugin install figma@claude-plugins-official</code>, then restart, open <code>/plugin</code>, and sign in from the Installed tab. If plugins are blocked, use <code>claude mcp add --transport http figma https://mcp.figma.com/mcp</code> (add <code>--scope user</code> to make it available in every project) and authenticate with <code>/mcp</code>.</li>
<li><strong>Cursor:</strong> in chat, run <code>/add-plugin figma</code>, then in <strong>Cursor Settings → Tools &amp; MCP</strong> click <strong>Connect</strong> next to Figma and allow access. Or add the URL in <code>mcp.json</code> and click <strong>Connect</strong>.</li>
<li><strong>VS Code:</strong> add the server in <code>mcp.json</code> with <code>"url": "https://mcp.figma.com/mcp"</code> and <code>"type": "http"</code>, click <strong>Start</strong>, and allow access. Figma also recommends the Figma plugin for GitHub Copilot so you get the skills.</li>
<li><strong>Codex:</strong> in the Codex app, open <strong>Plugins</strong>, install Figma, and allow access. On the Codex CLI: <code>codex mcp add figma --url https://mcp.figma.com/mcp</code>.</li>
</ul>
<h2>Before you start</h2>
<ul>
<li><strong>You need a Figma account</strong> and access to the files you want the assistant to use. If a file cannot be opened, ask the assistant to run the <code>whoami</code> tool: it shows the email you are signed in with, your plans and your seat.</li>
<li><strong>Rate limits depend on your plan and seat.</strong> Starter plans and View or Collab seats have a lower monthly cap. Full and Dev seats have a higher daily cap, with Enterprise the highest. Figma may change these limits. The official table is in <a href="https://developers.figma.com/docs/figma-mcp-server/rate-limits-access/">Rate limits &amp; access</a>. Some write tools are exempt, and tools that use Figma AI credits are billed separately.</li>
<li><strong>Only catalog-listed clients can connect.</strong> If your client is not on the <a href="https://www.figma.com/mcp-catalog/">Figma MCP catalog</a>, Figma says you cannot connect it yet. Developers who want to add a new client can join Figma's waitlist.</li>
<li><strong>The assistant gets the access you grant.</strong> It can read designs you can open, and with the right seat it can write to files. Keep tool approval on for write actions, and try write tools on a file you are happy to change.</li>
</ul>
<h2>What it does</h2>
<p>With the remote server you can extract design context (variables, components and layout) from a Figma frame, generate code from a selection, keep output closer to your codebase with Code Connect, read comments, and (on supported clients) write back to the canvas or capture live UI from a web app into a Figma file. Skills do not add new tools; they tell the assistant which tools to use and in what order.</p>
<p>To point the assistant at a specific design, right-click a frame or layer in Figma, choose <strong>Copy link to selection</strong>, and paste that link into your prompt. The client does not open the link; it extracts the node ID the server needs. A first prompt: paste a frame link and ask the assistant to help you implement the design.</p>
<h2>Claude Code</h2>
<p>Install Claude Code first. Figma's recommended path is the official plugin, which includes the MCP server settings and Figma's skills:</p>
<pre><code class="language-bash">claude plugin install figma@claude-plugins-official
</code></pre>
<ol>
<li>If the command fails, your organization may have blocked plugin installation. Contact your Claude administrator, or add the server manually (below).</li>
<li>If Claude Code is running, restart it.</li>
<li>Type <code>/plugin</code> and press Enter. Open the <strong>Installed</strong> tab (right arrow).</li>
<li>Select the <code>figma</code> server, press Enter, then press Enter again to start signing in. A browser page opens.</li>
<li>Click <strong>Allow access</strong>. In Claude Code, type <code>/plugin</code> again. On the Installed tab, the <code>figma</code> server should show as connected.</li>
</ol>
<p>If you cannot install plugins, add the remote server yourself. This does not install Figma's skills (you can add them later from <a href="https://help.figma.com/hc/en-us/articles/39166810751895">Figma skills for MCP</a>):</p>
<pre><code class="language-bash">claude mcp add --transport http figma https://mcp.figma.com/mcp
</code></pre>
<p>By default that adds the server to the current project only. For every project, use <code>claude mcp add --scope user --transport http figma https://mcp.figma.com/mcp</code>. Then start a new session, run <code>/mcp</code>, select <strong>figma</strong>, choose <strong>Authenticate</strong>, and click <strong>Allow access</strong>. You should see <code>Authentication successful. Connected to figma</code>.</p>
<h2>Cursor</h2>
<p>Figma's recommended path is the Figma plugin, which includes the server settings, skills (implementing designs, Code Connect, and design system rules) and rules for handling assets. In the command palette (<strong>Cmd+Shift+P</strong> on Mac, <strong>Ctrl+Shift+P</strong> on Windows or Linux), open chat and submit:</p>
<pre><code class="language-text">/add-plugin figma
</code></pre>
<ol>
<li>Click <strong>Add Plugin</strong>. You can also install it from the Figma plugin page in the Cursor Marketplace.</li>
<li>Open the command palette, search for <strong>Cursor Settings</strong>, and select <strong>Tools &amp; MCP</strong>.</li>
<li>Under <strong>Installed MCP Servers</strong>, click <strong>Connect</strong> next to Figma.</li>
<li>Click <strong>Allow access</strong> when prompted.</li>
</ol>
<p>On Organization and Enterprise plans, Figma says your organization may require admin approval before Cursor can access its Figma resources. If you are asked to request access, wait for approval, then finish authorizing. If requests are not available, contact your Figma organization admin.</p>
<p>If you cannot install plugins, add the remote server yourself (this does not install Figma's skills or rules). In <strong>Cursor Settings → Tools &amp; MCP</strong>, add a custom MCP server:</p>
<p><em>Cursor MCP config</em></p>
<pre><code class="language-json">{
  "mcpServers": {
    "figma": {
      "url": "https://mcp.figma.com/mcp"
    }
  }
}
</code></pre>
<p>Save the file, then click <strong>Connect</strong> next to Figma and allow access. More Cursor context: <a href="https://www.pluginstackai.com/guides/add-mcp-server-to-cursor/">how to add an MCP server to Cursor</a>.</p>
<h2>VS Code</h2>
<p>Figma's docs also offer a one-click install. To set it up yourself, open the command palette (<strong>Cmd+Shift+P</strong> or <strong>Ctrl+Shift+P</strong>) and run <strong>MCP: Open User Configuration</strong> (all projects) or <strong>MCP: Open Workspace Folder Configuration</strong> (this workspace only). If you do not have an <code>mcp.json</code> file yet, VS Code asks you to create one. Paste:</p>
<p><em>VS Code mcp.json</em></p>
<pre><code class="language-json">{
  "inputs": [],
  "servers": {
    "figma": {
      "url": "https://mcp.figma.com/mcp",
      "type": "http"
    }
  }
}
</code></pre>
<ol>
<li>Save the file (<strong>Cmd+S</strong> or <strong>Ctrl+S</strong>).</li>
<li>Above the Figma server name in the file, click <strong>Start</strong>.</li>
<li>Click <strong>Allow access</strong> when prompted.</li>
</ol>
<p>For more reliable results, Figma also recommends the Figma plugin for GitHub Copilot, which includes Figma's skills. More VS Code context: <a href="https://www.pluginstackai.com/guides/add-mcp-server-to-vs-code/">how to add an MCP server to VS Code</a>.</p>
<h2>Codex</h2>
<p>In the Codex app, Figma recommends the plugin: click <strong>Plugins</strong> in the upper-left corner, click <strong>+</strong> next to Figma, click <strong>Install Figma</strong>, then <strong>Allow access</strong> so ChatGPT can use your Figma account.</p>
<p>If you use the Codex CLI instead, this adds the remote server (it does not install Figma's skills):</p>
<pre><code class="language-bash">codex mcp add figma --url https://mcp.figma.com/mcp
</code></pre>
<p>Sign in to Figma and allow access when prompted. More Codex context: <a href="https://www.pluginstackai.com/guides/add-mcp-server-to-codex-config-toml/">how to add an MCP server to Codex</a>.</p>
<h2>Write to the canvas and capture UI</h2>
<p>Writing directly to Figma Design, FigJam and Figma Slides needs the <strong>remote</strong> server (the desktop server does not support it). Figma says you need a Full seat to write outside your drafts. The feature is free during the beta period and will eventually become a usage-based paid feature. Install Figma's skills as well; Figma says they help the assistant follow the right workflow. Details: <a href="https://developers.figma.com/docs/figma-mcp-server/write-to-canvas/">writing to the canvas</a>.</p>
<p>You can also send the live UI of a web app or site into Figma. That also needs the remote server and a supported client. Figma's example prompt is: "Start a local server for my app and capture the UI in a new Figma file." Follow the steps your client gives you, use the capture toolbar, then tell the client when you are finished so it can give you a link to the new file.</p>
<h2>The desktop server</h2>
<p>Figma strongly recommends the remote server. The desktop server runs locally through the Figma desktop app at <code>http://127.0.0.1:3845/mcp</code>. It is aimed at specific organization and enterprise needs. It requires a Dev or Full seat on a Professional, Education, Organization, Government or Enterprise plan, and it does not support writing to the canvas or sending UI to Figma.</p>
<p>To turn it on: open the Figma desktop app, open a Design file, switch to Dev Mode (<strong>Shift+D</strong> or the toolbar toggle) with nothing selected, and click <strong>Enable desktop MCP server</strong> in the MCP server section of the right sidebar. Then add that local URL as an HTTP MCP server in your client (Figma's examples use the name <code>figma-desktop</code>). Figma for Government supports the desktop server only. Full steps: <a href="https://developers.figma.com/docs/figma-mcp-server/local-server-installation/">Set up the desktop server</a>.</p>
<h2>Common errors and fixes</h2>
<h3>The server will not connect</h3>
<ul>
<li>Check that your client is on the <a href="https://www.figma.com/mcp-catalog/">Figma MCP catalog</a>. Clients that are not listed cannot connect.</li>
<li>Finish the <strong>Allow access</strong> step in the browser. In Claude Code, use <code>/mcp</code> or <code>/plugin</code> and authenticate again if the session dropped.</li>
<li>On Cursor Organization or Enterprise plans, you may need a Figma admin to approve access.</li>
</ul>
<h3>Permission errors or the file cannot be accessed</h3>
<ul>
<li>Make sure the link is to a Figma Design, FigJam or Figma Make file.</li>
<li>Ask the assistant to run <code>whoami</code> and check you are signed in to the account that has access.</li>
<li>Confirm that account belongs to the plan that owns the file.</li>
</ul>
<h3>You hit a rate limit</h3>
<p>Usage caps depend on plan and seat. Upgrading a View or Collab seat to Full or Dev, or moving to a higher plan, raises the cap. See Figma's <a href="https://developers.figma.com/docs/figma-mcp-server/rate-limits-access/">rate limits table</a>.</p>
<h3>The assistant uses the tools poorly, especially when writing to the canvas</h3>
<p>Install the Figma plugin for your client, or add Figma's skills separately. Skills do not replace the MCP connection; they package the recommended workflow. See <a href="https://help.figma.com/hc/en-us/articles/39166810751895">Figma skills for MCP</a>.</p>
<h3>The desktop server does not appear</h3>
<p>Confirm the desktop server is still enabled in the Figma desktop app, and that your client is using <code>http://127.0.0.1:3845/mcp</code>. If the app was closed or the server was turned off, enable it again and restart the client connection.</p>
<h2>FAQ</h2>
<h3>Do I need the Figma desktop app?</h3>
<p>Not for the remote server, which is the recommended setup. You need the desktop app only if you use the desktop server (or Figma for Government, which supports the desktop server only).</p>
<h3>Should I install the plugin or only add the URL?</h3>
<p>Install the plugin where Figma offers one. You get the same server, plus skills (and, in Cursor, rules for assets). Add the URL by hand only if you cannot install plugins, then add skills separately if your client supports them.</p>
<h3>Does writing to the canvas cost money?</h3>
<p>Figma says it is free during the beta period and will eventually become a usage-based paid feature. You also need the remote server and a Full seat to write outside your drafts. Some other tools, such as image generation, use Figma AI credits. Check Figma's current docs before you rely on a price.</p>
<h2>Sources</h2>
<p>Commands and config above come from these official docs. Tools change often, so check them for the latest steps.</p>
<ul>
<li><a href="https://developers.figma.com/docs/figma-mcp-server/">Figma developer docs: Figma MCP server (introduction)</a></li>
<li><a href="https://developers.figma.com/docs/figma-mcp-server/remote-server-installation/">Figma developer docs: Set up the remote server</a></li>
<li><a href="https://developers.figma.com/docs/figma-mcp-server/local-server-installation/">Figma developer docs: Set up the desktop server</a></li>
<li><a href="https://developers.figma.com/docs/figma-mcp-server/rate-limits-access/">Figma developer docs: Rate limits &amp; access</a></li>
<li><a href="https://developers.figma.com/docs/figma-mcp-server/write-to-canvas/">Figma developer docs: Write to canvas</a></li>
<li><a href="https://help.figma.com/hc/en-us/articles/39166810751895">Figma Help: Figma skills for MCP</a></li>
<li><a href="https://help.figma.com/hc/en-us/articles/39889260656407-Cursor-and-Figma-Set-up-the-MCP-server">Figma Help: Cursor and Figma (admin approval on Organization and Enterprise)</a></li>
<li><a href="https://www.figma.com/mcp-catalog/">Figma MCP catalog (supported clients)</a></li>
</ul>
<h2>Tools in this guide</h2>
<ul>
<li><a href="https://www.pluginstackai.com/plugins/figma-mcp/">Figma MCP Server</a></li>
</ul>
<p>PluginStack is independent and not affiliated with or endorsed by the companies mentioned. Spotted something out of date? Email <a href="mailto:pluginstackai@gmail.com">pluginstackai@gmail.com</a>.</p>
<p>This guide was first published on <a href="https://www.pluginstackai.com/guides/figma-mcp-server-setup/">PluginStack</a>. Browse the <a href="https://www.pluginstackai.com/">PluginStack directory</a> for more hand-checked MCP servers, plugins and setup guides.</p>
]]></content:encoded></item></channel></rss>