Spark SQL

MCP

by aidancorrell · v0.1.2

Query Spark SQL clusters via Thrift/HiveServer2. Works with Spark, EMR, Hive, Impala.

mcplocal

MCP configuration

stdio

Command

uvx spark-sql-mcp-server==0.1.2

Environment

  • SPARK_HOSTrequired

    Hostname of the Spark Thrift Server

  • SPARK_PORT

    Port of the Spark Thrift Server (default: 10000)

  • SPARK_DATABASE

    Default database to use

  • SPARK_AUTH

    Authentication method: NONE, LDAP, KERBEROS, CUSTOM, or NOSASL

  • SPARK_USERNAME

    Username for LDAP authentication

  • SPARK_PASSWORDsecret

    Password for LDAP authentication

  • SPARK_KERBEROS_SERVICE_NAME

    Kerberos service name (default: hive)

Install in one click with Zurek

Browse here, install from the native macOS app — pick targets, fill env vars, and write configs safely.