io.github.aidancorrell

spark-sql-mcp-server

Spark SQL

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

stdiocommunityservice

Package Details

Transportstdio

Environment Variables

SPARK_HOST(str)
Required

Hostname of the Spark Thrift Server

SPARK_PORT(num)

Port of the Spark Thrift Server (default: 10000)

SPARK_DATABASE(str)

Default database to use

SPARK_AUTH(str)

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

SPARK_USERNAME(str)

Username for LDAP authentication

SPARK_PASSWORD(str)
Secret

Password for LDAP authentication

SPARK_KERBEROS_SERVICE_NAME(str)

Kerberos service name (default: hive)