Replit MCP

Live

OAUTH 2.0

DEVELOPER TOOLS

Developer Tools

Connect to Replit MCP. Create, update, and inspect Replit apps from natural-language prompts, list your apps, and resolve apps by name from your AI workflows.

  • Acts as the user: Every tool call runs as the authorizing user. Access and audit trail stay intact.
  • Credentials stay vaulted: AES-256 encrypted, resolved at request time, never stored in LLM context.
  • Scoped before every call: Per-user permissions enforced automatically. 90-day audit trail included.
Replit MCP
agent · Acme Q3
Run
Ask Question in Replit MCP
S
replitmcp_ask_question
85ms
Replit MCP agent
Ask the replit agent a question about an app's codebase or behavior without modifying it. use this for explanations and .
Sources: Replit MCP
replitmcpmcp
1 tool call
18:29
Message Claude...

Replit MCP tools for AI agents

CALL ANY TOOL
8 tools covering ask, create, list.
replitmcp_ask_question
Ask the replit agent a question about an app's codebase or b
Ask the replit agent a question about an app's codebase or behavior without modifying it. use this for explanations and debugging, not for making changes.
Parameters
Name
Type
Required
Description
question
string
Required
The question to send to Replit Agent. This question will be visible by the user if they open their Replit App in Replit, so try to keep it in the same language that the user communicated in with you.
replId
string
Required
The replId (a UUID) of the user's Replit App being queried. Get it from create_app_from_prompt (for an app created in this conversation), resolve_app_by_name (for an app the user named exactly), or list_apps (when the user picked one from their app list).
policy
string
Optional
Ignored. Don't waste tokens sending this.
replitmcp_create_app_from_prompt
Create a new replit app from a natural-language description
replitmcp_list_apps
List the authenticated user's replit apps, most recently upd
replitmcp_replit_widget_get_auth_token
Internal replit widget tool that retrieves an auth token for
replitmcp_replit_widget_get_preview_url
Internal replit widget tool that retrieves the preview url f
replitmcp_replit_widget_start_app_preview
Internal replit widget tool that starts an app preview sessi
replitmcp_resolve_app_by_name
Look up an existing replit app by its exact name and return
replitmcp_update_app_using_prompt
Update an existing replit app using a natural-language descr
Build your Agent
Same auth pattern across every framework.
Python · LlamaIndex
from langchain_mcp_adapters.client import MultiServerMCPClient
from scalekit import ScalekitClient

client = ScalekitClient(env_url=ENV_URL, client_id=CLIENT_ID, client_secret=SECRET)
token = client.agent.get_token(user_id="user_id", connector="replitmcp")

mcp = MultiServerMCPClient({
"replitmcp": {
"url": "https://mcp.scalekit.com/replitmcp",
"headers": {"Authorization": "Bearer " + token}
}
})
tools = await mcp.get_tools()
import OpenAI from "openai";
import { ScalekitClient } from "@scalekit-sdk/node";

const client = new ScalekitClient({ envUrl, clientId, clientSecret });
const token = await client.agent.getToken({ userId: "user_id", connector: "replitmcp" });

const openai = new OpenAI();
// Connect to MCP at https://mcp.scalekit.com/replitmcp
// Pass: Authorization: Bearer + token
import Anthropic from "@anthropic-ai/sdk";
import { ScalekitClient } from "@scalekit-sdk/node";

const client = new ScalekitClient({ envUrl, clientId, clientSecret });
const token = await client.agent.getToken({ userId: "user_id", connector: "replitmcp" });

const anthropic = new Anthropic();
// Connect to MCP at https://mcp.scalekit.com/replitmcp
// Pass: Authorization: Bearer + token
from google.adk.agents import LlmAgent
from scalekit import ScalekitClient

client = ScalekitClient(env_url=ENV_URL, client_id=CLIENT_ID, client_secret=SECRET)
token = client.agent.get_token(user_id="user_id", connector="replitmcp")
# Connect to MCP at https://mcp.scalekit.com/replitmcp
# Pass: Authorization: Bearer + token
Try these prompts
Paste any prompt into your agent to get started.
Get started
Copy the prompt
Copied
Update an existing Replit app using a natural-language description of the desired change?
Copy the prompt
Copied
Look up an existing Replit app by its exact name and return its repl ID and URL for use in other tools?
Advanced
Copy the prompt
Copied
Internal Replit widget tool that starts an app preview session for a given repl?
Copy the prompt
Copied
Internal Replit widget tool that retrieves the preview URL for a running repl build?
SEE HOW AUTH WORKS
User authorises once. Every agent call after uses their token with scope enforcement.
1
Authorize
Your user connects
Replit MCP
once. We tie it to their identity and the meetings they approved — no shared bot account, no org-wide access
Who:
user ‘A’
when:
Once per user
access:
Limited to user
2
Store
Their
Replit MCP
token lives in a vault scoped to them. User A's meetings are never reachable by an agent acting for user B, even on the same connection
vault:
encrypted
scope:
per-user
tokens:
auto-refreshed
3
Resolve
When your agent calls a
Replit MCP
tool, we fetch the right token server-side. It never touches your agent, never appears in the LLM context, never shows up in your logs
speed:
~40ms
check:
before every call
seen by:
nobody
4
Audit
Every
Replit MCP
tool call is logged — who triggered it, which meeting was fetched, what came back. 90 days of history, tied to the user who authorized it
history:
90 days
export:
SIEM-ready
logged:
every call
Test other agents
See the same per-user auth pattern across other connectors.
ENGINEERING
DevOps assistant agent
Triage GitHub incidents, open Linear tickets, and notify the on-call channel in Slack with context already attached.
ENGINEERING
Auto-release notes agent
Group merged GitHub PRs by feature, fix, or chore and publish release notes per tag. No manual changelog grooming.
Why Scalekit
Secure your agent's access. Connectors ship in minutes
Other connector libraries treat auth as a demo afterthought.
01.
Shared tokens break per-user analytics
A shared token looks fine in a demo. In production every call looks like a service account. Scalekit resolves the real user credential.
// shared token
audit → bot_service_account

// scalekit
audit → user_abc ✓
02.
Authentication is not authorization
03.
Multi-tenancy is architectural
04.
One connector today. Ten tomorrow.
“Our agents act across Salesforce, Gong, Google Drive, and more, on behalf of every customer. Scalekit behind the scenes meant we can keep adding tools without ever rebuilding how credentials or tool calling work.”
Venu Madhav Kattagoni
Head of Engineering / Von
FAQs
Frequently Asked Questions

Does the agent access Replit as the user or as a shared key?
As the user. Each workspace member authorizes once and Scalekit resolves their credential at request time. Audit logs attribute every action to that user, not a shared service account.

Where is the Replit OAuth token stored?
In Scalekit's managed AES-256 token vault, namespaced per tenant. Refresh is automatic. Revocation is a single dashboard action. Tokens never appear in prompts, logs, or LLM context.

Can I limit what the agent is allowed to do in Replit?
Yes. Pass a tool name filter to listScopedTools so the DevOps agent only sees the subset you authorize. Pre-API-call scope checks block out-of-policy actions before the request reaches Replit.

What happens when a user revokes Replit access?
The connection is invalidated on the next tool call. Subsequent requests for that user fail closed with a clear error. Other users in the tenant remain unaffected. The event is logged for audit.

Which Replit apps can the agent create or modify?
Only apps in the authorizing user's Replit account. App creation from prompts, previews, and updates run under that user's plan and workspace, never a shared deploy key.

Start in your coding agent
Up and running in one command
Install the Scalekit skill in your editor of choice. Connector, auth, tools, prompt, all wired up
Claude Code REPL
/plugin marketplace add scalekit-inc/claude-code-authstack
/plugin install agentkit@scalekit-auth-stack
Cursor Code REPL
# ~/.cursor/mcp.json
{
""mcpServers"": {
""replitmcp"": {
""url"": ""https://mcp.scalekit.com/replitmcp"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.replitmcp]
url = ""https://mcp.scalekit.com/replitmcp""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""replitmcp"": {
""url"": ""https://mcp.scalekit.com/replitmcp"",
""type"": ""http""
}
}
}