DN

drpfau/nxmcp

Developer tools

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

4 stars 4 forks 品質 72 トレンド 25MIT

ネクサスDB用MCP

概要

AI アシスタントが NexusDB データベースとやりとりできる MCP (Model Context Protocol) サーバー。 Delphi で構築されたこのサーバーは、MCP ツールやリソースとして NexusDB の操作を公開しています。 * - HTTP と STDIO (Claude デスクトップや他の MCP クライアントの場合) * - 並行した HTTP 発信者をシリアライズし、次のリクエストの前に NexusDB セッションをタイムアウトします * - SELECT のクエリを実行し、JSON として結果を取得 * - インサート、更新、削除 * - 表を作成、列の追加、インデックスの管理 * - 表/列の記述/列/インデックス/インデックス、フィールドバリデータ、既定の列のステータス、ディスクのステータス、およびディスクリファレンス、ディスクリファレンス表示、およびディスクリファレンス、ディスクリファレンス、ディスクリファレンス、ディスクリファレンス、ディスクリファレンス、ディスクリファレンス、ディスク、ディスクリファレンス、ディスク、ディスク、ディスク、ディスク、ディスク、ディスク、ディスク、ディスク、ディスク、ディスク、ディスク、ディスク、ディスク、ディスク、ディスク、ディスク、ディスク、ディスク、ディスク、ディスク、ディスク、ディスク、ディスク、ディスク、ディスク、ディスク、ディスク、ディスク、ディスク、ディスク、ディスク、ディスク、ディスク、ディスク、ディスク、ディスク、ディスク、ディスク、ディスク、ディスク、ディスク、 * Delphi(RAD Studio 13)とNexusDB ...

概要(AI 翻訳)

AI アシスタントが NexusDB データベースとやりとりできる MCP (Model Context Protocol) サーバー。 Delphi で構築されたこのサーバーは、MCP ツールやリソースとして NexusDB の操作を公開しています。

##特徴

*Dual Transport - HTTPおよびSTDIO(Claude Desktopおよびその他のMCPクライアント用) *Safe共有アクセス - 並行された待ち時間でHTTP同時並列化され、次のリクエストの前にNexusDBセッションが置換される *Query Execution - SELECT クエリを実行し、結果を JSON として取得 *データ操作 - レコードの入力、更新、削除 *Schema Management - テーブルの作成、列の追加、インデックスの管理 *Schema Metadata - 表/列/インデックス、フィールドバリデータ、既存の列のデフォルト、データポリシー、監査設定の説明 *Database Management - 実行時にデータベースとサーバーを切り替える(リモートまたはインプロセス組み込みサーバー)、リストエイリアス *Discovery - リストテーブル、ビュースキーマ、テーブル構造を取得します(説明、デフォルト、バリデータ、ポリシー、監査、および参照積分参照を含む)、リストインデックス *Utility - カウントレコード、クエリ実行計画を表示

要件

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

README

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

nxmcp - NexusDB MCP Server

An MCP (Model Context Protocol) server that enables AI assistants to interact with NexusDB databases. Built with Delphi, this server exposes NexusDB operations as MCP tools and resources.

Features

  • Dual Transport - HTTP and STDIO (for Claude Desktop and other MCP clients)
  • Safe Shared Access - Concurrent HTTP callers are serialized with a bounded wait, and timed-out NexusDB sessions are replaced before the next request
  • Query Execution - Run SELECT queries and retrieve results as JSON
  • Data Manipulation - Insert, update, and delete records
  • Schema Management - Create tables, add columns, manage indexes
  • Schema Metadata - Descriptions on tables/columns/indexes, field validators, defaults on existing columns, data policies, audit settings
  • Database Management - Switch databases and servers at runtime (remote or in-process embedded server), list aliases
  • Discovery - List tables, view schemas, get table structures (including descriptions, defaults, validators, policies, audit, and referential-integrity references), list indexes
  • Utility - Count records, show query execution plan

Requirements

Configuration

On first run, nxmcp.ini is automatically created next to the executable with default values. Edit it to configure both the NexusDB connection and MCP server:

[Connection]
; Server mode: Remote (connect to an NXserver) or Embedded (in-process local server)
; In Embedded mode only [Database] AliasPath is used (no AliasName), and it must be set.
Mode=Remote
; NXserver host address (Remote mode only)
ServerHost=localhost
; NXserver port (default: 16000, Remote mode only)
ServerPort=16000

[Database]
; Set EITHER AliasName OR AliasPath (they are mutually exclusive; Embedded uses AliasPath only).
; If both are set, AliasPath takes precedence.
; Database alias as configured on the NXserver
AliasName=YourAlias
; Server-side filesystem path to the database folder (leave empty to use AliasName)
AliasPath=
; Table passwords, comma separated (leave empty if not used)
TablePassword=
; For a password that contains a literal comma, add it as TablePasswords1, TablePasswords2, ... instead
; The passwords above are only sent to the server configured here. switch_server targets listed
; below get them too: host:port or host (any port), comma separated; embedded for embedded mode.
; * sends them to ANY server a client switches to - the client chooses that host. Use with care.
TablePasswordServers=

[Authentication]
GitHub で README 全文を見る

インストール

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

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

設定

{ "mcpServers": { "nxmcp": { "command": "C:\\path\\to\\nxmcp.exe", "args": ["--stdio"] } } }