Back to Home
KxSystems icon

kdb-x-mcp-server

Verified Safe

by KxSystems

Overview

Enables natural language interaction and AI-powered querying of KDB-X and KDB+ databases through the Model Context Protocol (MCP).

Installation

Run Command
uv run mcp-server

Environment Variables

  • KDBX_DB_HOST
  • KDBX_DB_PORT
  • KDBX_DB_USERNAME
  • KDBX_DB_PASSWORD
  • KDBX_DB_TLS
  • KDBX_DB_TIMEOUT
  • KDBX_DB_RETRY
  • KDBX_DB_EMBEDDING_CSV_PATH
  • KDBX_DB_METRIC
  • KDBX_DB_K
  • KDBX_MCP_SERVER_NAME
  • KDBX_MCP_LOG_LEVEL
  • KDBX_MCP_TRANSPORT
  • KDBX_MCP_PORT
  • KDBX_MCP_HOST
  • OPENAI_API_KEY
  • QLIC
  • KX_SSL_CA_CERT_FILE
  • KX_SSL_VERIFY_SERVER

Security Notes

The server includes explicit guardrails to prevent dangerous SQL operations (e.g., INSERT, DROP) by filtering queries for keywords. Passwords for database connections are handled as SecretStr. Dynamic module loading for tools, prompts, and resources is used for extensibility, requiring careful management of the server's filesystem content. The `streamable-http` network transport is recommended not to be exposed externally, and TLS is configurable for KDB-X database connections.

Similar Servers

Stats

Interest Score38
Security Score8
Cost ClassHigh
Avg Tokens5000
Stars11
Forks4
Last Update2026-01-19

Tags

KDB-XMCPAIDatabase InteractionNatural Language