Knowledge Hub MCP server

Knowledge Hub MCP server

ai-docs-mcp•bylaserfocused-ee

A production-ready Model Context Protocol server that gives AI assistants unified access to organizational knowledge across local docs, Guru, and Notion.

License: MIT License•Runtime: Awaiting documentation review•Category: file systems-docs

WHAT IT DOES

  • •Searches, reads, and retrieves attachments from Guru cards and collections.
  • •Creates, queries, updates, archives, and exports pages in Notion databases.
  • •Provides advanced filtering, sorting, search, and pagination across platforms.
  • •Converts markdown to Notion pages with metadata and code block validation, and syncs back to markdown.

BEST FOR

  • •AI assistants that need to search and read organizational knowledge from Guru.
  • •Teams managing documentation in Notion databases through AI-driven creation and updates.

ABOUT AI-DOCS-MCP

Knowledge Hub MCP server is cataloged as an MCP server attributed to laserfocused-ee. A production-ready Model Context Protocol server that gives AI assistants unified access to organizational knowledge across local docs, Guru, and Notion. It is categorized under file systems-docs. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Knowledge Hub MCP server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What tools does Knowledge Hub expose?

It exposes nine tools: three for Guru cards and attachments, five for Notion database page management, and one example tool.

What runtime does the server require?

It requires Node.js version 20.0.0 or higher.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 81f307171295 · 采集于 2026-11-13 11:13:28 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Knowledge Hub

A Model Context Protocol (MCP) server that provides AI assistants with unified access to organizational knowledge across multiple platforms. This server bridges the gap between AI tools and your organization's knowledge repositories, enabling intelligent document creation, retrieval, and management across local docs, Guru, and Notion.

🚀 What is this?

Knowledge Hub is a production-ready MCP server that provides:

  • 🧠 Guru Knowledge Base Integration - Search, read, and manage Guru cards and collections
  • 📝 Notion Database Management - Create, query, update, and manage documentation in Notion databases
  • 🔍 Advanced Query & Search - Powerful filtering, sorting, and search capabilities across all platforms
  • 🛠️ Content Creation & Management - Convert markdown to Notion pages with proper metadata and code block validation
  • 🔄 Bi-directional Sync - Export Notion pages back to markdown format
  • 🏗️ Development & Production Modes - Flexible deployment options for different environments

🏗️ Architecture

Built with TypeScript/Node.js (≥20.0.0), MCP SDK v1.12.0, and Zod validation for type safety. Features a clean, modular architecture with separated concerns:

src/
├── index.ts              # Main MCP server entry point
├── server.ts             # Server configuration and tool registration
├── services/             # API services (Notion, Guru)
├── tools/                # MCP tool implementations
├── types/                # TypeScript type definitions
└── utils/                # Conversion utilities and helpers

🛠️ Available Tools (9 Total)

🧠 Guru Knowledge Base (3 tools)

  • guru-list-cards - Search and filter Guru cards with advanced queries
  • guru-read-card - Read complete card content with formatting
  • guru-get-card-attachments - List and download card attachments

📝 Notion Database Management (5 tools)

  • list-database-pages - Advanced query and search with filtering by category, tags, status
  • create-page-from-markdown - Create pages from markdown with metadata and code block validation
  • update-page - Update existing pages (content and/or metadata)
  • archive-page - Archive pages by moving to trash
  • export-page-to-markdown - Export pages to clean markdown format

🔧 Utility (1 tool)

  • hello - Example tool demonstrating MCP capabilities

⚙️ Configuration & Setup

🚀 Installation

# Clone and install
git clone https://github.com/LaserFocused-ee/ai-docs-mcp.git
cd ai-docs-mcp/mcp_server
npm install

# Development
npm run dev

# Production build
npm run build && npm start

🔗 Claude Desktop Integration

Development Configuration

{
  "mcpServers": {
    "ai-knowledge-hub-dev": {
      "command": "node",
      "args": ["dist/index.js"],
      "env": {
        "NODE_ENV": "development",
        "DEV_HOME": "/path/to/your/mcp_server",
        "GURU_TOKEN": "username:token",
        "NOTION_TOKEN": "your-notion-token",
        "NOTION_MCP_DATABASE_ID": "your-database-id"
      }
    }
  }
}

Production Configuration

{
  "mcpServers": {
    "ai-knowledge-hub": {
      "command": "npx",
      "args": ["ai-knowledge-hub"],
      "env": {
        "GURU_TOKEN": "username:token",
        "NOTION_TOKEN": "your-notion-token",
        "NOTION_MCP_DATABASE_ID": "your-database-id"
      }
    }
  }
}

🔑 API Credentials

Guru: Log into Guru → Settings → API Access → Generate token → Format as username:token

Notion: Go to Notion Integrations → Create integration → Get API key → Share database with integration → Copy database ID from URL

📁 Documentation Structure

Local documentation organized in docs/ directory:

docs/
├── code_guidelines/
│   ├── flutter/architecture/    # Flutter architecture patterns
│   ├── react/                   # React best practices
│   ├── nestjs/                  # NestJS guidelines
│   └── git/                     # Git workflows
└── service-docs/                # API guides and references

🌟 Key Features

📄 Markdown ↔ Notion Conversion

  • Code Block Validation: Automatically validates code blocks against Notion's 2000 character limit
  • Intelligent Error Handling: Provides specific guidance for splitting large code blocks while preserving logical boundaries
  • Rich Formatting Support: Tables, lists, headers, links, code blocks, and more
  • Metadata Preservation: Categories, tags, descriptions, and status values

🔍 Advanced Query System

  • Multi-Platform Search: Unified search across local docs, Guru, and Notion
  • Smart Filtering: Filter by category, tags, status, dates with flexible sorting
  • Pagination Support: Handle large datasets efficiently

🛠️ Development Support

  • Environment Detection: Automatic dev/production mode switching
  • Hot Reload: Development mode with file watching
  • MCP Inspector Integration: Comprehensive testing tools
  • Type Safety: Full TypeScript with Zod validation

🧪 Testing & Validation

Quick Testing

# Interactive UI testing
npm run inspect

# Basic validation
npm run validate

# Comprehensive test suite
npm run test:inspector

Example Tool Calls

# List available documentation
npx @modelcontextprotocol/inspector --cli node dist/index.js \
  --method tools/call --tool-name legacy-list-docs

# Search Notion pages
npx @modelcontextprotocol/inspector --cli node dist/index.js \
  --method tools/call --tool-name list-database-pages \
  --tool-arg search="testing" --tool-arg limit=5

# Search Guru knowledge
npx @modelcontextprotocol/inspector --cli node dist/index.js \
  --method tools/call --tool-name guru-list-cards \
  --tool-arg searchTerms="API documentation" --tool-arg maxResults=5

💡 Usage Patterns

Local Documentation

legacy-list-docs()  # Discover available docs
legacy-read-doc(category="code_guidelines/flutter", name="best-practices")

Notion Management

# Context-aware search
list-database-pages(search="testing", tags=["react"], status="published")

# Create with metadata
create-page-from-markdown(
  markdown="# API Guide\n\nDocumentation...",
  metadata={category: "api-reference", tags: ["api", "rest"]}
)

Guru Knowledge Access

guru-list-cards(searchTerms="troubleshooting", maxResults=10)
guru-read-card(cardId="card-uuid")

🚀 Releases & Publishing

This package uses automated GitHub Actions workflows for professional release management.

📦 For Users

🛠️ For Contributors/Maintainers

  • Automated Releases: Use GitHub Actions for safe, validated releases
  • Version Management: Supports semantic versioning (patch/minor/major)
  • Quality Assurance: Automated testing and validation before publishing

📋 Full setup guide: See RELEASE_SETUP.md for complete instructions on:

  • Setting up npm tokens and GitHub secrets
  • Using the automated release workflow
  • Understanding semantic versioning
  • Troubleshooting common issues

🔒 Security & Requirements

  • Node.js: ≥20.0.0 required
  • Secure Credentials: Environment variable handling only
  • File Access: Restricted to docs directory
  • Input Validation: Zod schema validation for all parameters
  • API Rate Limiting: Automatic handling

📄 License

MIT License - See package.json for details.


Knowledge Hub transforms static documentation, institutional knowledge, and content management into an intelligent, queryable ecosystem for AI assistants. It enables context-aware development guidance, comprehensive documentation management, and seamless access to your organization's collective knowledge across multiple platforms through a unified, powerful API.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Knowledge Hub MCP server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/ai-docs-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related file systems-docs MCP Servers

Alternative and complementary servers in the same category

View all in file systems-docs →

A Model Context Protocol server for global law with read-only tools to find and read provisions by date, trace the law behind each word, search text and changes, and check cases or briefs against law in force.

Repository stats unavailable
Files & Documentation
LoreKeeper MCP server
lorekeeper-rpg-lorekeeper-com•lore-keeper

Hosted MCP server for tabletop RPG worlds that organizes messy notes and documents into a private store and lets MCP apps search lore, read documents, find characters, and optionally generate character or world pictures.

Repository stats unavailable
Files & Documentation

An MCP server that gives AI assistants scoped file system operations inside a project directory, with read-only reference projects plus git and GitHub tools.

Repository stats unavailable
Files & Documentation