Knowledge Hub
Provides tools for creating, querying, updating, and managing documentation in Notion databases, including converting markdown to Notion pages and exporting Notion pages back to markdown.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Knowledge Hubsearch for employee onboarding guides"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
Related MCP server: Rememberizer MCP Server for Common Knowledge
๐๏ธ 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 queriesguru-read-card- Read complete card content with formattingguru-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, statuscreate-page-from-markdown- Create pages from markdown with metadata and code block validationupdate-page- Update existing pages (content and/or metadata)archive-page- Archive pages by moving to trashexport-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:inspectorExample 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
Install the latest stable version:
npx ai-knowledge-hubView all releases: GitHub Releases
Check npm versions: npm Package
๐ ๏ธ 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.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityFmaintenanceEnables AI assistants to enhance their responses with relevant documentation through a semantic vector search, offering tools for managing and processing documentation efficiently.2362MIT
- Alicense-qualityDmaintenanceProvides access to personal/team knowledge repositories with tools to search, retrieve, and save information from various sources including Slack, Gmail, and document storage platforms.Apache 2.0
- Alicense-qualityDmaintenanceEnables accessing and managing personal/team internal knowledge repository with tools for semantic search, smart search, document listing, and saving information for future recall.Apache 2.0

Rememberizer MCP Serverofficial
Alicense-qualityDmaintenanceEnables querying and managing personal/team internal knowledge from sources like Slack, Gmail, and Drive through semantic search and retrieval.Apache 2.0
Related MCP Connectors
Your company's brain for AI agents. Cited, permission-aware knowledge across every system.
Connect your team's living knowledge base โ docs, data, issues, CRM โ to Claude and ChatGPT.
Search your knowledge bases from any AI assistant using hybrid RAG.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/LaserFocused-ee/ai-docs-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server