关于 Exasol
Exasol MCP Server 将 LLM 客户端连接到 Exasol 数据库,提供元数据发现和只读查询执行能力,便于探索数据库。
主要功能
- 01收集数据库元数据
- 02列出模式、表、视图、函数和 UDF 脚本
- 03筛选并描述数据库对象
- 04按关键词搜索对象
- 05执行 SQL 查询
适用场景
- 01检查数据库模式和对象定义
- 02按关键词查找数据库对象
- 03通过 LLM 客户端执行只读查询
MCP 相关
它向 MCP 客户端提供 Exasol 元数据发现、对象搜索与描述及 SQL 查询执行工具。可在本地运行,也可作为远程 HTTP 服务运行。
配置
本地服务的配置在各客户端中通用,复制后粘贴到客户端的 MCP 配置文件即可。
暂未收录安装方式
我们还没有获取到这个服务的安装包或远程地址,请按项目 README 中的说明安装。
工具
还没有获取到工具列表
本地服务需要在你的电脑上运行后才能读取工具,维护者暂未提供工具列表。
README 原文English
来自项目 READMEREADME 暂无中文译文,以下为英文原文;中文介绍见上方。
Exasol MCP Server
=================
Provides an LLM access to the Exasol database via MCP tools. Includes the
tools for reading the database metadata and executing data reading queries.
.. image:: https://img.shields.io/pypi/l/exasol-mcp-server
:target: https://opensource.org/licenses/MIT
:alt: License
.. image:: https://img.shields.io/pypi/dm/exasol-mcp-server
:target: https://pypi.org/project/exasol-mcp-server/
:alt: Downloads
.. image:: https://img.shields.io/pypi/pyversions/exasol-mcp-server
:target: https://pypi.org/project/exasol-mcp-server/
:alt: Supported Python Versions
.. image:: https://img.shields.io/pypi/v/exasol-mcp-server
:target: https://pypi.org/project/exasol-mcp-server/
:alt: 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 <https://exasol.github.io/mcp-server/main/user_guide/tool_list.html>`_ section of the user guide.
🔌️ Prerequisites
-----------------
* `Python <https://www.python.org/>`__ >= 3.11
* MCP Client application, e.g. `Claude Desktop <https://claude.ai/download>`__
💾 Installation
---------------
Ensure the *uv* package is installed. If uncertain call
.. code-block:: shell
uv --version
To install *uv* on macOS please use *brew*, i.e.
.. code-block:: shell
brew install uv
For other operating systems, please follow `the instructions <https://docs.astral.sh/uv/getting-started/installation/>`__
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.
.. code-block:: json
{
"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:
.. code-block:: shell
uv tool install exasol-mcp-server@latest
For further details on installing and upgrading the server using *uv* see the
`uv Tools <https://docs.astral.sh/uv/concepts/tools/>`__ documentation.
If the server is installed, the Claude configuration file should look like this:
.. code-block:: json
{
"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:
.. code-block:: shell
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 <https://gofastmcp.com/deployment/http>`__ in the FastMCP documentation.
Here is an example code creating the Exasol MCP server from a wrapper.
.. code-block:: python
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 <https://exasol.github.io/mcp-server/main/user_guide/server_setup.html>`_
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 <https://exasol.github.io/mcp-server/>`_.评论
支持 Markdown
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。