ChatGPT connector¶
Add local-shell-mcp to ChatGPT as a custom MCP connector. Public deployments should use the built-in OAuth flow.
Check the server¶
Confirm that:
- the public HTTPS hostname reaches the server;
LOCAL_SHELL_MCP_BASE_URLexactly matches that origin;- OAuth is enabled and the admin PIN is a long random value;
- the health endpoint responds.
The connector URL is:
Add the connector¶
- Open ChatGPT settings for connectors or custom MCP servers.
- Add the public URL ending in
/mcp. - Complete the OAuth approval flow with the configured admin PIN.
- Refresh the connector's tools after changing the server tool surface.
Use a ChatGPT mode that exposes full MCP tools when you need shell, filesystem, Git, remote-worker, or Agent Bridge operations. A limited connector mode may expose only search-style tools.
Test it¶
Use local-shell-mcp. Start a session in my project workspace, inspect its instructions and Git status, and summarize what you can access. Do not edit files yet.
Then try a harmless command:
Common mistakes¶
- The connector URL omits
/mcp. - The configured base URL includes
/mcpinstead of only the origin. - The tunnel hostname and configured base URL do not match.
- OAuth is disabled on a public deployment.
- The client cached an older tool list after a server change.
See Configuration for OAuth settings and Security before granting access to important workspaces.