Replit MCP Server
Connect AI agents to Replit to build, modify, and ship full-stack apps from natural language.
Updated
What is Replit MCP?
The Replit MCP server is an official, Replit-hosted Model Context Protocol server that lets AI agents create, modify, and query full-stack applications on Replit using natural language. It exposes Replit Agent — Replit's AI app builder — as a set of tools any MCP-compatible client can call.
The server is reachable at https://replit-mcp.com/server/mcp over Streamable HTTP and authenticates with OAuth 2.1 (PKCE), so clients like Claude Code handle the sign-in flow automatically and the agent acts on behalf of your Replit account. Because Replit runs the server, there is nothing to self-host or deploy.
In practice, an agent describes an app in plain English, Replit Agent begins building it on Replit's cloud platform, and the agent can then iterate on the app or ask about its status — all without leaving the conversation. It's available to users on any Replit plan.
Tools the Replit MCP server exposes
| Tool | What it does |
|---|---|
| create_app_from_prompt | Create a new Replit App from a natural language description; Replit Agent begins building it immediately. |
| update_app_using_prompt | Modify an existing Replit App — add features, fix bugs, or iterate on a deployed app. |
| ask_question | Ask Replit Agent about an app's status, tech stack, or details without modifying it (discussion mode). |
Connect the Replit MCP server
Claude Code
- 1
Add the remote server
Run: claude mcp add --transport http replit https://replit-mcp.com/server/mcp
- 2
Authenticate
Trigger the server and complete the OAuth 2.1 sign-in to your Replit account in the browser — Claude Code handles the flow automatically.
- 3
Use it
Ask Claude to create a new app, update an existing one, or ask about an app you're building.
Replit is also available as a one-click connector in the Claude connectors directory.
Cursor
- 1
Open MCP settings
In Cursor, go to Settings > MCP and add a new server.
- 2
Add the remote URL
Configure an HTTP (Streamable HTTP) server with URL https://replit-mcp.com/server/mcp
- 3
Authenticate
Complete the OAuth sign-in to your Replit account when prompted, then call the Replit tools from chat.
Sample use cases
An agent scaffolds a full-stack prototype from a product brief and deploys it to Replit.
A working web app URL shared with stakeholders within minutes of the initial prompt.
A coding agent adds a new API endpoint to an existing Replit app based on a feature request.
Feature additions made to a running app without switching contexts to the Replit IDE.
A QA agent checks an app's status and recent logs to diagnose a reported issue.
Diagnostic context gathered from the running Repl without opening the Replit console manually.
An agent creates throwaway environments for testing code snippets or library compatibility.
Isolated test environments spun up and torn down on demand, keeping the main project clean.
A demo-builder agent creates customized app demos for sales calls from a template.
Prospect-specific demo apps deployed to shareable URLs before each meeting.
An agent modifies an existing Replit app to fix a bug reported in a support ticket.
Bug fixes applied and deployed to the live Repl without the developer opening the IDE.
A workshop agent provisions individual Replit environments for each participant in a coding class.
Pre-configured coding environments ready for every student, provisioned in batch from a single prompt.
Security & permissions
The server authenticates with OAuth 2.1 (PKCE) — no API keys are pasted into client config; the client opens a browser sign-in and the agent acts on behalf of the authenticated Replit account. Granted access lets the agent create, modify, and query Replit Apps via Replit Agent under that account, so connect it only in trusted clients and review what the agent builds or changes. Revoke access from your Replit account's connected-apps settings at any time.
Using Replit MCP with Gamut
In Gamut, a Replit MCP connection becomes a tool your agents can call inside automated, event- or schedule-triggered workflows — Gamut manages the OAuth connection so the agent can create, update, or query Replit Apps without manual sign-in each run. For example, a scheduled workflow could spin up or iterate on a prototype from a brief, or an event-triggered agent could ask Replit Agent for an app's build status and route the result onward. The agent's actions are bounded by the tools the server exposes and the permissions of the connected Replit account.
Frequently asked questions
What is the Replit MCP server?
It is the official, Replit-hosted Model Context Protocol server that exposes Replit Agent as tools. AI agents can create new full-stack apps from a prompt, modify existing apps, and ask about an app's status — all on Replit's cloud platform.
Is the Replit MCP server free?
The MCP server is available to users on any Replit account tier, including Free, as well as Core, Pro, and Enterprise. Agent usage and any deployment costs follow your underlying Replit plan's billing.
How do I connect the Replit MCP server to Claude or Cursor?
In Claude Code run: claude mcp add --transport http replit https://replit-mcp.com/server/mcp (or use the Replit connector in Claude's connectors directory). In Cursor, add an HTTP MCP server with the same URL. Both complete an OAuth sign-in to your Replit account automatically.
Is the Replit MCP server hosted or self-hosted?
It is officially hosted by Replit at https://replit-mcp.com/server/mcp over Streamable HTTP. There is nothing to deploy or self-host — you connect over OAuth and start building.
What can AI agents build with the Replit MCP server?
Agents can create full-stack web apps (frontend + backend + database), modify existing apps, check app status, and deploy — all on Replit's cloud platform. The server exposes Replit Agent as MCP tools, so anything Replit Agent can build is accessible programmatically.
Does the Replit MCP server support modifying existing apps?
Yes. Agents can target an existing Repl by ID or URL and make changes — adding features, fixing bugs, updating dependencies — without creating a new app from scratch.
What languages and frameworks does Replit MCP support?
Replit supports 50+ languages and frameworks. Through MCP, agents can create apps in Python, Node.js, React, Next.js, Flask, Django, and more — whatever Replit's platform supports, the MCP server can provision.
Are apps created through Replit MCP automatically deployed?
Apps created or modified through the MCP server run on Replit's infrastructure and get a shareable URL immediately. For production deployments with custom domains, you configure Replit's deployment settings (which may require a paid plan).