Skip to main content
Glama

MCP File & Git Manager Server

by osamaloup
QUICK_START.md1.68 kB
# Quick Start Guide ## 🚀 Fast Setup (5 minutes) ### Option 1: Docker (Recommended) ```bash cd /Users/lachaal/kjr/cursor/mcp-file-git-server # Build and run docker build -t mcp-file-git-server . docker run -d \ --name mcp-file-git-server \ -p 3001:3001 \ -e PROJECT_ROOT=/workspace \ -v /Users/lachaal/kjr/cursor:/workspace:rw \ mcp-file-git-server # Check status docker logs mcp-file-git-server curl http://localhost:3001/health ``` ### Option 2: Local Development ```bash cd /Users/lachaal/kjr/cursor/mcp-file-git-server # Install dependencies npm install # Build npm run build # Start export PROJECT_ROOT=/Users/lachaal/kjr/cursor npm start ``` ## ✅ Verify Installation ```bash # Test health endpoint curl http://localhost:3001/health # Should return: # {"status":"healthy","timestamp":"..."} ``` ## 🔧 Configure in n8n 1. **Install n8n-nodes-mcp**: ```bash docker exec -it n8n-traefik-n8n-1 npm install -g n8n-nodes-mcp docker restart n8n-traefik-n8n-1 ``` 2. **Create MCP Credential**: - Transport: `SSE` - URL: `http://mcp-file-git-server:3001/sse` 3. **Add MCP Client Node** to workflow 4. **Connect to AI Agent Tool** ## 📋 Available Tools - `read_file` - Read file contents - `write_file` - Write/create files - `list_files` - List directories - `delete_file` - Delete files/dirs - `create_directory` - Create folders - `git_status` - Git status - `git_add` - Stage files - `git_commit` - Create commit - `git_push` - Push to remote - `git_pull` - Pull from remote - `git_log` - View history - `git_diff` - Show differences - `search_in_files` - Search text That's it! Your MCP server is ready to use with n8n.

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/osamaloup/mcp-file-git-server'

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