MCP ExplorerExplorer

Atlas Datahub Mcp

@Cognitive-Stackon 10 months ago
1 MIT
FreeCommunity
AI Systems
Atlas DataHub MCP enables seamless AI interactions with data sources via MCP clients.

Overview

What is Atlas Datahub Mcp

Atlas DataHub MCP is a server designed to facilitate seamless interaction between AI systems and various data sources, specifically Azure Cosmos DB, using the Model Context Protocol (MCP). It supports multiple MCP clients, including Cline, Cursor, and Claude Desktop.

Use cases

Use cases for Atlas DataHub MCP include building AI applications that require real-time data access, managing structured metadata for AI models, and developing tools that facilitate two-way communication between AI systems and databases.

How to use

To use Atlas DataHub MCP, you can run it using NPX with the command ‘npx -y atlas-datahub-mcp@latest’ or install it via Smithery for Claude Desktop. Configuration for MCP clients like Cline can be done through the marketplace or manually by editing the MCP settings file.

Key features

Key features of Atlas DataHub MCP include seamless interaction with Azure Cosmos DB, efficient record querying and management, type-safe operations with TypeScript, and support for structured metadata and agent context states.

Where to use

Atlas DataHub MCP is primarily used in fields that require integration of AI systems with data sources, such as data analytics, AI development, and application development that leverages Azure Cosmos DB.

Content

Atlas DataHub MCP Server 🚀

🔌 Compatible with Cline, Cursor, Claude Desktop, and any other MCP Clients!

Atlas DataHub MCP is also compatible with any MCP client

The Model Context Protocol (MCP) is an open standard that enables AI systems to interact seamlessly with various data sources and tools, facilitating secure, two-way connections.

The Atlas DataHub MCP server provides:

  • Seamless interaction with Azure Cosmos DB
  • Efficient record querying and management
  • Type-safe operations with TypeScript
  • Support for structured metadata and agent context states

Prerequisites 🔧

Before you begin, ensure you have:

  • Azure Cosmos DB Account and Connection String
  • Claude Desktop or Cursor
  • Node.js (v20 or higher)
  • Git installed (only needed if using Git installation method)

Atlas DataHub MCP server installation ⚡

Running with NPX

npx -y atlas-datahub-mcp@latest

Installing via Smithery

To install Atlas DataHub MCP Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @atlas-datahub/mcp --client claude

Configuring MCP Clients ⚙️

Configuring Cline 🤖

The easiest way to set up the Atlas DataHub MCP server in Cline is through the marketplace with a single click:

  1. Open Cline in VS Code
  2. Click on the Cline icon in the sidebar
  3. Navigate to the “MCP Servers” tab (4 squares)
  4. Search “Atlas DataHub” and click “install”
  5. When prompted, enter your Azure Cosmos DB connection string

Alternatively, you can manually set up the Atlas DataHub MCP server in Cline:

  1. Open the Cline MCP settings file:
# For macOS:
code ~/Library/Application\ Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

# For Windows:
code %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
  1. Add the Atlas DataHub server configuration to the file:
{
  "mcpServers": {
    "atlas-datahub-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "atlas-datahub-mcp@latest"
      ],
      "env": {
        "AZURE_COSMOS_CONNECTION_STRING": "your-connection-string-here",
        "AZURE_COSMOS_DATABASE_NAME": "your-database-name",
        "AZURE_COSMOS_CONTAINER_NAME": "your-container-name"
      },
      "disabled": false,
      "autoApprove": []
    }
  }
}
  1. Save the file and restart Cline if it’s already running.

Configuring Cursor 🖥️

Note: Requires Cursor version 0.45.6 or higher

To set up the Atlas DataHub MCP server in Cursor:

  1. Open Cursor Settings
  2. Navigate to Features > MCP Servers
  3. Click on the “+ Add New MCP Server” button
  4. Fill out the following information:
    • Name: Enter a nickname for the server (e.g., “atlas-datahub-mcp”)
    • Type: Select “command” as the type
    • Command: Enter the command to run the server:
    env AZURE_COSMOS_CONNECTION_STRING=your-connection-string AZURE_COSMOS_DATABASE_NAME=your-database AZURE_COSMOS_CONTAINER_NAME=your-container npx -y atlas-datahub-mcp@latest
    

    Important: Replace the placeholder values with your actual Azure Cosmos DB configuration

Configuring the Claude Desktop app 🖥️

For macOS:

# Create the config file if it doesn't exist
touch "$HOME/Library/Application Support/Claude/claude_desktop_config.json"

# Opens the config file in TextEdit
open -e "$HOME/Library/Application Support/Claude/claude_desktop_config.json"

For Windows:

code %APPDATA%\Claude\claude_desktop_config.json

Add the Atlas DataHub server configuration:

{
  "mcpServers": {
    "atlas-datahub-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "atlas-datahub-mcp@latest"
      ],
      "env": {
        "AZURE_COSMOS_CONNECTION_STRING": "your-connection-string-here",
        "AZURE_COSMOS_DATABASE_NAME": "your-database-name",
        "AZURE_COSMOS_CONTAINER_NAME": "your-container-name"
      }
    }
  }
}

Usage in Claude Desktop App 🎯

Once the installation is complete, and the Claude desktop app is configured, you must completely close and re-open the Claude desktop app to see the atlas-datahub-mcp server. You should see a hammer icon in the bottom left of the app, indicating available MCP tools.

Atlas DataHub Examples

  1. Query Records:
Query all records with partition key "user123" from the database.
  1. Insert Record:
Insert a new record with ID "doc123", partition key "user123", and data containing title and content.
  1. Update Record:
Update the record with ID "doc123" and partition key "user123" with new title and content.

Troubleshooting 🛠️

Common Issues

  1. Server Not Found

    • Verify the npm installation by running npm --version
    • Check Claude Desktop configuration syntax
    • Ensure Node.js is properly installed by running node --version
  2. Connection String Issues

    • Confirm your Azure Cosmos DB connection string is valid
    • Check the connection string is correctly set in the config
    • Verify no spaces or quotes around the connection string
  3. Database Access Issues

    • Verify the database and container exist in your Azure Cosmos DB account
    • Check the database permissions
    • Ensure the connection string has appropriate access rights

Acknowledgments ✨

  • Model Context Protocol for the MCP specification
  • Anthropic for Claude Desktop
  • Microsoft Azure for Cosmos DB

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers