Openclaw Notion Mcp Wrapper
БесплатноНе проверенProduction-ready Notion MCP wrapper with health monitoring, auto-reconnect & fallback. OpenClaw skill.
Описание
Production-ready Notion MCP wrapper with health monitoring, auto-reconnect & fallback. OpenClaw skill.
README
Version OpenClaw Skill Node.js License: MIT evals Oathe Security
Production-ready Notion MCP Server wrapper with health monitoring, automatic reconnection, and transparent fallback to direct REST API. Built for OpenClaw agents operating in headless / cloud environments.
Companion skill: openclaw-notion-md-converter — Markdown → Notion blocks conversion.
AI Agent Quick Reference
# Skill identity (SKILL.md frontmatter)
name: notion-mcp-wrapper
version: "2.0.1"
triggers:
- "notion"
- "mcp"
- "notion-mcp-wrapper"
- "move page"
- "notion health"
# Runtime requirements
requires:
bins: [node, npm]
env: [NOTION_TOKEN] # or NOTION_API_KEY
# Install
run: cd ~/.openclaw/skills/notion-mcp-wrapper && npm install
When to invoke:
- Check Notion MCP connectivity / health status
- Execute Notion operations (movePage, createPage, updatePage, deletePage) via MCP
- Auto-reconnect after MCP server crash or timeout
- Fall back to direct Notion REST API when MCP is unavailable
When NOT to invoke:
- Simple Notion reads that work directly via MCP tools
- Non-Notion operations
Features
| Feature | Description |
|---|---|
| Health Monitoring | Continuous MCP ping; reports healthy / degraded / down with latency |
| Auto Reconnect | Exponential backoff retry — configurable maxRetries and baseDelayMs |
| Seamless Fallback | Auto-switches to Notion REST API when MCP fails; transparent to callers |
| Operation Support | movePage, getPage, updatePage, createPage, deletePage (with fallback) |
| Full Test Suite | Unit + integration tests via Jest |
Installation
git clone https://github.com/Charpup/openclaw-notion-mcp-wrapper.git \
~/.openclaw/skills/notion-mcp-wrapper
cd ~/.openclaw/skills/notion-mcp-wrapper
npm install
Environment:
export NOTION_TOKEN="ntn_YOUR_INTERNAL_INTEGRATION_TOKEN"
# Alternative:
export NOTION_API_KEY="ntn_YOUR_INTERNAL_INTEGRATION_TOKEN"
Headless / cloud setup: Use an Internal Integration Token — no browser OAuth needed. Share target Notion pages with your integration before use.
Usage
As a Library
const { NotionMCPWrapper } = require('./lib/notion-mcp-wrapper');
const wrapper = new NotionMCPWrapper({
maxRetries: 5,
baseDelayMs: 1000,
enableHealthMonitor: true,
enableFallback: true,
});
await wrapper.start();
// Execute with automatic MCP → API fallback
const result = await wrapper.execute('movePage', {
page_id: 'abc123def456',
parent: { page_id: 'xyz789ghi012' },
});
console.log(result.source); // 'mcp' | 'fallback'
await wrapper.stop();
CLI
npm run health # Check MCP health
node bin/notion-mcp-wrapper.js move-page <page-id> <parent-id>
npm test # Run test suite
Supported Operations
| Operation | MCP Tool | API Fallback |
|---|---|---|
movePage |
API-move-page |
✅ |
getPage |
API-retrieve-a-page |
✅ |
updatePage |
API-patch-page |
✅ |
createPage |
API-post-page |
✅ |
deletePage |
API-delete-a-block |
✅ |
getBlockChildren |
API-get-block-children |
❌ |
appendBlocks |
API-patch-block-children |
❌ |
queryDatabase |
API-query-data-source |
❌ |
search |
API-post-search |
❌ |
Architecture
NotionMCPWrapper ← entry point
├── HealthMonitor periodic MCP ping → healthy / degraded / down
├── RetryPolicy exponential backoff, configurable maxRetries
├── MCPClient stdio-based MCP protocol communication
└── FallbackStrategy Notion REST API when MCP unavailable
Evals
Skill test cases live in evals/evals.json following the skill-creator standard:
| ID | Scenario | Expected Trigger |
|---|---|---|
| 1 | Check Notion MCP health status | ✅ Yes |
| 2 | Move page via MCP wrapper with fallback | ✅ Yes |
| 3 | Write a JavaScript string-reversal function | ❌ No |
Version History
| Version | Changes |
|---|---|
| v2.0.1 | Add metadata.openclaw compliance block; add evals/evals.json (3 cases) |
| v2.0.0 | Production rewrite: HealthMonitor, RetryPolicy, FallbackStrategy, full tests |
Related Projects
- openclaw-notion-md-converter — Markdown → Notion blocks
- triadev — Golden Triangle workflow (uses this skill)
- OpenClaw — The agent framework
License
MIT — Charpup
Changelog
- 2026-03-11: Skill audit upgrade — normalized SKILL.md frontmatter to
name+description, revalidated trigger wording, and rechecked lightweight lint/smoke compatibility with OpenClaw.
Установка Openclaw Notion Mcp Wrapper
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/Charpup/openclaw-notion-mcp-wrapperFAQ
Openclaw Notion Mcp Wrapper MCP бесплатный?
Да, Openclaw Notion Mcp Wrapper MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Openclaw Notion Mcp Wrapper?
Нет, Openclaw Notion Mcp Wrapper работает без API-ключей и переменных окружения.
Openclaw Notion Mcp Wrapper — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Openclaw Notion Mcp Wrapper в Claude Desktop, Claude Code или Cursor?
Открой Openclaw Notion Mcp Wrapper на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Notion
Read and write pages in your workspace
автор: NotionLinear
Issues, cycles, triage — from Claude
автор: LinearGoogle Drive
Search and read your Drive files
автор: Googlemindsdb/mindsdb
Connect and unify data across various platforms and databases with [MindsDB as a single MCP server](https://docs.mindsdb.com/mcp/overview).
автор: mindsdbfulcradynamics/fulcra-context-mcp
MCP server for accessing personal health and biometric data including sleep stages, heart rate, HRV, glucose, workouts, calendar, and location via the Fulcra Li
автор: fulcradynamicsaymericzip/intlayer
A MCP Server that enhance your IDE with AI-powered assistance for Intlayer i18n / CMS tool: smart CLI access, access to the docs.
автор: aymericziprinadelph/Agent-MCP
A framework for creating multi-agent systems using MCP for coordinated AI collaboration, featuring task management, shared context, and RAG capabilities.
автор: rinadelphWhenLabs-org/when
Developer toolkit: auto-detect stack for AI context files, catch port conflicts, validate .env schemas, spot docs drift, audit dependency licenses, and time cod
автор: WhenLabs-orgBeltran12138/wecom-docs-mcp-server
WeCom (Enterprise WeChat) document operations via MCP: create, read, and edit Docs and Smartsheets (9 tools). Fills the doc-CRUD gap — existing WeCom MCP server
автор: Beltran12138madbonez/caldav-mcp
Universal MCP server for CalDAV protocol integration. Works with any CalDAV-compatible calendar server including Yandex Calendar, Google Calendar (via CalDAV),
автор: madbonezCompare Openclaw Notion Mcp Wrapper with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории productivity
