emergent-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@emergent-mcp Create a landing page for my coffee shop and take screenshots at phone and laptop sizes."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
emergent-mcp
MCP server for Emergent.sh — control the AI-powered full-stack app builder from any MCP-compatible agent.
Build apps, monitor progress, respond to agent questions, preview results, and track credit usage — all from your AI assistant.
Quick Start
npx @openclaw/emergent-mcpRequired env vars:
export EMERGENT_EMAIL="you@example.com"
export EMERGENT_PASSWORD="yourpassword"Or run the interactive login helper:
npx @openclaw/emergent-mcp-loginRelated MCP server: autodemo
Installation
Claude Desktop / Claude Code / Cursor
Add to your MCP config (claude_desktop_config.json or .cursor/mcp.json):
{
"mcpServers": {
"emergent": {
"command": "npx",
"args": ["-y", "@openclaw/emergent-mcp"],
"env": {
"EMERGENT_EMAIL": "you@example.com",
"EMERGENT_PASSWORD": "yourpassword"
}
}
}
}OpenClaw
Add to your OpenClaw config:
mcp:
servers:
- name: emergent
command: npx -y @openclaw/emergent-mcp
env:
EMERGENT_EMAIL: you@example.com
EMERGENT_PASSWORD: yourpasswordAvailable Tools
Tool | Description |
| Create a new project by submitting a prompt |
| List recent projects with status |
| Get full details for a specific project |
| Poll until a build completes |
| Answer a HITL question from the agent |
| Wake a sleeping environment |
| Get the live preview URL |
| Screenshot preview at phone/tablet/laptop/TV sizes |
| Get full credit balance details |
| Get a short credit balance string |
Example Usage
Ask your AI assistant:
"Create a landing page for my coffee shop in Bangalore using emergent-mcp. The shop is called 'Brew & Co', has a 4.9★ rating, and their number is +91 98765 43210. Then take screenshots at phone and laptop sizes."
The agent will:
Call
emergent_get_creditsto note starting balanceCall
emergent_create_projectwith your promptCall
emergent_wait_for_buildto poll until doneCall
emergent_get_previewto get the live URLCall
emergent_screenshot_previewfor the screenshotsCall
emergent_get_creditsagain to report credits used
Architecture
This MCP server uses the Emergent REST API directly (no browser automation needed for core operations). Authentication uses the Supabase backend that powers Emergent.
Credentials are cached in ~/.emergent-mcp/api-token.json and refreshed automatically.
For operations not yet in the REST API (e.g., deployment), the server falls back to Playwright browser automation.
Environment Variables
Variable | Required | Description |
| Yes* | Account email |
| Yes* | Account password |
*Not required if you've already logged in via emergent-mcp-login (session cached).
License
MIT
Available Tools
11 toolsemergent_create_projectA
Create a new project on Emergent.sh by submitting a prompt. The AI agent will start building immediately. Returns a job ID you can use to monitor progress.
Inputs: prompt (required), modelName.
emergent_credit_summaryB
Get a short human-readable credit balance summary.
Inputs: no named parameters.
emergent_discover_featuresA
[Browser] Discover and document available Emergent.sh features. Only needed for features not yet in the REST API.
Inputs: no named parameters.
emergent_get_creditsA
Get the current credit balance for the Emergent account. Returns ECU balance, monthly credits, daily credits, plan name, and refresh date.
Inputs: no named parameters.
emergent_get_previewA
Get the live preview URL for a built Emergent project.
Inputs: jobId (required), includeVscode.
emergent_get_projectA
Get full details for a specific project including status, preview URL, and credits used.
Inputs: jobId (required).
emergent_list_projectsA
List your recent Emergent.sh projects/jobs with their status and preview URLs.
Inputs: limit.
emergent_respond_to_agentA
Respond to a HITL (human-in-the-loop) question from the Emergent agent. Use when the agent has paused and is waiting for your input to continue building.
Inputs: jobId (required), response (required).
emergent_screenshot_previewA
Take screenshots of the live preview at multiple viewport sizes (phone, tablet, laptop, TV). Requires Playwright (installed automatically with the package).
Inputs: previewUrl (required), outputDir, viewports.
emergent_wait_for_buildA
Poll a job until it completes (or fails/times out). Use after emergent_create_project to wait for the build to finish.
Inputs: jobId (required), timeoutMinutes.
emergent_wake_environmentA
Wake up a sleeping Emergent environment (auto-sleeps after ~30min inactivity).
Inputs: jobId (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 11 tools
Most workflow tools (create, wait, respond, wake) are clearly separated, but get_credits and credit_summary both surface credit balance information, and get_preview duplicates the preview URL already available from get_project and list_projects. Descriptions help clarify the differences, but the boundaries are not fully crisp.
Tools share an emergent_ prefix and generally follow verb_noun naming such as create_project, list_projects, wait_for_build, and wake_environment. The pattern is slightly weakened by emergent_credit_summary, which lacks a verb, and emergent_screenshot_preview, where screenshot is used awkwardly as a verb, but the overall convention is predictable.
With 11 tools, the server stays within a reasonable scope and covers the main project lifecycle. The count is slightly inflated by redundant helpers like credit_summary and get_preview, but it is not overwhelming or insufficient.
The server covers the core build workflow well: create, monitor/wait, respond to HITL questions, wake environments, preview, screenshot, and check credits. It lacks obvious lifecycle operations like canceling or stopping a build and deleting or archiving a project, and discover_features suggests the API surface has gaps.
Maintenance
Related MCP Connectors
MCP server that lets your AI assistant build and deploy apps, hosting each one at a live URL.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
A full backend your AI coding agent can set up over MCP
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
Related MCP Servers
- AlicenseAqualityDmaintenanceAn MCP server for managing and executing AI agents on the Spaceship AI platform directly from clients like Claude Code and Cursor. It provides comprehensive tools for agent lifecycle management, including creation, execution, and real-time monitoring of run statuses and logs.161MIT
- AlicenseNot gradedqualityBmaintenanceMCP server that turns any running web app into demo videos, interactive walkthroughs, and marketing captures via one command. Enables AI agents to show their work with regenerated demos on every PR.4 npm7MIT
- FlicenseAqualityDmaintenanceMCP server for creating, monitoring, and managing Devin AI sessions.41-
- FlicenseAqualityCmaintenanceMCP server that enables AI assistants to run multi-step agent pipelines (e.g., Issue Analyst → Code Writer → Test Runner → PR Opener) from conversations, with support for Devin, shell, Python, and HTTP agents.7-