NN

niledatabase/nile-mcp-server

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

19 stars 10 forks 品質 68 トレンド 22MIT

Nile データベースの MCP サーバー - LLM を使用したデータベース、テナント、ユーザー、auth の管理とクエリー

概要

Nile MCP Server 詳細情報 ◀️ Discord サイトの 問題 Nile データベースプラットフォーム用のモデルコンテキストプロトコル(MCP)サーバーの実装。 このサーバーでは、LLM アプリケーションは、標準化されたインターフェースを介して、Nole プラットフォームとやり取りすることができます。 - : データベースの作成、リスト作成、詳細取得、および削除 - : データベースの作成とリストデータベースの資格情報 - : データベース作成の利用可能な地域リスト - : Nileデータベース上で直接SQLクエリを実行します - : モデルコンテキストプロトコルの完全な実装 - : フルタイプのチェックでTypeScriptで書かれている - : 包括的なエラー処理とユーザーフレンドリーなエラーメッセージ - : Jestを使用して包括的なテストスイート - : .envファイルから環境変数の自動読み込み - : Zodを使用してスキーマベースの入力検証 これは、node modulesフォルダに@niledatabase/nile-mcp-serverをインストールします。 例えば、node modules/@niledatabase/nile-mcp-server/dist/ 1.

概要(AI 翻訳)

Nile MCP サーバー

もっと 閲覧回数 132

ディスコード ふりがな サイトマップ ふりがな 問題点

Nile データベースプラットフォーム用のモデルコンテキストプロトコル(MCP)サーバーの実装。 このサーバーでは、LLM アプリケーションは、標準化されたインターフェースを介して、Nole プラットフォームとやり取りすることができます。

##特徴

  • データベース管理: データベースの作成、リストの作成、取得、削除
  • 経営管理: データベースの資格情報の作成とリスト
  • Region Management: データベース作成の利用可能な地域リスト -SQL Query Support:Nileデータベースに直接SQLクエリを実行 -MCPプロトコルサポート:モデルコンテキストプロトコルの完全な実装
  • タイプ安全:フルタイプのチェックでTypeScriptで書かれている -エラー処理: 包括的なエラー処理とユーザーフレンドリーなエラーメッセージ -Test Coverage:Jestを使った包括的なテストスイート
  • 環境管理: .envファイルから環境変数の自動読み込み
  • 入力検証: Zod を用いたスキーマベースの入力検証

インストール

安定したバージョンをインストールします。

最新のアルファ/プレビューバージョン:

これは、node modulesフォルダに@niledatabase/nile-mcp-serverをインストールします.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Nile MCP Server

Learn more ↗️

Discord 🔵 Website 🔵 Issues

A Model Context Protocol (MCP) server implementation for Nile database platform. This server allows LLM applications to interact with Nile platform through a standardized interface.

Features

  • Database Management: Create, list, get details, and delete databases
  • Credential Management: Create and list database credentials
  • Region Management: List available regions for database creation
  • SQL Query Support: Execute SQL queries directly on Nile databases
  • MCP Protocol Support: Full implementation of the Model Context Protocol
  • Type Safety: Written in TypeScript with full type checking
  • Error Handling: Comprehensive error handling and user-friendly error messages
  • Test Coverage: Comprehensive test suite using Jest
  • Environment Management: Automatic loading of environment variables from .env file
  • Input Validation: Schema-based input validation using Zod

Installation

Install the stable version:

npm install @niledatabase/nile-mcp-server

For the latest alpha/preview version:

npm install @niledatabase/nile-mcp-server@alpha

This will install @niledatabase/nile-mcp-server in your node_modules folder. For example: node_modules/@niledatabase/nile-mcp-server/dist/

Manual Installation

# Clone the repository
git clone https://github.com/yourusername/nile-mcp-server.git
cd nile-mcp-server

# Install dependencies
npm install

# Build the project
npm run build

Other mcp package managers

  1. npx @michaellatman/mcp-get@latest install @niledatabase/nile-mcp-server

Starting the Server

There are several ways to start the server:

  1. Direct Node Execution:
    node dist/index.js
    
  2. Development Mode (with auto-rebuild):
    npm run dev
    

The server will start and listen for MCP protocol messages. You should see startup logs indicating:

  • Environment variables loaded
  • Server instance created
  • Tools initialized
  • Transport connection established

To stop the server, press Ctrl+C.

Verifying the Server is Running

When the server starts successfully, you should see logs similar to:

[info] Starting Nile MCP Server...
[info] Loading environment variables...
[info] Environment variables loaded successfully
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "nile-database": { "command": "node", "args": [ "/path/to/your/nile-mcp-server/dist/index.js" ], "env": { "NILE_API_KEY": "your_api_key_here", "NILE_WORKSPACE_SLUG": "your_workspace_slug" } } } }