
morphik-org/morphik-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
Morphikのマルチモーダルデータベース用のモデルコンテキストプロトコル(MCP)サーバーの実装.
概要
Morphikのマルチモーダルデータベース用のモデルコンテキストプロトコル(MCP)サーバーの実装。 このMCPサーバーは、Claudeや他のMCP互換のAIアシスタントがMorphikデータベースシステムと相互作用することを可能にします。 - 文書の摂取(テキストとファイル) - 文書の検索(クエリへの関連性) - LLMを搭載した完了をクエリする文書 - 文書管理(リスト、取得、削除) - ファイルシステムナビゲーションとパスからのファイルインジェクション サーバは2つのトランスポートモードをサポートしています: - (デフォルト): Claude Desktopや他のMCPクライアントで使用するための標準入力/出力 - : ウェブベースのインテグレーション用のHTTP/HTTPSエンドポイント ローカルホスト上で実行するローカルMorphikサーバー:8000、または - Morphikクラウドプラットフォーム サーバは標準入力/出力ストリームをデフォルトで実行し、Claude のような MCP クライアントで使用できます。 HTTP/HTTPS モード (streamable) の場合、streamable https.md のドキュメントを参照してください。 Claudeデスクトップ設定ファイルに追加します
概要(AI 翻訳)
Morphikのマルチモーダルデータベース用のモデルコンテキストプロトコル(MCP)サーバーの実装。
概要
このMCPサーバーは、Claudeや他のMCP互換のAIアシスタントがMorphikデータベースシステムと相互作用することを可能にします。
- 文書の摂取(テキストとファイル)
- 文書検索(照会による)
- LLM 搭載完了のドキュメント
- 文書管理(リスト、取得、削除)
- ファイルシステムナビゲーションとパスからのファイル摂取
サーバは2つのトランスポートモードをサポートしています。 -stdio(デフォルト):Claudeデスクトップや他のMCPクライアントで使用するための標準的な入出力 -Streamable HTTPS:Webベースの統合のためのHTTP / HTTPSエンドポイント
前提条件
いずれかのアクセスが必要です:
- ローカルホスト上で実行されるローカルMorphikサーバー:8000、または
- Morphikクラウドプラットフォーム
インストールと使用
##Option 1: npx で直接実行 (推奨)
##Option 2:グローバルインストール
##Option3:ローカル開発
サーバは標準入力/出力ストリームをデフォルトで実行し、Claude のような MCP クライアントで使用できます。
HTTP/HTTPS モード (streamable) の場合、streamable https.md のドキュメントを参照してください。
Claudeデスクトップでの使用
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Morphik MCP
A Model Context Protocol (MCP) server implementation for Morphik multi-modal database.
Overview
This MCP server allows Claude and other MCP-compatible AI assistants to interact with the Morphik database system, enabling:
- Document ingestion (text and files)
- Document retrieval (by relevance to queries)
- Document querying with LLM-powered completions
- Document management (listing, getting, deleting)
- File system navigation and file ingestion from paths
The server supports two transport modes:
- stdio (default): Standard input/output for use with Claude Desktop and other MCP clients
- Streamable HTTPS: HTTP/HTTPS endpoint for web-based integrations
Prerequisites
You need access to either:
- A local Morphik server running on localhost:8000, or
- The Morphik cloud platform
Installation & Usage
Option 1: Run directly with npx (recommended)
# Connect to local Morphik server
npx morphik-mcp
# Connect to Morphik cloud platform (replace with your actual URI)
npx morphik-mcp --uri=https://api.morphik.ai
# Specify allowed directories for file operations (comma-separated)
npx morphik-mcp --allowed-dir=~/Documents,~/Downloads
Option 2: Global installation
npm install -g morphik-mcp
# Connect to local Morphik server
morphik-mcp
# Connect to Morphik cloud platform
morphik-mcp --uri=https://api.morphik.ai
# Specify allowed directories for file operations
morphik-mcp --allowed-dir=~/Documents,~/Downloads
Option 3: Local development
# Clone the repository
git clone https://github.com/morphik-org/morphik-npm-mcp.git
cd morphik-npm-mcp
# Install dependencies
npm install
# Build the project
npm run build
# Start the server (local Morphik)
npm start
# Start the server with file operations enabled
node build/index.js --allowed-dir=~/Documents,~/Downloads
The server runs on standard input/output streams by default and can be used with MCP clients like Claude.
For HTTP/HTTPS mode (streamable), see the streamable_https.md documentation.
Usage with Claude Desktop
Add this to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"morphik-local": {
"command": "npx",
"args": ["-y", "morphik-mcp"]
},
"morphik-cloud": {
"command": "npx",
"args": ["-y", "morphik-mcp", "--uri=https://api.morphik.ai"]
},
"morphik-with-files": {
"command": "npx",
"args": ["-y", "morphik-mcp", "--allowed-dir=~/Documents,~/Downloads"]
}
}
}
MCP Tools
See MCP_TOOLS.md for detailed parameter docs and response formats.
The server currently provides the following tools, with additional capabilities on the way:
1. Document Ingestion
ingest-text: Ingest a text document into Morphik
インストール
npx -y morphik-mcp設定
{
"mcpServers": {
"morphik-local": {
"command": "npx",
"args": ["-y", "morphik-mcp"]
},
"morphik-cloud": {
"command": "npx",
"args": ["-y", "morphik-mcp", "--uri=https://api.morphik.ai"]
},
"morphik-with-files": {
"command": "npx",
"args": ["-y", "morphik-mcp", "--allowed-dir=~/Documents,~/Downloads"]
}
}
}