MCP ServerSTDIOOfficialv0.1.2

Spark SQL MCP Server

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

io.github.aidancorrell/spark-sql-mcp-server

Hosted URL

https://github.com/aidancorrell/spark-sql-mcp-server

Transport

STDIO

Auth

1 required env var

Connect to Spark SQL

Hosted endpoint — paste into any MCP client.

https://github.com/aidancorrell/spark-sql-mcp-server

Environment variables

Configuration this server reads at startup.

  • 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)

Resources

Where to find authoritative docs and source for Spark SQL.

Try Spark SQL with 30+ AI models

Open MCP Agent Studio and connect this server to Claude, GPT, Gemini, DeepSeek and more — no install required.

Open Agent Studio

Related servers

More on MCP Playground