NN

niledatabase/nile-mcp-server

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

19 stars 10 forks 품질 68 트렌드 22MIT

MCP 서버 - Nile Database - 관리 및 쿼리 데이터베이스, 임계인, 사용자, LLMs를 사용

개요

Nile MCP Server 자세히 알아보기 Dis️ Dis 웹 사이트 🔵 문제 Nile 데이터베이스 플랫폼의 모델 Context Protocol (MCP) 서버 구현. 이 서버는 표준 인터페이스를 통해 Nile 플랫폼과 상호 작용하는 LLM 애플리케이션을 허용합니다. - : Create, list, get details, and delete databases - : Create and list database credentials - : 데이터베이스 생성에 대한 목록 가능한 영역 - : Nile 데이터베이스에서 SQL 쿼리를 직접 실행 - : Model Context Protocol의 전체 구현 - : 전체 유형 검사와 TypeScript에 서면 - : 종합 오류 처리 및 사용자 친화적 오류 메시지 - : Jest를 사용하여 포괄적 인 테스트 스위트 - : .env 파일에서 환경 변수의 자동 로딩 - : Schema 기반 검증 사용 node modules 폴더에 @niledatabase/nile-mcp-server를 설치합니다. 예를 들면: node modules/@niledatabase/nile-mcp-server/dist/ 1. 명세.

개요(AI 번역)

Nile MCP 서버

더 알아보기

관련 제품 ₢ 킹 웹 사이트 ₢ 킹 제품정보

Nile 데이터베이스 플랫폼의 모델 Context Protocol (MCP) 서버 구현. 이 서버는 표준 인터페이스를 통해 Nile 플랫폼과 상호 작용하는 LLM 애플리케이션을 허용합니다.

특징

  • **Database 관리 **: Create, list, get details, and delete databases
  • Credential Management: 생성 및 목록 데이터베이스 자격
  • Region Management: 데이터베이스 작성에 대한 가능한 지역 목록
  • SQL Query Support: Nile 데이터베이스에서 SQL 쿼리를 직접 실행
  • MCP 프로토콜 지원: Model Context Protocol의 전체 구현
  • Type Safety: TypeScript에서 전체 유형 검사로 작성
  • 처리: 포괄적인 오류 처리 및 사용자 친화적 오류 메시지
  • Test Coverage: Jest를 사용하는 종합 테스트 스위트
  • 환경 관리: .env 파일에서 환경 변수의 자동 로딩 -Input Validation: Zod를 이용한 Schema 기반 입력 검증

설치

안정적인 버전 설치:

최신 알파/preview 버전을 위해:

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" } } } }