MCP Standalone
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Standalonecheck disk usage and show top processes on my VPS"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Standalone — ChatGPT VPS Tools
Standalone MCP server for ChatGPT (and Claude/Cursor) — exposes VPS tools via OAuth 2.1 + PKCE S256, long-horizon ready with exec_start/poll.
Forked pattern from mso/lib/mcp — no Next.js, no database, just Fastify + ~/.mcp-standalone/mcp.json (sha256 only, atomic 0600).
Features
OAuth 2.1 PKCE S256 only (
plainrejected),code_verifier43-128,isAllowedRedirecthttps-only,timingSafeEqualDiscovery:
/.well-known/oauth-authorization-server(RFC 8414) +/.well-known/oauth-protected-resource(RFC 9728) +/.well-known/openid-configurationfallback +/.well-known/oauth-protected-resource/mcpvariantsDCR:
POST /oauth/register(RFC 7591) →201withclient_id,grant_types, etc.Tools (16):
fs_list, fs_read, fs_search, fs_usage, sys_stats, sys_processes(read) +fs_write, fs_mkdir, fs_delete, fs_move, fs_copy(write) +exec_run, exec_start, exec_status, exec_output, exec_wait(exec, long-horizon)Long-horizon:
exec_startreturns<500ms{job_id, pid}, pollexec_status/output/waituntilcompleted— neverexec_runfor >30s tasksJail:
MCP_FS_READ_ROOTS / WRITE_ROOTS(realpath), denylist~/.ssh,~/.mcp-standalone,~/.mso, etc., catastrophic filter (rm -rf /, fork bomb → 126)
Related MCP server: remote-admin-mcp
Quick Start
cp .env.example .env # fill MCP_SESSION_SECRET (openssl rand -hex 32), MCP_LOGIN_PASSWORD, etc.
npm install
npm start # or systemd: mcp-standalone.service → :8790.env:
PORT=8790
HOST=127.0.0.1
MCP_BASE_URL=https://mcp.brain.biz.id
MCP_SESSION_SECRET=...
MCP_LOGIN_PASSWORD=...
MCP_FS_READ_ROOTS=~:~/projects:~/bridgemind:~/HERMES-OC
MCP_FS_WRITE_ROOTS=~:~/projects:~/bridgemind:~/HERMES-OC
MCP_MAX_SCOPE=exec
OAUTH_CLIENT_ID=chatgpt-mcp-xxxx # optional, empty = allow DCR any
MCP_STORE=~/.mcp-standalone/mcp.jsonCloudflare Tunnel
# ~/.cloudflared/config.yml
- hostname: mcp.brain.biz.id
service: http://localhost:8790cloudflared tunnel route dns gendis-shine mcp.brain.biz.id
sudo systemctl restart cloudflared-tunnelChatGPT Connectors
MCP Server URL:
https://mcp.brain.biz.id/mcpAuth: OAuth →
https://mcp.brain.biz.id/oauth/authorize+https://mcp.brain.biz.id/oauth/tokenClient ID:
chatgpt-mcp-...or leave empty for DCRScope:
exec
Verify:
curl https://mcp.brain.biz.id/.well-known/oauth-authorization-server | jq
curl https://mcp.brain.biz.id/healthSystemd
sudo cp mcp-standalone.service /etc/systemd/system/
sudo systemctl enable --now mcp-standaloneLicense
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Operate Linux, macOS and Windows from your LLM. Every action runs through an auditable allowlist.
- mcpOAuthnet.hepcloud
Manage HepCloud (Turkish cloud) servers and managed PostgreSQL from your AI assistant. OAuth 2.1.
- emisarOAuthdev.emisar
Let AI operate servers without SSH. Choose actions, approve risky changes, and audit every step.
OAuth 2.1 short-link tools for AI agents with scoped tokens, approvals, audit logs, and revocation.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables LLMs to securely manage Virtual Private Servers via SSH, with features including command execution, file operations, system monitoring, and service management.1MIT
- AlicenseAqualityCmaintenanceEnables AI assistants to manage remote servers via SSH with agentless command execution, file operations, and service management.9MIT
- FlicenseAqualityDmaintenanceGives AI assistants full control over a VPS via SSH, enabling command execution, file management, service control, Docker and firewall management.96-
- AlicenseNot gradedqualityBmaintenanceEnables ChatGPT to securely inspect and administer a Linux VPS over Streamable HTTP, with OAuth protection, workspace file tools, and optional root command execution.MIT