OmniDev Web Studio
README.md
<div align="center">
<img src="assets/logo.svg" alt="OmniDev Web Studio Logo" width="150" height="150">
# OmniDev Web Studio
### AI-powered remote development workspace & MCP server
**Your server. Your workspace. Your AI tools.**
[](https://nodejs.org/)
[](https://modelcontextprotocol.io/)
[](docs/INSTALLATION.md)
[](#-mobile--pwa)
[](LICENSE)
[](CHANGELOG.md)
[](https://github.com/AdiKhanOfficial/OmniDev-Web-Studio/actions/workflows/ci.yml)
[](https://github.com/AdiKhanOfficial/OmniDev-Web-Studio/stargazers)
**Bring AI-assisted development directly to your own hosting account — from your desktop, tablet or phone.**
[Features](#-key-features) • [Architecture](#-architecture) • [Installation](#-getting-started) • [MCP Setup](#-mcp-integration) • [Security](#-security--permissions)
Developed by **[AdiKhanOfficial](https://github.com/AdiKhanOfficial)**
</div>
---
## 📖 Overview
**OmniDev Web Studio** is the self-hosted web companion to [OmniDev Studio](https://github.com/AdiKhanOfficial/OmniDev-Studio). It combines a browser-based code editor, server directory explorer, database management, terminal jobs, backups and AI approval controls in one dashboard.
Instead of downloading a website, editing it locally and uploading it again, connect a compatible MCP client to an authorized server workspace and manage your development workflow directly. No tunneling service or mandatory `.env` file is needed for a fresh installation.
> [!NOTE]
> This is a public beta for trusted single-administrator environments. Evaluate on staging before working on live applications.
## ✨ Key Features
<table>
<tr>
<td width="50%">
### 📁 Remote Workspaces
Create, browse and switch server projects at runtime. Select individual websites, account Home or application parent directories within your configured boundary.
</td>
<td width="50%">
### 🎨 Browser IDE
Edit source files, inspect execution logs and switch between code and database tabs in a unified development interface.
</td>
</tr>
<tr>
<td>
### 🧠 Direct MCP Integration
Connect compatible ChatGPT, Claude or Gemini clients using a private HTTPS endpoint on your own domain.
</td>
<td>
### 🌙 MCP Sleep / Wake
Pause new AI requests from the dashboard without stopping the Node.js application.
</td>
</tr>
<tr>
<td>
### 🛡️ Permission Controls
Choose Automatic, Smart or Manual approvals, with individual tool policies and opt-in server tool access.
</td>
<td>
### 💻 Terminal & Git
Run enabled development commands, inspect tracked jobs and manage Git workflows using your hosting account permissions.
</td>
</tr>
<tr>
<td>
### 🗃️ Database Explorer
Browse SQLite and MySQL/MariaDB tables, open multiple table tabs, inspect schemas and execute SQL.
</td>
<td>
### 💾 Backups & Recovery
Create source checkpoints, restore file versions and manage supported database dumps before risky changes.
</td>
</tr>
<tr>
<td>
### 📱 Mobile & PWA
Manage workspaces, settings and approvals from a responsive dashboard that can be installed on supported devices.
</td>
<td>
### ⚙️ First-run Wizard
Configure administrator credentials, domain, workspace boundaries, safety options and backup preferences from the browser.
</td>
</tr>
</table>
## 🏗️ Architecture
```mermaid
flowchart TD
AI["ChatGPT / Claude / compatible MCP client"]
UI["Browser / mobile PWA"]
HTTPS["Hosting HTTPS reverse proxy"]
Auth["Admin session or MCP token validation"]
App["Node.js / Express web studio"]
Power["MCP power and permission controls"]
FS["Structured workspace file tools"]
Jobs["Opt-in terminal and Git jobs"]
DB["SQLite / MySQL / MariaDB"]
Store["Private configuration, logs and backups"]
AI --> HTTPS
UI --> HTTPS
HTTPS --> Auth --> App
App --> Power
Power --> FS
Power --> Jobs
Power --> DB
App --> Store
App --> UI
```
The web edition runs on the server rather than inside Electron. Structured path checks are defense in depth; shell subprocesses are **not** OS-isolated.
## 🚀 Getting Started
### Prerequisites
- Node.js 22 or newer and npm.
- Dedicated non-root account and HTTPS domain for remote access.
- Optional Git and MySQL/MariaDB command-line clients.
### Local evaluation
```bash
git clone https://github.com/AdiKhanOfficial/OmniDev-Web-Studio.git
cd OmniDev-Web-Studio
npm ci --omit=optional
npm start
```
Open `http://localhost:3721` for local evaluation. Keep the listener isolated from untrusted networks.
### Deploy on cPanel / CloudLinux
| Step | Action |
|---|---|
| 1 | Create an HTTPS subdomain with a separate document root. |
| 2 | Upload the source into a private application directory. |
| 3 | Create a Node.js 22+ application in Production mode. |
| 4 | Set startup file to `app.js` and mount at the domain root. |
| 5 | Install dependencies and start the application. |
| 6 | Open the domain and complete the installation wizard. |
Read the one-time setup key from the private data directory shown in the startup log (default `~/.omnidev-web/setup.key`). Set a unique password of at least 12 characters and choose your safety preferences.
**No mandatory .env setup for fresh installations.** See the [complete installation and upgrade guide](docs/INSTALLATION.md) for reverse-proxy, storage and isolation requirements.
## 🔌 MCP Integration
1. Sign in and select a workspace.
2. Enable MCP from the dashboard.
3. Open **Settings → MCP Connection** and copy your private endpoint.
4. Add it to a compatible client's remote MCP configuration.
5. Start with read-only inspection and review requested approvals.
```text
https://studio.example.com/mcp/sec_REPLACE_WITH_YOUR_TOKEN
```
> [!WARNING]
> Treat the complete tokenized URL as a password. Never publish it in screenshots, repositories, logs or issues.
| Client | Connection method |
|---|---|
| ChatGPT | Custom remote MCP server, if supported by your account and workspace |
| Claude | Custom remote connector or Claude Code HTTP transport |
| Gemini CLI | Supported remote MCP HTTP configuration |
Client plans, permissions and transport support vary. See the [MCP setup guide](docs/MCP.md) for examples and compatibility limitations.
## 🛠️ Available MCP Tools
| Category | Examples | Purpose |
|---|---|---|
| Context | `get_project_context`, `update_project_context` | Inspect and document project context |
| Filesystem | `read_file`, `write_file`, `edit_file_replace`, `edit_file_multi` | Read and modify authorized source files |
| Search | `list_directory`, `search_code`, `get_file_info` | Navigate and inspect code |
| File operations | `move_file`, `copy_file`, `delete_file` | Manage workspace content |
| Development | `codebase_map`, `run_tests`, `lint_code`, `format_code` | Understand and test projects |
| Terminal | `run_command`, `get_job_status`, `get_job_output`, `cancel_job` | Execute and monitor enabled jobs |
| Git | `git_status`, `git_diff`, `git_log`, `git_commit`, `git_branch` | Version-control workflows |
| SQLite | `sqlite_query`, `sqlite_schema` | Query workspace databases |
| MySQL | `mysql_query`, `mysql_databases`, `mysql_schema` | Inspect and query MySQL/MariaDB |
| Recovery | `list_backups`, `restore_backup`, `create_checkpoint`, `restore_checkpoint` | Recover previous versions |
The live `tools/list` response is authoritative. Tool availability depends on administrator settings, permissions and installed dependencies.
## 🧭 Typical Development Workflow
```mermaid
flowchart LR
A["Select workspace"] --> B["Create checkpoint"]
B --> C["Connect AI"]
C --> D["Inspect and approve"]
D --> E["Apply and test"]
E --> F["Review changes"]
F --> G["MCP Sleep"]
```
Example prompt:
> Inspect this workspace and propose a minimal fix. Do not modify files or execute commands until I approve. Create a checkpoint before the approved change, then report the tests and changed files.
## 🔐 Security & Permissions
| Mode | Behavior |
|---|---|
| 🟢 Automatic | Enabled tools can run without approval prompts, subject to explicit overrides. |
| 🟡 Smart | Selected reads are auto-approved; modifying operations normally require approval. |
| 🔴 Manual | Tool requests require approval, subject to individual policies. |
Additional controls include administrator authentication, one-time installation verification, MCP Sleep/Wake, structured workspace boundaries and explicit opt-in for terminal, Git, database and outside-account access.
> [!IMPORTANT]
> OmniDev is not a multi-tenant service or an OS sandbox. Terminal and Git commands can modify any files writable by the hosting account, including OmniDev itself. Use dedicated OS identities or containers for stronger isolation. Sleep blocks new MCP requests but already executing or detached processes may continue. Use least-privilege database credentials and never put real secrets in project notes.
See [SECURITY.md](SECURITY.md) for deployment precautions and responsible vulnerability reporting.
## 💾 Backup & Recovery
Source checkpoints and file backups help reverse unintended changes. Checkpoints skip common dependency/build directories and protected paths, exclude individual files above 50 MiB and reject source snapshots above 200 MiB. Up to 20 checkpoints are retained. Restore overlays files rather than removing every newer file, and creates a safety checkpoint first. File-backup retention pruning is manual.
Database dumps are separate and require supported client binaries. Always retain independent offsite backups.
## 📱 Mobile & PWA
Install OmniDev from a supported browser using **Install App** or **Add to Home Screen**. On iPhone/iPad, use Safari's Share menu. The responsive dashboard offers access to workspace selection, files, database tabs, settings and approvals.
The offline screen caches public assets only; private files, tokens and authenticated responses are not intended for offline storage. Development requires a connection to the server.
## 📚 Documentation
| Guide | Contents |
|---|---|
| [Installation](docs/INSTALLATION.md) | Local setup, cPanel deployment, upgrades and troubleshooting |
| [Usage](docs/USAGE.md) | Workspaces, editor, database, backups and mobile |
| [MCP](docs/MCP.md) | AI connection and safety |
| [Security](SECURITY.md) | Threat boundaries and vulnerability reporting |
| [Contributing](CONTRIBUTING.md) | Development and contribution workflow |
| [Publishing](docs/PUBLISHING.md) | GitHub publishing and releases |
| [Changelog](CHANGELOG.md) | Release history |
## 🖥️ Desktop vs Web
| | [OmniDev Studio](https://github.com/AdiKhanOfficial/OmniDev-Studio) | OmniDev Web Studio |
|---|---|---|
| Runtime | Electron desktop | Node.js server |
| Workspace | Local machine | Authorized server directories |
| Remote MCP | Optional tunnel | Direct HTTPS domain |
| Interface | Desktop application | Browser / mobile PWA |
| Setup | Desktop configuration | Browser installation wizard |
## 🧪 Release Status
Local Windows/Node regression tests cover setup, authentication, MCP, permissions, workspace paths, checkpoints and SQLite. Linux CI is configured for independent verification. Live cPanel/MySQL integration, mobile Safari and a complete security audit remain outstanding. Desktop-only plugins, automation triggers and reverse-engineering tools are not supported web features. No Secrets Vault or ngrok configuration is exposed. Offline editing and push notifications are not implemented.
---
<div align="center">
## 👨💻 Author
<img src="https://github.com/AdiKhanOfficial.png?size=120" width="90" alt="AdiKhanOfficial">
**AdiKhanOfficial**
[](https://github.com/AdiKhanOfficial)
[](https://github.com/AdiKhanOfficial/OmniDev-Studio)
If OmniDev helps your workflow, consider giving the repository a ⭐.
Licensed under the [MIT License](LICENSE).
*Independent project; not affiliated with OpenAI, Anthropic, Google or cPanel.*
</div>
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues