Designed for deployment on Google Cloud Run with containerization support, automatic scaling, and integrated monitoring for CPU/memory usage, requests, latency, and errors.
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., "@MCP Filesystem Serverlist the files in the /tmp directory"
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.
MCP Filesystem Server para Google Cloud Run
Servidor MCP (Model Context Protocol) adaptado para producciΓ³n en Google Cloud Platform.
CaracterΓsticas
π Seguridad: Control de acceso a directorios especΓficos
π AutenticaciΓ³n: API Key opcional
π Operaciones de archivos: Leer, escribir, editar, buscar
π HTTP/SSE Transport: Compatible con Cloud Run
π³ Containerizado: Listo para desplegar
Related MCP server: MCP Filesystem Server
Requisitos
Google Cloud SDK (
gcloud)Proyecto de GCP configurado
APIs habilitadas: Cloud Run, Cloud Build, Container Registry
Despliegue RΓ‘pido
# 1. Configurar tu proyecto GCP
gcloud config set project YOUR_PROJECT_ID
# 2. Ejecutar script de despliegue
./deploy.shEl script:
Habilita las APIs necesarias
Construye la imagen Docker
Despliega a Cloud Run
Genera una API Key automΓ‘ticamente
Muestra la URL del servicio
ConfiguraciΓ³n Manual
Variables de Entorno
PORT: Puerto del servidor (default: 8080)ALLOWED_DIRS: Directorios permitidos, separados por comasAPI_KEY: Clave de autenticaciΓ³n (opcional)
Ejemplo de Despliegue Manual
# Build
gcloud builds submit --tag gcr.io/PROJECT_ID/mcp-filesystem-server
# Deploy
gcloud run deploy mcp-filesystem-server \
--image gcr.io/PROJECT_ID/mcp-filesystem-server \
--region us-central1 \
--set-env-vars "ALLOWED_DIRS=/tmp,API_KEY=tu-clave-segura"Uso
Health Check
curl https://your-service-url.run.app/healthConectar Cliente MCP
Configure su cliente MCP para conectarse a:
URL:
https://your-service-url.run.app/sseHeader:
X-API-Key: your-api-key
Herramientas Disponibles
read_file: Leer archivoswrite_file: Escribir archivosedit_file: Editar archivos con diffscreate_directory: Crear directorioslist_directory: Listar contenidodirectory_tree: Γrbol de directoriosmove_file: Mover/renombrar archivossearch_files: Buscar archivosget_file_info: InformaciΓ³n de archivoslist_allowed_directories: Ver directorios permitidos
Seguridad
Solo accede a directorios explΓcitamente permitidos
ValidaciΓ³n de rutas para prevenir acceso no autorizado
AutenticaciΓ³n por API Key
Usuario no-root en el container
Manejo seguro de seΓ±ales con dumb-init
Monitoreo
Cloud Run proporciona mΓ©tricas automΓ‘ticas:
Requests por segundo
Latencia
Errores
Uso de CPU/memoria
Costos Estimados
Cloud Run: ~$0.00002400/vCPU-segundo
Almacenamiento: SegΓΊn Container Registry
Red: $0.12/GB egreso
Con auto-scaling, solo pagas por uso real.
Troubleshooting
Error: APIs no habilitadas
gcloud services enable cloudbuild.googleapis.com cloudrun.googleapis.comError: Permisos insuficientes
AsegΓΊrate de tener roles:
Cloud Run Admin
Cloud Build Editor
Storage Admin
Logs
gcloud run services logs read mcp-filesystem-server --region us-central1Frontend Web
Incluye una interfaz web para gestionar archivos:
Despliegue del Frontend
cd frontend
./deploy.shCaracterΓsticas
π Explorador de archivos visual
βοΈ Editor de texto integrado
π AutenticaciΓ³n con API Key
πΎ Crear, editar, eliminar archivos
π GestiΓ³n de directorios
IntegraciΓ³n con Claude Desktop
Para usar con Claude Desktop, sigue las instrucciones en CLAUDE_DESKTOP_SETUP.md.
El proxy incluido (mcp-client-proxy.js) permite conectar Claude Desktop con el servidor remoto.
Arquitectura Completa
βββββββββββββββββββ ββββββββββββββββββββ βββββββββββββββββββ
β Claude Desktop ββββββΆβ Proxy Local ββββββΆβ MCP Server β
β (StdIO) β β (HTTP/SSE) β β (Cloud Run) β
βββββββββββββββββββ ββββββββββββββββββββ βββββββββββββββββββ
β
βββββββββββββββββββ β
β Frontend Web βββββββββββββββββββββββββββββββββββββββββ
β (Browser) β
βββββββββββββββββββLicencia
MIT - Basado en el proyecto oficial de Anthropic
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.