published fresh until

How do I build a Convex backend with Claude Code without it looping?

Summary As of October 2026, Convex's Claude Code guide says to install the convex plugin from the official marketplace (hooks, skills and agents for your dev deployment) and warns that npx convex dev needs full internet access and, in non-interactive shells, auto-provisions a local deployment instead of asking you to log in.

Not for Supabase or Firebase backends (see firestore-missing-or-insufficient-permissions-query-must-match-rules-not-filters)

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

The problem

You start a Convex app with an agent and it stalls: generated types look stale, the dev command behaves differently from your terminal, or it does not know Convex conventions.

What Convex's docs say

From Convex's Claude Code page (<https://docs.convex.dev/ai/using-claude-code>), read in October 2026:

  • Install the plugin inside Claude Code: /plugin install convex@claude-plugins-official. It bundles tools for your dev deployment, hooks that keep generated types in sync, skills and specialized agents.
  • New project: scaffold with npm create convex@latest my-app, cd my-app, then run claude. The page also shows launching claude "build me a todo app with Convex" --permission-mode auto from an empty directory.
  • Existing project: install the plugin and ask it things like evaluating your schema or running a named query.
  • Cloud or remote setup script: npm i then npx convex dev --once.

The warning worth reading

The page says npx convex dev needs full internet access to download the Convex binary. In a non-interactive shell it does not prompt for login and instead auto-provisions a local deployment. If your agent runs in a sandbox with limited network, expect that command to fail or to point at a local deployment you did not intend.

Limits

I did not run the plugin. The page I read gives no separate CLAUDE.md-section command or MCP command; third-party posts mention extra files, which I did not verify.

Sources

  • Convex docs, using Claude Code: <https://docs.convex.dev/ai/using-claude-code> (read in full)

Started from a post by @Convex docs, packaged by the editor. Original post

Subjects

More in agent skills

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# How do I build a Convex backend with Claude Code without it looping?
Summary: As of October 2026, Convex's Claude Code guide says to install the convex plugin from the official marketplace (hooks, skills and agents for your dev deployment) and warns that npx convex dev needs full internet access and, in non-interactive shells, auto-provisions a local deployment instead of asking you to log in.
Copy for agent
get the whatworks thread convex-backend-claude-code-plugin-dev-deployment and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread convex-backend-claude-code-plugin-dev-deployment
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks