NN

nonanti/narwhal

Developer tools

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

46 stars 1 forks 품질 64 트렌드 8NOASSERTION

nonanti/narwhal은 MCP 서버 후보자는 https://github.com/nonanti/narwhal.에서 수입했습니다

개요

nonanti/narwhal은 MCP 서버 후보자는 https://github.com/nonanti/narwhal.에서 수입했습니다

개요(AI 번역)

** 맨끝을 위한 대리인 부정적인 데이타베이스 workbench. ** A DBA 툴킷, MCP 서버 및 vim-mode SQL 편집기 - 한 정적 바이너리.

설치 · 빠른 시작 · 왜 narwhal · Docs


narwhal은 무엇입니까?

narwhal은 터미널 데이터베이스 클라이언트가 각 두 가지를 구축 다른 클라이언트는 놓습니다:

  1. DBA 등급 도구, 장난감 REPL. Schema diff 와 방언 aware DDL 방출, append-only 감사 로그, 기능 gated 플러그인 sandbox, 스트리밍 가능 쿼리, ER 다이어그램, SSH 터널, 비밀 vault — 작업 표면 실제 데이터베이스 일 필요.
  2. ** 일류 에이전트 통합.** 내장 MCP 서버 노출 연결, 스키마 및 쿼리 실행 Claude, Cursor, Zed 및 MCP-aware 클라이언트. 프록시 없음, 어댑터 없음 - [T0]] 그리고 당신은 유선입니다.

6개의 엔진 (Postgres, MySQL, SQLite, DuckDB, ClickHouse, SQL 서버), 세 개의 편집기 모드 (vim / 기본 / emacs), 한 정적 바이너리.

설치

다른 채널 - cargo install narwhaldb, Homebrew, AUR, Nix 조각, 미리 만들어진 tarballs - docs/install.md에 나열됩니다.

빠른 시작

내부:

  1. :add - 연결 마법사, 또는 :url postgres://user:pass@host/db
  2. 명세.

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

README

원문 README의 일부입니다. 원문 보기.


What is narwhal?

narwhal is a terminal database client built around two things every other client misses:

  1. DBA-grade tooling, not a toy REPL. Schema diff with dialect-aware DDL emit, append-only audit log, capability-gated plugin sandbox, streaming cancellable queries, ER diagrams, SSH tunnels, secret vault — the operational surface a real database day needs.
  2. First-class agent integration. A built-in MCP server exposes your connections, schema, and query execution to Claude, Cursor, Zed, and any MCP-aware client. No proxy, no adapter — narwhal mcp and you’re wired.

Six engines (Postgres, MySQL, SQLite, DuckDB, ClickHouse, SQL Server), three editor modes (vim / basic / emacs), one static binary.

Install

curl -fsSL https://github.com/Nonanti/narwhal/releases/latest/download/install.sh | sh

Other channels — cargo install narwhaldb, Homebrew, AUR, Nix flake, prebuilt tarballs — are listed in docs/install.md.

Quick start

narwhal                                    # launches the TUI

Inside:

  1. :add — connection wizard, or :url postgres://user:pass@host/db
  2. :open — connect; the sidebar fills with schemas and tables
  3. F6 — run the buffer; results stream into the lower pane
  4. F1 — full keymap

Headless:

narwhal exec --conn prod 'SELECT count(*) FROM orders' --format json

Agent-native: wire it to your editor

narwhal embeds an MCP server over stdio. Run it once and your AI assistant can browse schema, sample data, and run queries against your saved connections — with the same read-only / per-connection guards the TUI uses.

narwhal mcp --read-only

Claude Desktop (~/.config/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "narwhal": {
      "command": "narwhal",
      "args": ["mcp", "--read-only"]
    }
  }
}

Cursor, Zed, Continue, Aider, and custom clients work the same way. Full setup: docs/mcp.md.

GitHub에서 전체 README 보기

설치

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

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "narwhal": { "command": "narwhal", "args": ["mcp", "--read-only"] } } }