by nolleh
Provides a Model Context Protocol (MCP) server for interacting with Vertica databases, enabling query execution, streaming, bulk loading, and schema management.
Mcp Vertica offers an MCP server that connects to Vertica databases, handling connection pooling, SSL/TLS, and permission controls while exposing tools for query execution, data streaming, bulk copy, and schema inspection.
npx -y @nolleh/mcp-vertica
uvx
config) with the required environment variables such as VERTICA_HOST
, VERTICA_PORT
, VERTICA_DATABASE
, VERTICA_USER
, and VERTICA_PASSWORD
.uvx mcp-vertica
or Docker) and connect your client.COPY
commandQ: Which command should I use to start the server?
A: The preferred method is npx -y @nolleh/mcp-vertica
. Alternatively, you can run the pre‑built Docker image nolleh/mcp-vertica
.
Q: How do I enable SSL?
A: Set VERTICA_SSL=true
and optionally VERTICA_SSL_REJECT_UNAUTHORIZED=true
in the environment variables.
Q: Can I limit the number of concurrent connections?
A: Yes, adjust VERTICA_CONNECTION_LIMIT
to the desired maximum.
Q: How are operation permissions controlled?
A: Use environment variables like ALLOW_INSERT_OPERATION
, ALLOW_UPDATE_OPERATION
, ALLOW_DELETE_OPERATION
, and ALLOW_DDL_OPERATION
(true/false). Schema‑specific permissions can be set with variables such as SCHEMA_INSERT_PERMISSIONS
.
Q: What should I do if the server fails to connect?
A: Run uv cache clean
to clear cached binaries and retry the connection.
A Vertica MCP(model-context-protocol) Server
[!IMPORTANT] If you have troubles to connect this mcp server, try to run
uv cache clean
, and then retry.
Create or edit the file your mcp client config file with the following content:
{
"mcpServers": {
"vertica": {
"command": "uvx",
"args": ["mcp-vertica"],
"env": {
"VERTICA_HOST": "localhost",
"VERTICA_PORT": 5433,
"VERTICA_DATABASE": "VMart",
"VERTICA_USER": "dbadmin",
"VERTICA_PASSWORD": "test_password",
"VERTICA_CONNECTION_LIMIT": 10,
"VERTICA_SSL": false,
"VERTICA_SSL_REJECT_UNAUTHORIZED": true
}
}
}
}
Or with args
{
"mcpServers": {
"vertica": {
"command": "uvx",
"args": [
"mcp-vertica",
"--host=localhost",
"--db-port=5433",
"--database=VMart",
"--user=dbadmin",
"--password=test_password",
"--connection-limit=10"
]
}
}
}
{
"mcpServers": {
"vertica": {
"command": "docker",
"args": ["run", "-i", "--rm", "nolleh/mcp-vertica"],
"env": {
"VERTICA_HOST": "localhost",
"VERTICA_PORT": 5433,
"VERTICA_DATABASE": "VMart",
"VERTICA_USER": "dbadmin",
"VERTICA_PASSWORD": "test_password",
"VERTICA_CONNECTION_LIMIT": 10,
"VERTICA_SSL": false,
"VERTICA_SSL_REJECT_UNAUTHORIZED": true
}
}
}
}
[!Note]
- For boolean flags like
--ssl
or--ssl-reject-unauthorized
, simply add the flag (e.g.,"--ssl"
) to enable it, or omit it to disable.- For an empty password, use an empty string as shown above.
execute_query
stream_query
copy_data
get_table_structure
list_indexes
list_views
VERTICA_HOST=localhost
VERTICA_PORT=5433
VERTICA_DATABASE=VMart
VERTICA_USER=newdbadmin
VERTICA_PASSWORD=vertica
VERTICA_CONNECTION_LIMIT=10
VERTICA_SSL=false
VERTICA_SSL_REJECT_UNAUTHORIZED=true
ALLOW_INSERT_OPERATION=false
ALLOW_UPDATE_OPERATION=false
ALLOW_DELETE_OPERATION=false
ALLOW_DDL_OPERATION=false
SCHEMA_INSERT_PERMISSIONS=schema1:true,schema2:false
SCHEMA_UPDATE_PERMISSIONS=schema1:true,schema2:false
SCHEMA_DELETE_PERMISSIONS=schema1:true,schema2:false
SCHEMA_DDL_PERMISSIONS=schema1:true,schema2:false
To install Vertica Database Connector for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @nolleh/mcp-vertica --client claude
Open your favorite mcp client's config file, then configure with uvx mcp-vertica
version: "3.8"
services:
vertica:
# image: vertica/vertica-ce:11.1.0-0
image: vertica/vertica-ce:latest
platform: linux/amd64
container_name: vertica-ce
environment:
VERTICA_MEMDEBUG: 2
ports:
- "5433:5433"
- "5444:5444"
volumes:
- vertica_data:/home/dbadmin/VMart
healthcheck:
test:
[
"CMD",
"/opt/vertica/bin/vsql",
"-h",
"localhost",
"-d",
"VMart",
"-U",
"dbadmin",
"-c",
"SELECT 1",
]
interval: 10s
timeout: 5s
retries: 5
start_period: 30s
restart: unless-stopped
volumes:
vertica_data:
driver: local
Then run server by following instruction Example: Mcp Server Setting, Then see everything works as fine
This project is licensed under the MIT License - see the LICENSE file for details.
Please log in to share your review and rating for this MCP.
{ "mcpServers": { "vertica": { "command": "npx", "args": [ "-y", "@nolleh/mcp-vertica" ], "env": { "VERTICA_HOST": "localhost", "VERTICA_PORT": "5433", "VERTICA_DATABASE": "VMart", "VERTICA_USER": "dbadmin", "VERTICA_PASSWORD": "test_password", "VERTICA_CONNECTION_LIMIT": "10", "VERTICA_SSL": "false", "VERTICA_SSL_REJECT_UNAUTHORIZED": "true", "ALLOW_INSERT_OPERATION": "false", "ALLOW_UPDATE_OPERATION": "false", "ALLOW_DELETE_OPERATION": "false", "ALLOW_DDL_OPERATION": "false", "SCHEMA_INSERT_PERMISSIONS": "schema1:true,schema2:false", "SCHEMA_UPDATE_PERMISSIONS": "schema1:true,schema2:false", "SCHEMA_DELETE_PERMISSIONS": "schema1:true,schema2:false", "SCHEMA_DDL_PERMISSIONS": "schema1:true,schema2:false" } } } }
Explore related MCPs that share similar capabilities and solve comparable challenges
by googleapis
An MCP server that streamlines database tool development by handling connection pooling, authentication, observability, and secure access, allowing agents to interact with databases via natural language.
by bytebase
Provides a universal gateway that lets MCP‑compatible clients explore and query MySQL, PostgreSQL, SQL Server, MariaDB, and SQLite databases through a single standardized interface.
by designcomputer
Enables secure interaction with MySQL databases via the Model Context Protocol, allowing AI applications to list tables, read contents, and execute queries safely.
by benborla
Provides read‑only access to MySQL databases for large language models, allowing schema inspection and safe execution of SQL queries.
by ClickHouse
Enables AI assistants to run read‑only ClickHouse queries, list databases and tables, and execute embedded chDB queries through an MCP interface.
by chroma-core
Offers an MCP server exposing Chroma's vector database capabilities for LLM applications, supporting collection and document management, multiple embedding functions, and flexible client types such as in‑memory, persistent, HTTP, and cloud.
by kiliczsh
Enables LLMs to interact with MongoDB databases via a standardized interface, offering schema inspection, query execution, aggregation, and write capabilities, with optional read‑only mode and smart ObjectId handling.
by domdomegg
Provides read and write access to Airtable bases for AI systems, enabling inspection of schemas and manipulation of records.
by XGenerationLab
A Model Context Protocol (MCP) server that enables natural language queries to databases