🔧 Dataproc MCP Server Documentation

Production-ready Model Context Protocol server for Google Cloud Dataproc operations.

Dataproc MCP Server

npm version npm downloads Build Status Coverage Status License: MIT Node.js Version TypeScript MCP Compatible

A production-ready Model Context Protocol (MCP) server for Google Cloud Dataproc operations with intelligent parameter injection, enterprise-grade security, and comprehensive tooling. Designed for seamless integration with Roo (VS Code).

🚀 Quick Start

Add this to your Roo MCP settings:

{
  "mcpServers": {
    "dataproc": {
      "command": "npx",
      "args": ["@dipseth/dataproc-mcp-server@latest"],
      "env": {
        "LOG_LEVEL": "info"
      }
    }
  }
}

With Custom Config File

{
  "mcpServers": {
    "dataproc": {
      "command": "npx",
      "args": ["@dipseth/dataproc-mcp-server@latest"],
      "env": {
        "LOG_LEVEL": "info",
        "DATAPROC_CONFIG_PATH": "/path/to/your/config.json"
      }
    }
  }
}

📋 Configuration

Project-Based Configuration

The server supports a project-based configuration format:

# profiles/@analytics-workloads.yaml
my-company-analytics-prod-1234:
  region: us-central1
  tags:
    - DataProc
    - analytics
    - production
  labels:
    service: analytics-service
    owner: data-team
    environment: production
  cluster_config:
    # ... cluster configuration

Authentication Methods

For detailed information on authentication methods, refer to the Authentication Implementation Guide.

Environment Variables

Variable Description Default
DATAPROC_CONFIG_PATH Path to configuration file config/server.json
LOG_LEVEL Logging level (debug, info, warn, error) info
GOOGLE_APPLICATION_CREDENTIALS Path to service account key -
DATAPROC_PROJECT_ID Default GCP project ID -
DATAPROC_REGION Default Dataproc region us-central1

Configuration File Structure

{
  "projectId": "your-gcp-project",
  "region": "us-central1",
  "authentication": {
    "type": "service_account_impersonation",
    "serviceAccountEmail": "dataproc-service@project.iam.gserviceaccount.com",
    "impersonationChain": ["intermediate@project.iam.gserviceaccount.com"]
  },
  "defaultParameters": {
    "numWorkers": 2,
    "machineType": "n1-standard-4",
    "diskSize": 100
  },
  "profiles": {
    "development": {
      "numWorkers": 2,
      "machineType": "n1-standard-2"
    },
    "production": {
      "numWorkers": 10,
      "machineType": "n1-standard-8"
    }
  }
}

🔧 MCP Client Integration

Claude Desktop

{
  "mcpServers": {
    "dataproc": {
      "command": "npx",
      "args": ["@dataproc/mcp-server"],
      "env": {
        "LOG_LEVEL": "info"
      }
    }
  }
}

Roo (VS Code)

{
  "mcpServers": {
    "dataproc-server": {
      "command": "npx",
      "args": ["@dataproc/mcp-server"],
      "env": {
        "LOG_LEVEL": "info",
        "DATAPROC_CONFIG_PATH": "./config/server.json"
      }
    }
  }
}

📚 Documentation

🛠️ Key Features

🤝 Support

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.


Built with ❤️ for the Model Context Protocol ecosystem.