Skip to main content

Exasol MCP Server

Project description

Provides an LLM access to the Exasol database via MCP tools. Includes the tools for reading the database metadata and executing data reading queries.

License Downloads Supported Python Versions PyPi Package

🚀 Features

  • Collects the metadata.

    • Enumerates the existing database objects, including schemas, tables, views, functions and UDF scripts.

    • Provides a filtering mechanisms to use with object enumeration.

    • Describes the database objects: for tables returns the list of columns and constraints; for functions and scripts - the list of input and output parameters.

    • Enables keyword search of database objects.

  • Executes provided SQL query.

The complete list of tools is formally described in the Tool List section of the user guide.

🔌️ Prerequisites

💾 Installation

Ensure the uv package is installed. If uncertain call

uv --version

To install uv on macOS please use brew, i.e.

brew install uv

For other operating systems, please follow the instructions in the uv official documentation.

🧠 Using the server with the Claude Desktop

To enable the Claude Desktop using the Exasol MCP server, the latter must be listed in the configuration file claude_desktop_config.json. A similar configuration file would exist for most other MCP Client applications.

To find the Claude Desktop configuration file, click on the Settings and navigate to the “Developer” tab. This section contains options for configuring MCP servers and other developer features. Click the “Edit Config” button to open the configuration file in the editor of your choice.

Add the Exasol MCP server to the list of MCP servers as shown in this configuration example.

{
    "mcpServers": {
        "exasol_db": {
            "command": "uvx",
            "args": ["exasol-mcp-server@latest"],
            "env": {
                "EXA_DSN": "my-dsn",
                "EXA_USER": "my-user-name",
                "EXA_PASSWORD": "my-password"
            }
        }
    }
}

With these settings, uv will execute the latest version of the exasol-mcp-server in an ephemeral environment, without installing it.

Alternatively, the exasol-mcp-server can be installed using the command:

uv tool install exasol-mcp-server@latest

For further details on installing and upgrading the server using uv see the uv Tools documentation.

If the server is installed, the Claude configuration file should look like this:

{
    "mcpServers": {
        "exasol_db": {
            "command": "exasol-mcp-server",
            "env": "same as above"
        }
    }
}

Please note that any changes to the Claude configuration file will only take effect after restarting Claude Desktop.

🟠 🟢 Running modes

The MCP server can be deployed either locally, as described above, or as a remote HTTP server. To run the server as a Direct HTTP Server execute the command:

exasol-mcp-server-http --host <server-host> --port <server-port>

The host defaults to 0.0.0.0.

This command provides a simple way to verify the setup for a remote MCP Server deployment. For the production environment, one might consider using an ASGI server like Unicorn. The most flexible approach is implementing a wrapper for the Exasol MCP server that will provide the desired control options. For further information and ideas, please check the HTTP Deployment in the FastMCP documentation.

Here is an example code creating the Exasol MCP server from a wrapper.

from exasol.ai.mcp.server import mcp_server

exasol_mcp = mcp_server()

🔧 Configuration settings

The server is configured using environment variables and optionally a json file. In the above example, the server is provided with the database connection parameters, all other settings left to default. For the information on how to customize server settings please see the Server Setup in the User Guide.

📜 License

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

Safe Harbor Statement: Exasol MCP Server & AI Solutions

Exasol’s AI solutions (including MCP Server) are designed to enable intelligent, autonomous, and highly performant access to data through AI and LLM-powered agents. While these technologies unlock powerful new capabilities, they also introduce potentially significant risks.

By granting AI agents access to your database, you acknowledge that the behavior of large language models (LLMs) and autonomous agents cannot be fully predicted or controlled. These systems may exhibit unintended or unsafe behavior—including but not limited to hallucinations, susceptibility to adversarial prompts, and the execution of unforeseen actions. Such behavior may result in data leakage, unauthorized data generation, or even data modification or deletion.

Exasol provides the tools to build AI-native workflows; however, you, as the implementer and system owner, assume full responsibility for managing these solutions within your environment. This includes establishing appropriate governance, authorization controls, sandboxing mechanisms, and operational guardrails to mitigate risks to your organization, your customers, and their data.

📚 Documentation

For further details, check out the latest documentation.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

exasol_mcp_server-1.6.1.tar.gz (64.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

exasol_mcp_server-1.6.1-py3-none-any.whl (70.0 kB view details)

Uploaded Python 3

File details

Details for the file exasol_mcp_server-1.6.1.tar.gz.

File metadata

  • Download URL: exasol_mcp_server-1.6.1.tar.gz
  • Upload date:
  • Size: 64.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.0 CPython/3.10.20 Linux/6.17.0-1010-azure

File hashes

Hashes for exasol_mcp_server-1.6.1.tar.gz
Algorithm Hash digest
SHA256 be798141507c3bb0a0c64dd9dd4477eddf8b042f1903f069f565b17b148e6221
MD5 93fe7ff1360045197ea0b99b50772e9c
BLAKE2b-256 d1b70cb0a8753dc645dada199b831debb736430f4f8ff8b9b42187b7b36719d5

See more details on using hashes here.

File details

Details for the file exasol_mcp_server-1.6.1-py3-none-any.whl.

File metadata

  • Download URL: exasol_mcp_server-1.6.1-py3-none-any.whl
  • Upload date:
  • Size: 70.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.0 CPython/3.10.20 Linux/6.17.0-1010-azure

File hashes

Hashes for exasol_mcp_server-1.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 87be861d9fb3bd7f61a2af7b01c7f9d5483cfebdb9326224b04472065e25cac1
MD5 c7a327878d2d8a737058ae4c436b413c
BLAKE2b-256 9f0fec49dd4bb2a84b5997a843f9abc6cab340ab85e915d82ccf5f09025aafe2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page