Skip to main content
Glama

MCP Filesystem Server

by A-Niranjan
docker-compose.yml978 B
version: '3.8' services: mcp-filesystem: build: context: . dockerfile: Dockerfile container_name: mcp-filesystem restart: unless-stopped volumes: - ./data:/data:ro # Mount directories you want to expose to the server (read-only) command: /data # Pass the allowed directory as an argument environment: - NODE_ENV=production # Health check to ensure the service is running correctly healthcheck: test: ['CMD', 'node', '-e', "process.stdout.write('health check')"] interval: 30s timeout: 10s retries: 3 start_period: 10s # Resource limits deploy: resources: limits: cpus: '0.5' memory: 256M reservations: cpus: '0.1' memory: 128M # Security options security_opt: - no-new-privileges:true # Network settings networks: - mcp-network # Define networks networks: mcp-network: driver: bridge

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/A-Niranjan/mcp-filesystem'

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