feat: add mcp-servers/**
This commit is contained in:
14
mcp-servers/neo4j-cypher/.env.example
Normal file
14
mcp-servers/neo4j-cypher/.env.example
Normal file
@@ -0,0 +1,14 @@
|
||||
# MCP Neo4j Cypher Server Configuration
|
||||
# ====================================
|
||||
|
||||
# MCP Service
|
||||
MCP_NEO4J_CYPHER_VERSION=latest
|
||||
MCP_NEO4J_CYPHER_PORT_OVERRIDE=8000
|
||||
|
||||
# Neo4j Connection
|
||||
NEO4J_URL=bolt://localhost:7687
|
||||
NEO4J_USER=neo4j
|
||||
NEO4J_PASSWORD=password
|
||||
|
||||
# Timezone
|
||||
TZ=UTC
|
||||
26
mcp-servers/neo4j-cypher/README.md
Normal file
26
mcp-servers/neo4j-cypher/README.md
Normal file
@@ -0,0 +1,26 @@
|
||||
# Neo4j Cypher MCP Server
|
||||
|
||||
Neo4j Cypher MCP Server provides Cypher query capabilities for Neo4j graph databases through the Model Context Protocol.
|
||||
|
||||
## Features
|
||||
|
||||
- 🔍 **Cypher Queries** - Execute Cypher queries
|
||||
- 📊 **Graph Analysis** - Analyze graph structures
|
||||
- 🔗 **Graph Exploration** - Explore graph data
|
||||
|
||||
## Environment Variables
|
||||
|
||||
| Variable | Default | Description |
|
||||
| -------------------------------- | ----------------------- | ------------------------------ |
|
||||
| `MCP_NEO4J_CYPHER_VERSION` | `latest` | MCP Neo4j Cypher image version |
|
||||
| `MCP_NEO4J_CYPHER_PORT_OVERRIDE` | `8000` | MCP service port |
|
||||
| `NEO4J_URL` | `bolt://localhost:7687` | Neo4j connection URL |
|
||||
| `NEO4J_USER` | `neo4j` | Database user |
|
||||
| `NEO4J_PASSWORD` | `password` | Database password |
|
||||
| `TZ` | `UTC` | Timezone |
|
||||
|
||||
## Quick Start
|
||||
|
||||
```bash
|
||||
docker compose up -d
|
||||
```
|
||||
26
mcp-servers/neo4j-cypher/README.zh.md
Normal file
26
mcp-servers/neo4j-cypher/README.zh.md
Normal file
@@ -0,0 +1,26 @@
|
||||
# Neo4j Cypher MCP 服务器
|
||||
|
||||
Neo4j Cypher MCP 服务器通过 Model Context Protocol 为 Neo4j 图数据库提供 Cypher 查询功能。
|
||||
|
||||
## 功能特性
|
||||
|
||||
- 🔍 **Cypher 查询** - 执行 Cypher 查询
|
||||
- 📊 **图分析** - 分析图结构
|
||||
- 🔗 **图探索** - 探索图数据
|
||||
|
||||
## 环境变量
|
||||
|
||||
| 变量 | 默认值 | 说明 |
|
||||
| -------------------------------- | ----------------------- | ------------------------- |
|
||||
| `MCP_NEO4J_CYPHER_VERSION` | `latest` | MCP Neo4j Cypher 镜像版本 |
|
||||
| `MCP_NEO4J_CYPHER_PORT_OVERRIDE` | `8000` | MCP 服务端口 |
|
||||
| `NEO4J_URL` | `bolt://localhost:7687` | Neo4j 连接 URL |
|
||||
| `NEO4J_USER` | `neo4j` | 数据库用户 |
|
||||
| `NEO4J_PASSWORD` | `password` | 数据库密码 |
|
||||
| `TZ` | `UTC` | 时区 |
|
||||
|
||||
## 快速开始
|
||||
|
||||
```bash
|
||||
docker compose up -d
|
||||
```
|
||||
34
mcp-servers/neo4j-cypher/docker-compose.yaml
Normal file
34
mcp-servers/neo4j-cypher/docker-compose.yaml
Normal file
@@ -0,0 +1,34 @@
|
||||
x-default: &default
|
||||
restart: unless-stopped
|
||||
logging:
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: 100m
|
||||
max-file: "3"
|
||||
|
||||
services:
|
||||
mcp-neo4j-cypher:
|
||||
<<: *default
|
||||
image: mcp/neo4j-cypher:${MCP_NEO4J_CYPHER_VERSION:-latest}
|
||||
environment:
|
||||
- NEO4J_URL=${NEO4J_URL:-bolt://localhost:7687}
|
||||
- NEO4J_USER=${NEO4J_USER:-neo4j}
|
||||
- NEO4J_PASSWORD=${NEO4J_PASSWORD:-password}
|
||||
- MCP_HOST=0.0.0.0
|
||||
- TZ=${TZ:-UTC}
|
||||
ports:
|
||||
- "${MCP_NEO4J_CYPHER_PORT_OVERRIDE:-8000}:8000"
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--spider", "-q", "http://localhost:8000/health"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 10s
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.00'
|
||||
memory: 512M
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 128M
|
||||
Reference in New Issue
Block a user