A TypeScript runtime that runs Claude Code, Codex, Grok Build, OpenCode and other coding agent CLIs behind one API, with checks the runtime runs itself.
Waishnav/devspace
A self-hosted MCP server that lets ChatGPT, Claude and other MCP hosts read, edit and run code in your local projects.
Open-source alternative to:ChatGPT Codex
- Stars
- 5,422
- Forks
- 615
- Open issues
- 26
- Last commit
- 6 days ago
What is it?
DevSpace is a self-hosted MCP server that gives ChatGPT and other MCP-capable hosts controlled access to selected folders on your own machine. Once connected, the client can open a project as a workspace, read and edit files, search code, run shell commands such as tests and builds, and use isolated Git worktrees for parallel sessions.
You run the server locally and expose it through a tunnel you control, such as Cloudflare Tunnel or ngrok. You choose which root folders are allowed, and approve each connection with an Owner password. Files are not uploaded to a third party, but a connected client has shell access inside an opened workspace, so it should be treated as a trusted partner.
The project also supports Coding Agents setups, where local commands run against the current Git project, and it reads project instructions from AGENTS.md and CLAUDE.md. It runs on Linux, macOS, and Windows through Git Bash or WSL.
Key features
- 01Opens approved local project folders as workspaces for ChatGPT or other MCP hosts.
- 02Reads, writes, and edits files and searches code within the workspace.
- 03Runs shell commands for tests, builds, git, and package scripts.
- 04Uses isolated Git worktrees for parallel coding sessions.
- 05Requires Owner password approval and works through a tunnel you control.
Use cases
- Letting ChatGPT inspect and modify a local repository without uploading code to a third party.
- Running tests and builds from a chat session against your own machine.
- Driving coding agents such as Claude Code or Codex against local projects through a shared MCP endpoint.
Quick start
- 1
Install DevSpace globally with npm (requires Node, see README for supported versions)
npm install -g @waishnav/devspace - 2
Run the setup wizard to choose ChatGPT or Coding Agents and configure DevSpace
devspace init - 3
Start the server when using ChatGPT (expose it through a public HTTPS tunnel)
devspace serve
Things to know
- Windows PowerShell and cmd.exe alone are not supported; you need Git Bash or WSL.
- Connecting ChatGPT requires a public HTTPS tunnel or reverse proxy that you set up yourself.
- Connected clients get powerful local access, including shell execution, inside opened workspaces.
In collections
Topics
FAQ
- What is devspace?
- A self-hosted MCP server that lets ChatGPT, Claude and other MCP hosts read, edit and run code in your local projects. DevSpace is a self-hosted MCP server that gives ChatGPT and other MCP-capable hosts controlled access to selected folders on your own machine. Once connected, the client can open a project as a workspace, read and edit files, search code, run shell commands such as tests and builds, and use isolated Git worktrees for parallel sessions.
- Is devspace free to use? What license does it have?
- devspace is open source under the MIT license. Check the license terms before using it in commercial products.
- Is devspace still maintained?
- Actively maintained. The last commit to devspace was on Nov 1, 2026.
- What can I use devspace for?
- Letting ChatGPT inspect and modify a local repository without uploading code to a third party. Running tests and builds from a chat session against your own machine. Driving coding agents such as Claude Code or Codex against local projects through a shared MCP endpoint.
- How do I install devspace?
- Install DevSpace globally with npm (requires Node, see README for supported versions): npm install -g @waishnav/devspace Run the setup wizard to choose ChatGPT or Coding Agents and configure DevSpace: devspace init Start the server when using ChatGPT (expose it through a public HTTPS tunnel): devspace serve
- Where can I get devspace?
- The source code and installation instructions are on GitHub: https://github.com/Waishnav/devspace
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
A port of Poteto's pstack Cursor skill stack, giving Claude Code, Codex, Copilot, Pi and other agent harnesses structured workflows for coding tasks.
An open-source desktop agent OS that runs your AI coding agents, voice assistant, browser control and app integrations on your own machine.
An MCP server and CLI that connect your Zotero research library to Claude, ChatGPT, Cursor and other AI assistants for search, reading and annotation.
Self-hosted control center for running coding agents like OpenHands, Claude Code and Codex across local, remote and cloud backends.
Local-first persistent memory for AI coding agents, storing decisions and lessons in SQLite and serving them over MCP to Claude Code, Cursor and other clients.