emergent-mcp
MCP server for Emergent.sh that enables AI assistants to create, monitor, and interact with full-stack app projects, including responding to agent questions and taking preview screenshots.
README
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-mcp
Required env vars:
export EMERGENT_EMAIL="you@example.com"
export EMERGENT_PASSWORD="yourpassword"
Or run the interactive login helper:
npx @openclaw/emergent-mcp-login
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: yourpassword
Available Tools
| Tool | Description |
|---|---|
emergent_create_project |
Create a new project by submitting a prompt |
emergent_list_projects |
List recent projects with status |
emergent_get_project |
Get full details for a specific project |
emergent_wait_for_build |
Poll until a build completes |
emergent_respond_to_agent |
Answer a HITL question from the agent |
emergent_wake_environment |
Wake a sleeping environment |
emergent_get_preview |
Get the live preview URL |
emergent_screenshot_preview |
Screenshot preview at phone/tablet/laptop/TV sizes |
emergent_get_credits |
Get full credit balance details |
emergent_credit_summary |
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 balance - Call
emergent_create_projectwith your prompt - Call
emergent_wait_for_buildto poll until done - Call
emergent_get_previewto get the live URL - Call
emergent_screenshot_previewfor the screenshots - Call
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 |
|---|---|---|
EMERGENT_EMAIL |
Yes* | Account email |
EMERGENT_PASSWORD |
Yes* | Account password |
*Not required if you've already logged in via emergent-mcp-login (session cached).
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.