vertica-mcp

zaboura/vertica-mcp

3.3

If you are the rightful owner of vertica-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The Vertica MCP Server is a robust implementation of the Model Context Protocol, transforming Vertica Analytics Database into an AI-accessible platform.

Tools
5
Resources
0
Prompts
0

Vertica MCP Server

Vertica MCP Banner

Transform your Vertica Analytics Database into an AI-powered intelligence layer

PyPI version

Python Version Vertica Version Docker

License Downloads Code style: black

Quick Start • Documentation • Features • Contributing • Community


Why Vertica MCP?

The Vertica MCP Server is a production-ready implementation of the Model Context Protocol that transforms your Vertica Analytics Database into an intelligent, AI-accessible data platform. Built with enterprise security and performance in mind, it enables AI assistants like Claude, ChatGPT, and Cursor to directly query, analyze, and optimize your Vertica databases through natural language.

What is MCP?

The Model Context Protocol (MCP) is an open standard developed by Anthropic that provides a universal way for AI assistants to connect with external tools and data sources. Think of it as "USB-C for AI" - a standardized interface that allows any MCP-compatible AI to interact with your systems without custom integrations.

Key Benefits

  • Universal AI Connectivity: Connect any MCP-compatible AI to your Vertica database without custom integrations
  • Enterprise Security: Fine-grained permissions at schema and operation levels with SSL/TLS support
  • High Performance: Connection pooling, query streaming, and automatic pagination for handling massive datasets
  • AI-Optimized: Built-in prompts and tools specifically designed for database analysis and optimization
  • Multiple Transports: Support for STDIO, HTTP, and SSE to fit any deployment scenario
  • Production Ready: Battle-tested with comprehensive error handling, logging, and monitoring

Prerequisites

  • Python 3.11 or higher
  • Vertica Database (accessible instance)
  • uv (Python package manager) - Installation guide
  • Docker (optional, for containerized deployment)
  • Claude Desktop or another MCP-compatible client

Quick Start

Method 1: Local Installation (Development Environment)

This method is recommended when you want to modify the code or work with the development version.

# 1. Clone the repository
git clone https://github.com/zaboura/vertica-mcp.git
cd vertica-mcp

# 2. Install uv (if not already installed)
curl -LsSf https://astral.sh/uv/install.sh | sh

# 3. Setup environment and install dependencies
uv sync
source .venv/bin/activate

# 4. Install in development mode
uv pip install -e .

# 5. Configure database connection
cp .env.example .env
# Edit .env with your Vertica credentials

# 6. Run the server
vertica-mcp --transport http --port 8000 --bind-host 0.0.0.0  # HTTP for remote access

Method 2: PyPI Installation (Production Environment)

This method is recommended for production deployments and when you want to use the stable release.

# 1. Install from PyPI
pip install vertica-mcp

# 2. Initialize configuration
vertica-mcp --init

# 3. Edit configuration with your credentials
nano .env  # or use your preferred editor
# Update VERTICA_HOST, VERTICA_USER, VERTICA_PASSWORD, etc.

# 4. Test the installation
vertica-mcp --transport http --port 8000  # For HTTP access
Configuration File

After running vertica-mcp --init, edit the generated .env file with your specific settings:

# Required Database Connection
VERTICA_HOST=your_vertica_host
VERTICA_PORT=5433
VERTICA_DATABASE=your_database
VERTICA_USER=your_username
VERTICA_PASSWORD=your_password

# Connection Pool Configuration
VERTICA_CONNECTION_LIMIT=10
VERTICA_LAZY_INIT=1

# SSL Configuration (optional but recommended for production)
VERTICA_SSL=false
VERTICA_SSL_REJECT_UNAUTHORIZED=true

# Performance and Resource Management
VERTICA_QUERY_TIMEOUT=600  # Query timeout in seconds
VERTICA_MAX_RETRIES=3      # Max retry attempts
VERTICA_RETRY_DELAY=0.1    # Base delay for retries
VERTICA_CACHE_TTL=300      # Cache TTL in seconds
VERTICA_MAX_RESULT_MB=100  # Max result size in MB
VERTICA_RATE_LIMIT=60      # Requests per minute
VERTICA_HEALTH_CHECK_INTERVAL=60  # Health check interval

# Security Permissions (defaults to read-only for safety)
ALLOW_INSERT_OPERATION=false
ALLOW_UPDATE_OPERATION=false
ALLOW_DELETE_OPERATION=false
ALLOW_DDL_OPERATION=false

# Schema-specific Permissions (optional for granular control)
SCHEMA_INSERT_PERMISSIONS=staging:true,production:false
SCHEMA_UPDATE_PERMISSIONS=staging:true,production:false
SCHEMA_DELETE_PERMISSIONS=staging:false,production:false
SCHEMA_DDL_PERMISSIONS=staging:false,production:false
Testing with MCP Inspector

The MCP Inspector is a valuable tool for testing and debugging your server configuration:

# 1. Install MCP Inspector
npm install -g @modelcontextprotocol/inspector

# 2. Start your server in one terminal
vertica-mcp --transport http --port 8000

# 3. Test with inspector in another terminal
mcp-inspector http://localhost:8000/mcp

The inspector will open at http://localhost:6274 where you can:

  • View available database tools and their schemas
  • Test tool execution interactively with real data
  • Validate MCP protocol compliance
  • Debug connection issues and error responses

For STDIO testing (not recommended due to command complexity), use HTTP transport which provides identical functionality validation with better debugging capabilities.

Method 3: Docker Deployment

Docker deployment is ideal for containerized environments and consistent deployments across different systems.

Build Docker Image
# Build from Dockerfile
docker build -t vertica-mcp:latest .

# Or use docker-compose for easier management
docker-compose build
Run with Docker Compose
# STDIO transport (for direct MCP client connection)
docker-compose up mcp-stdio

# HTTP transport (for web-based access)
docker-compose up mcp-http

# SSE transport (for real-time streaming)
docker-compose up mcp-sse
Manual Docker Run
# HTTP transport with port mapping
docker run -d \
  --name vertica-mcp-http \
  -p 8000:8000 \
  --env-file .env \
  -e TRANSPORT=http \
  -e BIND=0.0.0.0 \
  -e PORT=8000 \
  -e HTTP_PATH=/mcp \
  vertica-mcp:latest

# STDIO transport (direct MCP client connection)
docker run -i --rm \
  --name vertica-mcp-stdio \
  --env-file .env \
  vertica-mcp:latest

Features

Core Tools

Query Execution
  • run_query_safely - Smart query execution with large result detection and automatic warnings
  • execute_query_paginated - Efficient pagination for large datasets with configurable page sizes
  • execute_query_stream - Real-time streaming for massive results with memory-efficient processing
Schema Management
  • get_database_schemas - Explore database organization and available schemas
  • get_schema_tables - List tables with metadata including row counts and storage information
  • get_table_structure - Detailed column information, data types, constraints, and indexes
  • get_table_projections - Vertica-specific projection analysis and optimization recommendations
  • get_schema_views - List all views in a schema with their definitions
Performance Analysis
  • profile_query - Query execution plans, performance metrics, and optimization suggestions
  • analyze_system_performance - Real-time resource monitoring and system health metrics
  • database_status - Comprehensive health metrics including storage usage and connection statistics
AI-Powered Prompts
  • SQL Safety Guard - Prevents accidental large queries and suggests safer alternatives
  • Performance Analyzer - Deep query optimization analysis with specific recommendations
  • SQL Assistant - Intelligent query generation based on natural language descriptions
  • Health Dashboard - Visual database insights with key performance indicators
  • System Monitor - Real-time performance tracking with alerting capabilities

Security Features

  • Multi-Level Permissions: Global and schema-specific access controls with fine-grained operation restrictions
  • SSL/TLS Encryption: Secure database connections with certificate validation
  • Connection Pooling: Efficient resource management with configurable limits and automatic cleanup
  • Read-Only Mode: Default safe configuration for production environments
  • OAuth Support: Enterprise authentication integration for remote deployments

Documentation

Configuration

Environment Variables (.env)
# Database Connection (Required)
VERTICA_HOST=your_vertica_host
VERTICA_PORT=5433
VERTICA_DATABASE=your_database
VERTICA_USER=your_username
VERTICA_PASSWORD=your_password

# Connection Pool Configuration (Optional)
VERTICA_CONNECTION_LIMIT=10
VERTICA_LAZY_INIT=1  # Delay connection until first use

# SSL Configuration (Optional but recommended for production)
VERTICA_SSL=false
VERTICA_SSL_REJECT_UNAUTHORIZED=true

# Security Permissions (Optional - defaults to read-only for safety)
ALLOW_INSERT_OPERATION=false
ALLOW_UPDATE_OPERATION=false
ALLOW_DELETE_OPERATION=false
ALLOW_DDL_OPERATION=false

# Schema-specific Permissions (Optional for granular control)
SCHEMA_INSERT_PERMISSIONS=staging:true,production:false
SCHEMA_UPDATE_PERMISSIONS=staging:true,production:false
SCHEMA_DELETE_PERMISSIONS=staging:false,production:false
SCHEMA_DDL_PERMISSIONS=staging:false,production:false

Client Integration

Claude Desktop Configuration

Claude Desktop (STDIO) — Installed Package in a Virtual Environment [Recommended]

This is the best practice approach using a dedicated Python virtual environment and the installed package for maximum stability and isolation.

To install the package and create/configure your .env, follow Method 2: PyPI Installation above.

  1. Locate the Claude configuration file

    • Windows: %APPDATA%/Claude/claude_desktop_config.json
    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  2. Configure Claude to use your virtual environment executable and configuration

    • Replace the command path with your virtual environment path
    • Keep --transport stdio and --env-file with absolute path for reliability

Windows Configuration Example

{
  "mcpServers": {
    "vertica-mcp-stdio": {
      "command": "C:\\path-to-venv\\Scripts\\vertica-mcp.exe",
      "args": ["--transport", "stdio", "--env-file", "C:\\path\\to\\.env"]
    }
  }
}

macOS/Linux Configuration Example

{
  "mcpServers": {
    "vertica-mcp-stdio": {
      "command": "/Users/you/.venvs/vertica-mcp/bin/vertica-mcp",
      "args": ["--transport", "stdio", "--env-file", "/absolute/path/to/.env"]
    }
  }
}

Verification Test (outside Claude)

Test your configuration before integrating with Claude:

# Windows
C:\venv\vertica-mcp\Scripts\vertica-mcp.exe --transport stdio --env-file C:\path\to\.env -vvv

# macOS/Linux
~/.venv/vertica-mcp/bin/vertica-mcp --transport stdio --env-file /absolute/path/to/.env -vvv

Important Configuration Notes

  • --transport stdio runs the server over STDIO (no network ports required)
  • --env-file ensures your credentials load correctly even if Claude's working directory differs
  • Use absolute paths to avoid path resolution issues
  1. Development Alternative: From Source (uv)

This option is suitable for development when you want to work with the source code directly:

{
  "mcpServers": {
    "vertica-mcp-stdio": {
      "command": "uv",
      "args": ["run", "vertica-mcp"],
      "cwd": "/path/to/vertica-mcp",
      "env": {
        "VERTICA_HOST": "your_host",
        "VERTICA_PORT": "5433",
        "VERTICA_DATABASE": "your_database",
        "VERTICA_USER": "your_username",
        "VERTICA_PASSWORD": "your_password"
      }
    }
  }
}
  1. Docker Configuration Options

Option A — Docker Compose (recommended for containerized environments)

{
  "mcpServers": {
    "vertica-mcp-stdio": {
      "command": "docker",
      "args": ["compose", 
               "-f", 
               "/path/to/vertica-mcp/docker-compose.yml", 
               "run", 
               "--rm", 
               "-T", 
               "mcp-stdio"]
    }
  }
}

Option B — Direct docker run command

{
  "mcpServers": {
    "vertica-mcp-stdio": {
      "command": "docker",
      "args": ["run", 
               "-i", 
               "--rm", 
               "--env-file", 
               "/path/to/vertica-mcp/.env", 
               "vertica-mcp:latest"]
    }
  }
}
  1. Remote Transport Configuration (HTTP/SSE) via mcp-remote

For remote deployments or when you prefer HTTP-based communication:

{
  "mcpServers": {
    "vertica-mcp-http": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "http://localhost:8000/mcp"]
    }
  }
}
{
  "mcpServers": {
       "vertica-mcp-sse": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "http://localhost:8000/sse"]
    }
  }
}

6. **Final Step: Restart Claude Desktop** 

After configuring, completely restart Claude Desktop and look for the (+) indicator which shows that the MCP server is connected and ready to use.

</details>

<details>
<summary><b>VS Code Integration</b></summary>

1. **Install GitHub Copilot Chat Extension**
   Ensure you have the latest version of the GitHub Copilot Chat extension installed in VS Code.

2. **Create MCP Configuration File**
   Create `.vscode/mcp.json` in your workspace root:

```json
{
  "servers": {
    "vertica-mcp": {
      "type": "http",
      "url": "http://localhost:8000/mcp"
    }
  }
}
  1. Enable MCP in VS Code Settings Add these settings to your VS Code configuration:
{
  "chat.mcp.enabled": true,
  "chat.mcp.discovery.enabled": true
}
Cursor IDE Integration
  1. Create MCP Configuration File Create mcp.json in your Cursor configuration directory:
    • Global Configuration: ~/.cursor/mcp.json (macOS/Linux) or %UserProfile%\.cursor\mcp.json (Windows)
    • Per Project Configuration: <project>/.cursor/mcp.json
{
  "mcpServers": {
    "vertica-mcp": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "http://localhost:8000/mcp"]
    }
  }
}
  1. Restart Cursor IDE Completely restart Cursor and check the Available Tools section to verify the integration is working.

CLI Reference

vertica-mcp [OPTIONS]
OptionDescriptionDefault
-v, --verboseIncrease verbosity level (-v, -vv, -vvv)ERROR
--env-file PATHPath to environment configuration file.env
--transport TYPETransport protocol (stdio, sse, http)stdio
--port INTPort for SSE/HTTP transport8000
--host HOSTVertica database hostfrom env
--bind-host HOSTHost to bind SSE/HTTP serverlocalhost
--db-port INTVertica database portfrom env
--database NAMEDatabase namefrom env
--user USERNAMEDatabase usernamefrom env
--password PASSDatabase passwordfrom env
--connection-limit INTMaximum connections in pool10
--sslEnable SSL for database connectionfalse
--ssl-reject-unauthorizedReject unauthorized SSL certificatestrue
--http-path PATHEndpoint path for HTTP transport/mcp
--http-jsonPrefer batch JSON responsesfalse
--http-statelessUse stateless HTTP sessionstrue

Usage Examples

Natural Language Queries

Basic Database Operations

"Show me all tables in the public schema"
"What's the structure of the customers table?"
"Get the last 100 orders from today"
"List all projections for the orders table"
"Get database status and health metrics"

Performance Analysis and Monitoring

"Profile this query and suggest optimizations"
"Show system performance for the last hour"
"Find tables with high ROS container counts"
"Analyze the performance of this query: SELECT * FROM sales.orders WHERE order_date > '2024-01-01'"
"Monitor system performance for the last 30 minutes"

Complex Analytics Queries

"Analyze sales trends by region and product"
"Find anomalies in transaction patterns"
"Generate a monthly revenue report"
"Execute this query safely: SELECT COUNT(*) FROM large_table"

Database Management Tasks

"Check database health and storage usage"
"Monitor resource pool utilization"
"Identify and fix slow queries"
"Show me the current resource pool utilization"

Transport Options

TransportUse CaseConfiguration
STDIOLocal Claude Desktop integrationDefault option, no network configuration required
HTTPRemote deployments and cloud environmentsRESTful API on custom port with JSON-RPC protocol
SSEReal-time streaming applicationsServer-sent events for live data updates

Testing & Validation

Quick Health Check

Verify your database connection and server configuration with this simple test:

# Test database connection
python -c "
import os
from dotenv import load_dotenv
load_dotenv()
from vertica_mcp.connection import VerticaConfig, VerticaConnectionManager

config = VerticaConfig.from_env()
manager = VerticaConnectionManager()
manager.initialize_default(config)
conn = manager.get_connection()
cursor = conn.cursor()
cursor.execute('SELECT version()')
print('Connected successfully to:', cursor.fetchone()[0])
manager.release_connection(conn)
"

MCP Inspector Testing

The MCP Inspector provides comprehensive testing and validation capabilities:

# Install MCP Inspector
npm install -g @modelcontextprotocol/inspector

# Test local STDIO server
npx @modelcontextprotocol/inspector vertica_mcp/server.py

# Test HTTP server
npx @modelcontextprotocol/inspector http://localhost:8000/mcp

MCP Inspector Configuration:

Set the Transport Type to match your server configuration:

  • STDIO Transport Testing

    • Command: uv
    • Arguments: run --with mcp --with starlette --with uvicorn --with pydantic --with vertica-python mcp run vertica_mcp/server.py
  • SSE Transport Testing

    • URL: http://localhost:8000/sse
  • HTTP Transport Testing

    • URL: http://localhost:8000/mcp

API Endpoint Validation

Test your HTTP server endpoints directly with curl commands:

# Test tools list endpoint
curl -s http://localhost:8000/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

# Test server initialization
curl -s http://localhost:8000/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"0.1.0","capabilities":{},"clientInfo":{"name":"test","version":"1.0.0"}}}'

Advanced Features

Performance Optimization

Query Profiling & Optimization

The server automatically profiles queries and provides comprehensive optimization recommendations:

Automatic Query Analysis:

  • Execution plan analysis with detailed step-by-step breakdown
  • Join strategy recommendations based on table statistics
  • Projection optimization suggestions for improved performance
  • ROS container health monitoring and segmentation analysis

Example Usage:

# Automatic query optimization with detailed feedback
"Profile and optimize: SELECT * FROM large_table JOIN dimension_table"
# Returns: Execution plan, identified bottlenecks, and CREATE PROJECTION statements

Key Features:

  • Real-time performance metrics during query execution
  • Historical performance comparison
  • Automatic detection of inefficient patterns
  • Specific recommendations for index creation and query rewriting

Enterprise Integration

Production Deployment Checklist

Ensure your production deployment meets enterprise standards:

Security Configuration:

  • Configure SSL/TLS for all database connections
  • Set appropriate connection pool limits based on workload
  • Enable read-only mode for production environments
  • Configure schema-specific permissions for different user roles
  • Implement proper authentication mechanisms

Monitoring and Maintenance:

  • Set up comprehensive monitoring and alerting systems
  • Implement rate limiting to prevent resource exhaustion
  • Configure log rotation and retention policies
  • Set up backup MCP servers for high availability
  • Establish disaster recovery procedures

Performance Optimization:

  • Tune connection pool parameters for your workload
  • Configure appropriate query timeouts
  • Set up caching strategies for frequently accessed data
  • Monitor and optimize resource usage patterns

Security Configuration

Permission Management Levels

The Vertica MCP Server implements a comprehensive three-tier permission system:

  1. Global Permissions: Control operations across all schemas and tables
  2. Schema-specific Permissions: Fine-grained control per individual schema
  3. Connection Security: SSL/TLS encryption and authentication options

Security Best Practices

Database Access Security:

  • Use read-only credentials for production deployments to minimize risk
  • Enable SSL/TLS encryption for all database connections
  • Implement least-privilege access with minimal required permissions
  • Use environment variables instead of hardcoded credentials

Network and Infrastructure Security:

  • Restrict network access using firewall rules and security groups
  • Monitor access logs for suspicious activity and unauthorized attempts
  • Implement connection rate limiting to prevent abuse
  • Regular security audits of configuration and access patterns

Operational Security:

  • Regular credential rotation following your organization's security policies
  • Audit trail maintenance for all database operations
  • Secure backup procedures for configuration and credentials
  • Incident response procedures for security events

Troubleshooting

Common Issues and Solutions

Database Connection Problems

Test Basic Connectivity:

# Test network connectivity to Vertica server
telnet your_vertica_host 5433

# Test database credentials and permissions
vsql -h your_host -U your_user -d your_database

Common Connection Issues:

  • Network connectivity: Verify firewall rules and network routing
  • Authentication failures: Check username, password, and database permissions
  • SSL configuration: Ensure SSL settings match server requirements
  • Connection pool exhaustion: Monitor and adjust connection limits
MCP Client Integration Issues

Troubleshooting Steps:

  1. Complete client restart: Fully restart the client application (Claude Desktop, VS Code, etc.)
  2. Configuration validation: Verify JSON syntax in all configuration files
  3. Server log analysis: Check server logs using -vvv verbose flag
  4. Isolation testing: Test with MCP Inspector before client integration

Common Configuration Problems:

  • Incorrect file paths in configuration
  • Missing environment variables
  • Port conflicts with other services
  • Permission issues with executable files
Docker Deployment Issues

Container Troubleshooting:

# Check container logs for errors
docker logs vertica-mcp

# Test container internal connectivity
docker exec -it vertica-mcp curl http://localhost:8000/mcp

# Verify environment variable loading
docker exec -it vertica-mcp env | grep VERTICA

Common Docker Issues:

  • Environment file not properly mounted
  • Port mapping conflicts
  • Network connectivity between containers
  • Volume mounting permission problems

Debug Mode and Logging

Enable Maximum Verbosity:

# Maximum verbosity for troubleshooting
vertica-mcp --transport http -vvv

# Log output to file for analysis
vertica-mcp --transport http -vv 2> debug.log

Log Analysis Tips:

  • Look for connection establishment messages
  • Check for permission denial errors
  • Monitor query execution timestamps
  • Identify resource exhaustion warnings

Project Structure

vertica-mcp/
ā”œā”€ā”€ vertica_mcp/                 # Python package source code
│   ā”œā”€ā”€ __init__.py             # Package initialization
│   ā”œā”€ā”€ cli.py                  # Command-line interface implementation
│   ā”œā”€ā”€ server.py               # Main MCP server implementation
│   ā”œā”€ā”€ connection.py           # Database connection management
│   └── utils.py                # Utility functions and helpers
│
ā”œā”€ā”€ pyproject.toml               # Build configuration and metadata (PEP 621)
ā”œā”€ā”€ README.md                    # Project documentation
ā”œā”€ā”€ CHANGELOG.md                 # Release notes and version history
ā”œā”€ā”€ LICENSE                      # Apache 2.0 license
ā”œā”€ā”€ .gitignore                   # Git ignore rules
ā”œā”€ā”€ .dockerignore                # Docker ignore rules
ā”œā”€ā”€ .env.example                 # Sample environment file (do NOT commit .env)
│
ā”œā”€ā”€ docker-compose.yml           # Docker Compose configuration
ā”œā”€ā”€ docker-entrypoint.sh         # Docker container entry script
└── dockerfile                   # Docker image definition

Contributing

We welcome and encourage contributions from the community! Please see our for detailed information on how to get involved.

Development Environment Setup

Set up your local development environment with these steps:

# Clone and setup development environment
git clone https://github.com/zaboura/vertica-mcp.git
cd vertica-mcp
uv sync

# Install development dependencies including testing and linting tools
uv pip install -e ".[dev]"

# Run comprehensive test suite
pytest tests/

# Code formatting and style checks
black vertica_mcp/
isort vertica_mcp/

# Type checking and static analysis
mypy vertica_mcp/

Adding New Tools and Features

When implementing new tools, follow these guidelines:

  1. Tool Function Implementation: Add tool functions in server.py with proper @mcp.tool() decorator and comprehensive docstrings
  2. Permission Management: Implement appropriate permission checks using the connection manager
  3. Error Handling: Add comprehensive error handling with informative error messages and proper logging
  4. Testing: Write unit tests and integration tests for new functionality
  5. Documentation: Update documentation including README, docstrings, and usage examples

Contribution Guidelines

Getting Started with Contributions:

  1. Fork the repository and create your feature branch from main
  2. Create a feature branch with a descriptive name: git checkout -b feature/AmazingFeature
  3. Make your changes following the existing code style and conventions
  4. Add tests for any new functionality to ensure reliability
  5. Update documentation as needed for new features or changes
  6. Commit your changes with clear, descriptive messages: git commit -m 'Add some AmazingFeature'
  7. Push to your branch: git push origin feature/AmazingFeature
  8. Open a Pull Request with a detailed description of your changes

Code Quality Standards:

  • Follow existing code style and formatting conventions
  • Include comprehensive type hints for all functions
  • Write clear, descriptive commit messages
  • Ensure all tests pass before submitting pull requests
  • Update documentation for any user-facing changes

Community & Support

Getting Help and Support

Community Guidelines

When seeking help or contributing:

  • Search existing issues and discussions before creating new ones
  • Provide detailed information about your environment and configuration
  • Include relevant error messages and log outputs
  • Be respectful and constructive in all interactions
  • Help others when you can share your knowledge and experience

Resources

Official Documentation and References

Learning Resources

Understanding MCP:

  • Model Context Protocol introduction and concepts
  • Best practices for MCP server development
  • Security considerations for AI integrations

Vertica Integration:

  • Database optimization techniques
  • Performance tuning for analytics workloads
  • Advanced query optimization strategies

AI and Database Integration:

  • Natural language to SQL conversion techniques
  • Database security in AI applications
  • Performance monitoring for AI-driven queries

Changelog

Version 0.1.0 (2025-08-20) - Initial Release

Core Features Implemented:

  • 11 comprehensive database tools for complete database interaction
  • 5 AI-optimized prompts for enhanced user experience
  • Support for STDIO, HTTP, and SSE transport protocols
  • Docker support with complete compose configurations
  • Enterprise-grade security features and permission management

Key Capabilities:

  • Full schema exploration and metadata access
  • Query execution with safety guards and optimization
  • Real-time performance monitoring and analysis
  • Comprehensive error handling and logging
  • Production-ready deployment options

Technical Achievements:

  • Connection pooling for optimal resource management
  • Automatic query optimization and suggestion engine
  • Multi-transport support for flexible deployment scenarios
  • Comprehensive testing suite and validation tools

For complete version history and detailed changes, see


License

This project is licensed under the Apache License 2.0 - see the file for complete terms and conditions.

License Summary:

  • Commercial and non-commercial use permitted
  • Modification and distribution allowed
  • Patent protection included
  • Warranty and liability disclaimers apply

Acknowledgments

This project builds upon mcp-vertica
by @nolleh.

While the original implementation provided a foundation for Vertica MCP support,
this fork introduces significant enhancements, including:

  • Caching layers and query result reuse
  • Rate limiting and throttling control
  • Improved error handling and retry logic
  • More advanced parsing and schema extraction
  • Connection pooling optimizations and performance tuning
  • New tooling and prompt injections tailored to Vertica workflows

I’m grateful to the original author for the groundwork.
If you use or adapt my enhancements, please credit both the original and this extension.

Project Recognition

Core Technologies:

  • Anthropic for creating and maintaining the Model Context Protocol standard
  • Vertica for providing the powerful analytics platform that makes this integration possible
  • FastMCP for the excellent framework that simplified server development

Built with dedication for the AI and Database community