
morphcloud examples public
anything you want can be built with morph cloud
Repository Info
About This Server
anything you want can be built with morph cloud
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
morphcloud-examples-public
A collection of example scripts to easily create and set up specialized VMs/snapshots on Morph Cloud.
Overview
This repository contains ready-to-use scripts for creating preconfigured Morph Cloud instances for various use cases. Each script handles VM creation, setup, and service configuration automatically.
Examples
sandbox
- Creates an environment for running AI code in a sandbox environment
- Implements a Jupyter environment that can be interacted with
- Features a stock analysis demo using the openai-agents sdk
browser
- Provides a CDP-enabled browser automation environment on Morph Cloud
- Includes the MorphBrowser class for managing browser instances
- Features a shopping demo using browser-use and langchain-anthropic
remote-desktop
- Sets up a VM with XFCE4 desktop environment accessible via web browser
- Uses TigerVNC + noVNC for browser-based remote desktop access
- No VNC client required - just open the provided URL
fullstack-devbox
- Sets up a Bun development environment with integrated PostgreSQL
- Includes a React Todo app demo with Bun's HMR (Hot Module Reloading)
- Provides a complete fullstack development environment ready for use with claude code
emulator
- Sets up an environment with an emulator
- Provides tools for interacting with the emulator programmatically
- Also includes generic computer use interaction
openvscode-server
- Creates a VM running OpenVSCode Server in a Docker container
- Provides a full VS Code experience through your browser
- Includes a persistent workspace mounted at /home/workspace
docker-buildkit
- Configures a VM with Docker BuildKit for containerized development
- Enables accelerated container builds with caching
- Optimized for efficient CI/CD pipelines and container workflows
mcp-devbox
- Configures a development environment for working with Claude and MCP servers
- Includes examples for Claude API integration and tools
swebench
- Provides a platform to assess code fixes against software engineering tasks
- Applies model-generated patches to codebases, runs test suites, and evaluates if the fixes successfully resolve the issues
Prerequisites
- A Morph Cloud account
- Morph Cloud API key exported in your environment:
export MORPH_API_KEY=your_api_key_here - Python 3.11+ with pip or uv package manager
Usage
Each example has its own directory with a detailed README and setup script.
Resources
- Morph Cloud Documentation
- Morph Cloud Python SDK
- Morph Cloud Typescript SDK
Quick Start
Clone the repository
git clone https://github.com/morph-labs/morphcloud-examples-publicInstall dependencies
cd morphcloud-examples-public
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.