mcplocal
Click on "Install 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., "@mcplocalread src/server.js and summarize its purpose"
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.
mcplocal
Local Files MCP server that lets an MCP-capable client (including ChatGPT Web custom MCP apps where available) read, search and modify files inside one explicitly configured directory.
Features
Legacy HTTP+SSE:
GET /sse+POST /messagesModern MCP HTTP endpoint:
/mcpHealth check:
/healthSandbox: every file path is resolved under
MCP_ROOTOptional Bearer authentication
Read/search tools for project discovery
Write/edit tools for coding workflows
Delete is disabled by default
No shell/CLI execution tool
No dependency on an external database
Node.js 20+
The MCP TypeScript SDK currently recommends Streamable HTTP for remote servers and treats HTTP+SSE as a backwards-compatibility transport. This project intentionally exposes both so older SSE clients can still connect while newer clients can use /mcp.
Related MCP server: FilesystemMCP
1. Run
cp .env.example .env
# edit MCP_ROOT if needed
npm startExample:
MCP_ROOT=~/Projects
MCP_HOST=127.0.0.1
MCP_PORT=8008
MCP_AUTH_TOKEN=change-meThen:
SSE: http://127.0.0.1:8008/sse
Streamable: http://127.0.0.1:8008/mcp
Health: http://127.0.0.1:8008/health2. What ChatGPT Web can connect to
ChatGPT Web cannot directly reach localhost from the hosted service. A local MCP server must be made reachable through the supported Secure MCP Tunnel/private-network mechanism. After you have a remote MCP endpoint, add it as a custom MCP app in ChatGPT Developer Mode, scan its tools, and enable it.
For a tunnel that maps the local service, the local origin is:
http://127.0.0.1:8008/sseor, for modern clients:
http://127.0.0.1:8008/mcpDo not expose this server to the public internet without authentication and an explicit network policy.
3. Tools exposed to ChatGPT
list_files(path, recursive)read_file(path, startLine, endLine)write_file(path, content, createDirs)edit_file(path, oldText, newText, replaceAll)search_files(query, path, regex, caseSensitive, maxResults)create_directory(path)file_info(path)delete_file(path)only whenMCP_ENABLE_DELETE=true
Typical coding workflow:
list_filesto understand the project.search_filesto locate symbols.read_fileto inspect the relevant code.edit_filefor a surgical change, orwrite_filefor a new file.read_fileagain to verify the result.
4. Security model
MCP_ROOT is the hard boundary. ../ traversal and absolute paths outside it are rejected. Binary/unreadable files are skipped by search. File size is capped by MCP_MAX_FILE_BYTES.
The server intentionally does not expose arbitrary shell execution. That means ChatGPT can edit code but cannot automatically run rm, curl, package managers, git commands, or arbitrary programs through this MCP.
For a development machine, keep MCP_HOST=127.0.0.1 and use the supported Secure MCP Tunnel rather than binding the server to all interfaces.
5. Build
npm run build
node dist/server.jsThe build is dependency-free and copies the runtime into dist/.
6. Docker
docker build -t mcplocal .
docker run --rm -p 8008:8008 -v "$PWD:/workspace" mcplocal7. Example prompts in ChatGPT
Inspect this local project and tell me where the authentication flow is implemented. Do not modify anything.Open src/server.js and refactor the error handling. Before changing it, read the relevant code. Then edit only the necessary section and show me what changed.Search the project for TODO comments and create a report at reports/todos.md.License
MIT
This server cannot be installed
Maintenance
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
- -licenseNot gradedqualityNot gradedmaintenanceA secure MCP server enabling read-only access and file search capabilities within a specified directory, while respecting .gitignore patterns.
- AlicenseNot gradedqualityCmaintenanceA local, customizable MCP server for filesystem access that extends the official Anthropic implementation with additional tools and functionality. It enables users to securely read, write, edit, and manage files and directories within specific allowed local paths.529,343Inno Setup
- FlicenseBqualityDmaintenanceA lightweight MCP server for basic file operations, enabling reading, writing, and listing files securely via the Model Context Protocol.31
- AlicenseNot gradedqualityBmaintenanceSafe local MCP server for Windows to list, read, search, patch, backup, and verify code files in allowed folders, with Git integration and dry-run diffs.1MIT
Related MCP Connectors
Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.
A MCP server built for developers enabling Git based project management with project and personal…
An MCP server that gives your AI access to the source code and docs of all public github repos
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/aiautotool/mcplocal'
If you have feedback or need assistance with the MCP directory API, please join our Discord server