Skip to main content
Glama

MCP Vertica

by nolleh

MCP Vertica

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.

Example: MCP Server Setting

Create or edit the file your mcp client config file with the following content:

UVX
{ "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" ] } } }
Docker
{ "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.

Features

Database Connection Management

  • Connection pooling with configurable limits
  • SSL/TLS support
  • Automatic connection cleanup
  • Connection timeout handling

Query Operations

  • Execute SQL queries
  • Stream large query results in batches
  • Copy data operations
  • Transaction management

Schema Management

  • Table structure inspection
  • Index management
  • View management
  • Constraint information
  • Column details

Security Features

  • Operation-level permissions (INSERT, UPDATE, DELETE, DDL)
  • Schema-specific permissions
  • SSL/TLS support
  • Password masking in logs

Tools

Database Operations

  1. execute_query
    • Execute SQL queries
    • Support for all SQL operations
  2. stream_query
    • Stream large query results in batches
    • Configurable batch size
  3. copy_data
    • Bulk data loading using COPY command
    • Efficient for large datasets

Schema Management

  1. get_table_structure
    • Get detailed table structure
    • Column information
    • Constraints
  2. list_indexes
    • List all indexes for a table
    • Index type and uniqueness
    • Column information
  3. list_views
    • List all views in a schema
    • View definitions

Configuration

Environment Variables

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

Operation Permissions

ALLOW_INSERT_OPERATION=false ALLOW_UPDATE_OPERATION=false ALLOW_DELETE_OPERATION=false ALLOW_DDL_OPERATION=false

Schema Permissions

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

Installation

Installing via Smithery

To install Vertica Database Connector for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @nolleh/mcp-vertica --client claude

Installing Manually

Open your favorite mcp client's config file, then configure with uvx mcp-vertica

Example: Mcp Server Setting

Development

Appendix: For Testing, VerticaDB Docker Compose Example
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

License

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

Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Vertica 데이터베이스에 대한 SQL 쿼리 실행 및 데이터베이스 관리 기능을 제공하는 모델-컨텍스트-프로토콜 서버로, 연결 풀링, 스키마 관리, 보안 제어 기능을 제공합니다.

  1. 예: MCP 서버 설정
    1. 특징
      1. 데이터베이스 연결 관리
      2. 쿼리 작업
      3. 스키마 관리
      4. 보안 기능
    2. 도구
      1. 데이터베이스 작업
      2. 스키마 관리
    3. 구성
      1. 환경 변수
      2. 작업 권한
      3. 스키마 권한
    4. 설치
      1. 특허
        1. Docker 환경에서 실행
          1. 1. 직접 매개변수로 실행
          2. 2. 환경 변수로 실행
          3. 테스트를 위해 VerticaDB Docker Compose 예제

        Related MCP Servers

        • -
          security
          F
          license
          -
          quality
          A Model Context Protocol server that enables SQL query execution, database management, and business intelligence capabilities through MySQL connections.
          Last updated -
          JavaScript
        • -
          security
          F
          license
          -
          quality
          A Model Context Protocol server that enables SQL operations (SELECT, INSERT, UPDATE, DELETE) and table management through a standardized interface with SQLite databases.
          Last updated -
          41
          JavaScript
        • A
          security
          A
          license
          A
          quality
          A Model Context Protocol server that enables executing SQL queries and managing connections with Microsoft SQL Server databases.
          Last updated -
          1
          54
          5
          TypeScript
          MIT License
        • -
          security
          F
          license
          -
          quality
          A Model Context Protocol server that provides comprehensive access to Microsoft SQL Server databases, enabling Language Models to inspect schemas, execute queries, manage database objects, and perform advanced database operations.
          Last updated -
          6
          Python

        View all related MCP servers

        MCP directory API

        We provide all the information about MCP servers via our MCP API.

        curl -X GET 'https://glama.ai/api/mcp/v1/servers/nolleh/mcp-vertica'

        If you have feedback or need assistance with the MCP directory API, please join our Discord server