StackMCP
Blog
·8 min read

Best MCP Servers for Remix Developers

The essential MCP servers for Remix development — Supabase for database, Playwright for testing, Cloudflare for deployment, and more. Curated stack with config.

mcpremixcloudflarefullstackstacks

Remix is a full-stack framework built around web standards -- routing, data loading, form mutations, error boundaries, and edge deployment. The development experience involves working across server loaders, client components, database queries, and deployment targets simultaneously. MCP servers let your AI assistant reach directly into your database, browser, deployment platform, and documentation so you can stay in your editor instead of juggling dashboard tabs.

Server Author Tools Tokens Key Use
Supabase MCP Supabase 25 ~12,875 Database queries & migrations
Playwright MCP Microsoft 20 ~5,000 Test loaders, actions & forms
Cloudflare MCP Cloudflare 25 ~10,000 Edge deployment & D1/KV/R2
Context7 MCP Upstash 2 ~2,000 Current Remix v2 docs
GitHub MCP GitHub 20 ~8,000 PRs, issues & code search
graph TD
    A[Remix App] --> B[Context7 MCP]
    A --> C[Supabase MCP]
    A --> D[Playwright MCP]
    A --> E[Cloudflare MCP]
    A --> F[GitHub MCP]
    B -->|Fetch| G[Current loader/action APIs]
    C -->|Query| H[Database schema & migrations]
    D -->|Test| I[Forms, progressive enhancement]
    E -->|Deploy| J[Workers, D1, KV, R2]
    F -->|Manage| K[PRs, issues, code search]

1. Supabase MCP -- Your Database, Inside Your Editor

Author: Supabase (official) | Tools: 25 | Context cost: ~12,875 tokens

When writing Remix loader and action functions, your assistant can see the actual table structure, column types, and relationships -- no guessing.

  • Write mutation queries in action functions validated against the real schema
  • Run queries against a development branch and apply migrations
  • Generate the corresponding loader to refetch updated data after a form submission

If not using Supabase, Postgres MCP provides similar access at ~4,200 tokens.

{
  "mcpServers": {
    "supabase": {
      "command": "npx",
      "args": ["-y", "@supabase/mcp-server-supabase@latest"],
      "env": {
        "SUPABASE_ACCESS_TOKEN": "<your-token>"
      }
    }
  }
}

2. Playwright MCP -- Test the Full Request Cycle

Author: Microsoft | Tools: 20 | Context cost: ~5,000 tokens

Remix applications couple server-side loaders tightly with client-side rendering. A bug in a loader can produce a blank page, and you will not catch it by reading code alone.

  • Navigate to your running Remix app, submit forms, and verify loaders return expected data
  • Test progressive enhancement: verify forms work with and without JavaScript
  • Read the accessibility tree to catch heading hierarchy and ARIA issues automatically
{
  "mcpServers": {
    "playwright": {
      "command": "npx",
      "args": ["-y", "@playwright/mcp"]
    }
  }
}

3. Cloudflare MCP -- Deploy to the Edge

Author: Cloudflare (official) | Tools: 25 | Context cost: ~10,000 tokens

Remix and Cloudflare Workers are a natural pairing. Many Remix projects use D1, KV, R2, and Queues alongside Workers.

  • Debug production issues by checking Worker logs and D1 database state
  • Manage KV namespaces and R2 buckets without opening the Cloudflare dashboard
  • Compare production environment against your local setup when things work locally but fail at the edge
{
  "mcpServers": {
    "cloudflare": {
      "command": "npx",
      "args": ["-y", "@cloudflare/mcp-server-cloudflare"],
      "env": {
        "CLOUDFLARE_API_TOKEN": "<your-token>"
      }
    }
  }
}

4. Context7 MCP -- Current Remix Docs

Author: Upstash | Tools: 2 | Context cost: ~2,000 tokens

Remix v1 to v2 changed routing conventions, meta tags, and CSS approach. If your assistant's training data predates these changes, it writes code that does not work.

  • Pull live Remix v2 documentation for defer, route modules, and streaming patterns
  • Especially important for Remix because the framework has a smaller training data corpus than Next.js
  • Two tools, ~2,000 tokens -- extremely efficient
{
  "mcpServers": {
    "context7": {
      "command": "npx",
      "args": ["-y", "@upstash/context7-mcp@latest"]
    }
  }
}

5. GitHub MCP -- Source Control and Community Knowledge

Author: GitHub (official) | Tools: 20 | Context cost: ~8,000 tokens

Beyond day-to-day source control, the real value is searching the Remix repository and community packages for solutions to specific problems.

  • Search the Remix GitHub repo for issues matching your error messages
  • Create PRs, review diffs, and manage issues inline
  • Find patterns from real projects when implementing streaming or advanced loader patterns
{
  "mcpServers": {
    "github": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-github"],
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "<your-token>"
      }
    }
  }
}

Token Budget

Configuration Servers Estimated Tokens % of 200K Context
Lean (Context7 + Playwright) 2 ~7,000 3.5%
Standard (+ Supabase + GitHub) 4 ~27,875 13.9%
Full (+ Cloudflare) 5 ~37,875 18.9%

Start lean and add servers as your workflow demands.

Ready-to-Copy Configuration

{
  "mcpServers": {
    "supabase": {
      "command": "npx",
      "args": ["-y", "@supabase/mcp-server-supabase@latest"],
      "env": { "SUPABASE_ACCESS_TOKEN": "<your-token>" }
    },
    "playwright": {
      "command": "npx",
      "args": ["-y", "@playwright/mcp"]
    },
    "cloudflare": {
      "command": "npx",
      "args": ["-y", "@cloudflare/mcp-server-cloudflare"],
      "env": { "CLOUDFLARE_API_TOKEN": "<your-token>" }
    },
    "context7": {
      "command": "npx",
      "args": ["-y", "@upstash/context7-mcp@latest"]
    },
    "github": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-github"],
      "env": { "GITHUB_PERSONAL_ACCESS_TOKEN": "<your-token>" }
    }
  }
}

Getting Started

Pick the servers that match your current pain points:

  • Writing loaders and actions with the wrong API? Start with Context7 MCP.
  • Testing forms manually in the browser? Add Playwright MCP.
  • Guessing at your database schema? Supabase MCP gives you direct access.
  • Deploying to Cloudflare and debugging edge issues? Cloudflare MCP handles that.

Each server is a few lines of JSON. Add them incrementally, and drop any that are not pulling their weight.

Related Stacks

Related Servers