feat: add mcp-servers/**
This commit is contained in:
13
mcp-servers/notion/.env.example
Normal file
13
mcp-servers/notion/.env.example
Normal file
@@ -0,0 +1,13 @@
|
||||
# MCP Notion Server Configuration
|
||||
# ==============================
|
||||
|
||||
# MCP Service
|
||||
MCP_NOTION_VERSION=latest
|
||||
MCP_NOTION_PORT_OVERRIDE=8000
|
||||
|
||||
# Notion Integration Token (Required)
|
||||
# Get your token from: https://developers.notion.com
|
||||
INTERNAL_INTEGRATION_TOKEN=
|
||||
|
||||
# Timezone
|
||||
TZ=UTC
|
||||
25
mcp-servers/notion/README.md
Normal file
25
mcp-servers/notion/README.md
Normal file
@@ -0,0 +1,25 @@
|
||||
# Notion MCP Server
|
||||
|
||||
Official Notion MCP Server providing integration with Notion workspace through the Model Context Protocol.
|
||||
|
||||
## Features
|
||||
|
||||
- 📝 **Page Management** - Create and manage pages
|
||||
- 📋 **Database Queries** - Query Notion databases
|
||||
- 🔍 **Content Search** - Search workspace content
|
||||
- 📊 **Data Management** - Manage database records
|
||||
|
||||
## Environment Variables
|
||||
|
||||
| Variable | Default | Description |
|
||||
| ---------------------------- | -------- | ----------------------------------- |
|
||||
| `MCP_NOTION_VERSION` | `latest` | MCP Notion image version |
|
||||
| `MCP_NOTION_PORT_OVERRIDE` | `8000` | MCP service port |
|
||||
| `INTERNAL_INTEGRATION_TOKEN` | - | Notion integration token (required) |
|
||||
| `TZ` | `UTC` | Timezone |
|
||||
|
||||
## Getting Started
|
||||
|
||||
1. Create a Notion integration at <https://developers.notion.com>
|
||||
2. Set the `INTERNAL_INTEGRATION_TOKEN` in your `.env` file
|
||||
3. Run `docker compose up -d`
|
||||
25
mcp-servers/notion/README.zh.md
Normal file
25
mcp-servers/notion/README.zh.md
Normal file
@@ -0,0 +1,25 @@
|
||||
# Notion MCP 服务器
|
||||
|
||||
官方 Notion MCP 服务器通过 Model Context Protocol 提供与 Notion 工作区的集成。
|
||||
|
||||
## 功能特性
|
||||
|
||||
- 📝 **页面管理** - 创建和管理页面
|
||||
- 📋 **数据库查询** - 查询 Notion 数据库
|
||||
- 🔍 **内容搜索** - 搜索工作区内容
|
||||
- 📊 **数据管理** - 管理数据库记录
|
||||
|
||||
## 环境变量
|
||||
|
||||
| 变量 | 默认值 | 说明 |
|
||||
| ---------------------------- | -------- | ----------------------- |
|
||||
| `MCP_NOTION_VERSION` | `latest` | MCP Notion 镜像版本 |
|
||||
| `MCP_NOTION_PORT_OVERRIDE` | `8000` | MCP 服务端口 |
|
||||
| `INTERNAL_INTEGRATION_TOKEN` | - | Notion 集成令牌(必需) |
|
||||
| `TZ` | `UTC` | 时区 |
|
||||
|
||||
## 快速开始
|
||||
|
||||
1. 在 <https://developers.notion.com> 创建 Notion 集成
|
||||
2. 在 `.env` 文件中设置 `INTERNAL_INTEGRATION_TOKEN`
|
||||
3. 运行 `docker compose up -d`
|
||||
32
mcp-servers/notion/docker-compose.yaml
Normal file
32
mcp-servers/notion/docker-compose.yaml
Normal file
@@ -0,0 +1,32 @@
|
||||
x-default: &default
|
||||
restart: unless-stopped
|
||||
logging:
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: 100m
|
||||
max-file: "3"
|
||||
|
||||
services:
|
||||
mcp-notion:
|
||||
<<: *default
|
||||
image: mcp/notion:${MCP_NOTION_VERSION:-latest}
|
||||
environment:
|
||||
- INTERNAL_INTEGRATION_TOKEN=${INTERNAL_INTEGRATION_TOKEN}
|
||||
- MCP_HOST=0.0.0.0
|
||||
- TZ=${TZ:-UTC}
|
||||
ports:
|
||||
- "${MCP_NOTION_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