Skip to main content
Glama
alkindivv

MCPishCode

by alkindivv

MCPishCode connected to ChatGPT

Give ChatGPT a secure connection to your own machine and Turn ChatGPT into Codex

MCPishCode is a self-hosted MCP server that lets ChatGPT read, edit, search, and run code in your real local projects — your files, your tools, your terminal — without uploading anything to a third party. You run it on your machine, expose it through a tunnel you control, and approve the connection with a password only you have.

Sponsors and Special Thanks

Related MCP server: ChatGPT2LocalBridge

Installation

MCPishCode requires Node >=22.19 <27.

Install the MCPishCode CLI:

npm install -g @alkindivv/mcpishcode

Then initialize and start the server:

mcpishcode init
mcpishcode serve

Or run it without a global install:

npx @alkindivv/mcpishcode init
npx @alkindivv/mcpishcode serve

During setup, MCPishCode asks for:

  • the local project folders ChatGPT is allowed to open through MCPishCode

  • the local port, usually 7676

  • your public HTTPS base URL from Cloudflare Tunnel, ngrok, Pinggy, Tailscale Funnel, or another reverse proxy

Use the public origin without /mcp during setup:

https://your-tunnel-host.example.com

You will configure your MCP client with the public /mcp URL after setup.

When the client connects, MCPishCode opens an Owner password approval page. Enter the Owner password printed by mcpishcode init. It is also stored in:

~/.mcpishcode/auth.json

Keep that password private.

Connect Your MCP Client

The default local endpoint is:

http://127.0.0.1:7676/mcp

Most users should connect through a public HTTPS tunnel:

https://your-tunnel-host.example.com/mcp
NOTE

Using MCPishCode as an MCP connector isn't against OpenAI's Usage Policies — it's a standard custom App/connector setup, and writing or running code isn't a restricted use case. But your account is governed by your usage, not by MCPishCode. Don't point it at anything that would violate your provider's terms. Used normally, you're fine. (Based on OpenAI's Usage Policies and Service Terms as of June 2026.)

What ChatGPT Can Do

Once connected, ChatGPT can open one of your approved project folders as a workspace. From there, it can inspect the repo, make scoped edits, run commands, and show you what changed.

MCPishCode gives ChatGPT tools to:

  • read, write, and edit files inside the opened workspace

  • search code and inspect directories

  • run shell commands for tests, builds, git, and package scripts

  • use isolated Git worktrees for parallel coding sessions

  • follow project instructions from AGENTS.md and CLAUDE.md

  • discover local agent skills from your skill folders

  • show tool cards and optional change summaries in ChatGPT Apps-compatible hosts

Mental Model

MCPishCode is remote access to selected local folders.

You decide which roots are allowed. The MCP client still has powerful local capabilities inside an opened workspace, including shell execution. Treat a connected client like a trusted coding partner with access to your machine.

For a normal ChatGPT coding session:

  1. Start your tunnel.

  2. Run mcpishcode serve.

  3. Connect the MCP client to your public /mcp URL.

  4. Approve the connection with the Owner password.

  5. Ask ChatGPT to open a project inside one of your allowed roots.

Platform Support

MCPishCode supports Linux, macOS, and Windows environments with a Bash-compatible shell.

Platform

Status

Notes

Linux

Supported

Requires Node, npm, Git, and Bash.

macOS

Supported

Requires Node, npm, Git, and Bash.

Windows with Git Bash, WSL, MSYS2, or Cygwin Bash

Supported

Git Bash is the simplest native Windows setup.

Windows PowerShell or cmd.exe only

Not supported yet

Install Git Bash or use WSL.

Run this to inspect your local setup:

mcpishcode doctor

Documentation

Philosophy

Every piece of software is becoming conversational. Natural language is redefining how we interact with tools, workflows, and systems.

My bet is that ChatGPT becomes the operating system for everything. Once we reach AGI, we will simply talk to ChatGPT, and it will prompt, coordinate, and orchestrate sub-agents that set up the right loops for us.

We are not there yet.

MCPishCode is one attempt to fast-forward that future: a way for MCP-capable hosts like ChatGPT and Claude to work directly with local project files through explicit, inspectable tools.

Built by alkindivv

I'm alkindivv, I like building opinionated products and tools, and MCPishCode is one example of that. This year, I started my journey to build a single-person and multiple-agents company doing multiple millions in revenue. If you want to watch the failures, wins, lessons, and everything in between, come hang out with me on X.

More from me

Local Development

For working on MCPishCode itself:

npm install --include=dev
npm run dev
npm run typecheck
npm test
npm run build
npm run start
A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • An MCP server that gives your AI access to the source code and docs of all public github repos

  • Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer

  • A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/alkindivv/MCPishCode'

If you have feedback or need assistance with the MCP directory API, please join our Discord server