cosmos-db-mcp-server-by-cdata

cosmos-db-mcp-server-by-cdata

0

This project creates a read-only Model Context Protocol (MCP) Server for Cosmos DB, allowing large language models to query live data using natural language. It uses the CData JDBC Driver to expose Cosmos DB as relational SQL models, enabling seamless interaction without the need for SQL queries.

CData's MCP Server for Cosmos DB

Overview

  • Read-Only MCP Server: Designed to allow large language models (LLMs) to query live data from Cosmos DB.
  • JDBC Driver: Establishes a connection via CData JDBC Driver for Cosmos DB, exposing it as relational SQL models.
  • Natural Language Queries: Enables LLMs to retrieve information without the need for SQL.

Setup Guide

  1. Clone the repository.
  2. Build the server using Maven.
  3. Install and license the JDBC driver.
  4. Configure your JDBC connection.

Features

  • Allows LLMs to interface with Cosmos DB data.
  • Provides a series of tools for table and column retrieval and SQL query execution.

Troubleshooting

  • Complete quitting and relaunching of your client may be necessary for server visibility.
  • Ensure proper configuration of connections and consult CData Support for assistance.

License

The project is licensed under the MIT License.