GG

gifflet/graphiti-mcp-server

Developer tools

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

142 stars 18 forks 品質 69 トレンド 16MIT

gifflet/graphiti-mcp-server は、https://github.com/gifflet/graphiti-mcp-server. からインポートされたMCPサーバー候補です。

概要

gifflet/graphiti-mcp-server は、https://github.com/gifflet/graphiti-mcp-server. からインポートされたMCPサーバー候補です。

概要(AI 翻訳)

🌟 Neo4jで構築され、Model Context Protocol(MCP)と統合されたAIエージェント向けの強力な知識グラフサーバーです。

🚀 特徴

  • 🔄 Neo4jによる動的ナレッジグラフ管理
  • 🤖 OpenAIモデルとのシームレスな統合
  • 🔌 MCP(モデルコンテキストプロトコル)サポート
  • 🐳 Docker対応展開
  • 🎯 カスタムエンティティ抽出機能
  • 🔍 高度な意味検索機能

🛠️ 設置

前提条件

  • DockerおよびDocker Compose
  • Python 3.10以降
  • OpenAI APIキー
  • 最低4GB RAM(推奨8GB)
  • 2GBの空きディスク容量

クイックスタート 🚀

  1. リポジトリのクローン:

  2. 環境変数の設定:

  3. 設定で.envを編集する:

  4. 礼拝開始:

  5. インストール確認:

代替:環境変数

環境変数を直接使って実行できます:

🔧 構成

サービスポート 🌐

サービス 港湾 目的
Neo4jブラウザ 7474 グラフ可視化用のウェブインターフェース
Neo4jボルト 7687 データベース接続
グラフィティMCP 8000 MCPサーバーエンドポイント

環境変数 🔧

OpenAIの設定

|変数 |必須 |デフォルト |説明 |

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

README

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

Graphiti MCP Server 🧠

🌟 A powerful knowledge graph server for AI agents, built with Neo4j and integrated with Model Context Protocol (MCP).

🚀 Features

  • 🔄 Dynamic knowledge graph management with Neo4j
  • 🤖 Seamless integration with OpenAI models
  • 🔌 MCP (Model Context Protocol) support
  • 🐳 Docker-ready deployment
  • 🎯 Custom entity extraction capabilities
  • 🔍 Advanced semantic search functionality

🛠️ Installation

Prerequisites

  • Docker and Docker Compose
  • Python 3.10 or higher
  • OpenAI API key
  • Minimum 4GB RAM (recommended 8GB)
  • 2GB free disk space

Quick Start 🚀

  1. Clone the repository:
git clone https://github.com/gifflet/graphiti-mcp-server.git
cd graphiti-mcp-server
  1. Set up environment variables:
cp .env.sample .env
  1. Edit .env with your configuration:
# Required for LLM operations
OPENAI_API_KEY=your_openai_api_key_here
MODEL_NAME=gpt-4.1-mini

# Optional: Custom OpenAI endpoint (e.g., for proxies)
# OPENAI_BASE_URL=https://api.openai.com/v1

# Neo4j Configuration (defaults work with Docker)
NEO4J_URI=bolt://neo4j:7687
NEO4J_USER=neo4j
NEO4J_PASSWORD=demodemo
  1. Start the services:
docker compose up -d
  1. Verify installation:
# Check if services are running
docker compose ps

# Check logs
docker compose logs graphiti-mcp

Alternative: Environment Variables

You can run with environment variables directly:

OPENAI_API_KEY=your_key MODEL_NAME=gpt-4.1-mini docker compose up

🔧 Configuration

Service Ports 🌐

Service Port Purpose
Neo4j Browser 7474 Web interface for graph visualization
Neo4j Bolt 7687 Database connection
Graphiti MCP 8000 MCP server endpoint

Environment Variables 🔧

OpenAI Configuration

Variable Required Default Description
OPENAI_API_KEY ✅ - Your OpenAI API key
OPENAI_BASE_URL ❌ - Custom OpenAI API endpoint (consumed by OpenAI SDK)
MODEL_NAME ❌ gpt-4.1-mini Main LLM model to use
SMALL_MODEL_NAME ❌ gpt-4.1-nano Small LLM model for lighter tasks
LLM_TEMPERATURE ❌ 0.0 LLM temperature (0.0-2.0)
EMBEDDER_MODEL_NAME ❌ text-embedding-3-small Embedding model

Neo4j Configuration

Variable Required Default Description
NEO4J_URI ❌ bolt://neo4j:7687 Neo4j connection URI
NEO4J_USER ❌ neo4j Neo4j username
NEO4J_PASSWORD ❌ demodemo Neo4j password

Server Configuration

GitHub で README 全文を見る

インストール

docker run -d \
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "Graphiti": { "command": "uv", "args": ["run", "graphiti_mcp_server.py"], "env": { "OPENAI_API_KEY": "your_key_here" } } } }