Replit logo
Developer ToolsAuth: OAuthHosting: Official hosted

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

ToolWhat it does
create_app_from_promptCreate a new Replit App from a natural language description; Replit Agent begins building it immediately.
update_app_using_promptModify an existing Replit App — add features, fix bugs, or iterate on a deployed app.
ask_questionAsk Replit Agent about an app's status, tech stack, or details without modifying it (discussion mode).

Connect the Replit MCP server

Claude Code

  1. 1

    Add the remote server

    Run: claude mcp add --transport http replit https://replit-mcp.com/server/mcp

  2. 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. 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. 1

    Open MCP settings

    In Cursor, go to Settings > MCP and add a new server.

  2. 2

    Add the remote URL

    Configure an HTTP (Streamable HTTP) server with URL https://replit-mcp.com/server/mcp

  3. 3

    Authenticate

    Complete the OAuth sign-in to your Replit account when prompted, then call the Replit tools from chat.

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.