MCP MarkLogicサーバー
これは、MarkLogic のモデル コンテキスト プロトコル (MCP) サーバー実装であり、MCP ツールを通じて MarkLogic データベースと対話できるようになります。
サーバーは次の操作を提供します。
ドキュメントを作成
オプションのコレクションを使用してMarkLogicでドキュメントを作成する
URIでドキュメントを読む
URI でドキュメントを削除する
クエリ文字列とオプションのコレクションフィルターを使用してドキュメントを検索する
インストール
構成
サーバーには次の環境変数が必要です。
使用法
インストールと設定が完了したら、サーバーを起動できます。
利用可能なツール
create-document
MarkLogicで新しいドキュメントを作成する
パラメータ:
uri
: ドキュメントURI(必須)content
: JSON形式のドキュメントコンテンツ(必須)collections
: ドキュメントを追加するコレクションのリスト(オプション)
read-document
MarkLogicからドキュメントを読む
パラメータ:
uri
: ドキュメントURI(必須)
delete-document
MarkLogicからドキュメントを削除する
パラメータ:
uri
: ドキュメントURI(必須)
search-documents
MarkLogicでドキュメントを検索する
パラメータ:
query
: 検索クエリ文字列(必須)collections
: 検索するコレクションのリスト(オプション)
発達
設定
リポジトリをクローンする
仮想環境を作成してアクティブ化する
依存関係をインストールします:
pip install -e .
テストの実行
MarkLogicのセットアップ
MarkLogicサーバーがインストールされ、実行されていることを確認します
ポート8000にREST APIインスタンスがまだ存在しない場合は作成します
適切な権限を持つユーザーを作成します。
管理インターフェースに移動します(通常はhttp://localhost:8001 )
次のようにしてロール
python-docs-role
を作成します。ロール:
rest-extension-user
、rest-reader
、rest-writer
権限:
xdbc:eval
、xdbc:invoke
、xdmp:eval-in
次のコマンドで
python-user
を作成します。パスワード:
pyth0n
役割:
python-docs-role
ライセンス
マサチューセッツ工科大学
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
クライアント インターフェイスを通じて CRUD 操作とドキュメント クエリ機能を有効にする、MarkLogic 用のモデル コンテキスト プロトコル サーバー。
Related MCP Servers
- -securityFlicense-qualityA Model Context Protocol server that provides AI assistants with structured access to your Logseq knowledge graph, enabling retrieval, searching, analysis, and creation of content within your personal knowledge base.Last updated -51
- -securityAlicense-qualityA Model Context Protocol server that enables LLMs to interact with GraphQL APIs by providing schema introspection and query execution capabilities.Last updated -5021MIT License
- -securityAlicense-qualityA Model Context Protocol server that enables LLMs to interact with databases (currently MongoDB) through natural language, supporting operations like querying, inserting, deleting documents, and running aggregation pipelines.Last updated -MIT License
- -securityFlicense-qualityA Model Context Protocol server that enables LLMs to interact with GraphQL APIs by providing schema introspection and query execution capabilities.Last updated -0