local-mcp-server
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., "@local-mcp-serverShow me the contents of server.py"
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.
local-mcp-server
Local MCP server with Docker Compose and one-command wrappers.
What this provides
File access tools scoped to one allowed root directory
Local command execution via an allow-list
Read-only Postgres query tool
Dockerized startup with one command
Related MCP server: hardened-terminal-mcp
Prerequisites
Docker Desktop (running)
One-time setup
Start from project root.
Run:
chmod +x scripts/start-local-mcp.sh scripts/stop-local-mcp.sh scripts/register-mcp-client.sh
./scripts/start-local-mcp.shOn first run, the script creates .env from .env.example and exits.
Edit
.envand set at least:
MCP_ALLOWED_ROOTDB_PASSWORDOptional: any DB values if your local DB differs
Run again:
./scripts/start-local-mcp.shDaily usage
Start:
./scripts/start-local-mcp.shStop:
./scripts/stop-local-mcp.shLogs:
docker compose -f /Users/suresh.gollamudi/projects/marketplace-code-review/local-mcp-server/docker-compose.yml logs -f local-mcpStatus:
docker compose -f /Users/suresh.gollamudi/projects/marketplace-code-review/local-mcp-server/docker-compose.yml psAuto-register MCP client (VS Code + Cursor)
Use the auto-detect script to register this server in supported local client config files:
./scripts/register-mcp-client.shDry-run preview only:
./scripts/register-mcp-client.sh --dry-runTarget one client explicitly:
./scripts/register-mcp-client.sh --target vscode
./scripts/register-mcp-client.sh --target cursorWhat it updates:
VS Code (recommended):
~/Library/Application Support/Code/User/mcp.jsonunderserversCursor (if present):
~/Library/Application Support/Cursor/User/mcp.jsonunderserversCursor fallback:
~/.cursor/mcp.jsonunderservers
The script also removes any legacy VS Code settings.json entry for this server.
The script creates backup files before writing any existing config.
MCP endpoint
http://localhost:3000/mcp
Tools exposed by this server
list_files(relative_path)read_text_file(relative_path, max_chars)run_local_command(command, args, timeout_sec)query_postgres_readonly(sql, limit)
Security defaults
Filesystem access constrained to
MCP_ALLOWED_ROOTCommand execution constrained to an allow-list in
server.pySQL constrained to
SELECT/WITHonly
Initialize as a local git repo
git init
git add .
git commit -m "Initial local MCP server scaffold"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
- AlicenseAqualityCmaintenanceLocal MCP server for safe querying and inspecting PostgreSQL databases, with write and maintenance operations disabled by default.8311ISC
- AlicenseAqualityBmaintenanceSecurity-hardened MCP server that runs only allowlisted commands with no shell, jailed to a single directory, and bounded execution.2MIT
- Alicense-qualityAmaintenanceA local MCP server for inspecting and operating Linux VPS deployments through restricted SSH.2MIT
- Alicense-qualityCmaintenanceA read-only MCP server providing SQLite querying, port checking, and git diff summary tools for local development.MIT
Related MCP Connectors
A MCP server built for developers enabling Git based project management with project and personal…
MCP server for managing Prisma Postgres.
An MCP server for deep research or task groups
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/sureshgollamudi/local-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server